Describe the bug
The dynamic federation example has a late-joining federate that is able to join the co-simulation but when the co-simulation ends and the federates all try to leave, the co-simulation hangs.
What is the expected behavior?
Federates would be able to leave the co-simulation at its completion.
Environment (please complete the following information):
Operating System: Mac and Windows
Language Extension: Python
what compiler or setup process did you use
HELICS version: 3.4.0
Run to see log files. All federates have reached the end of their simulated time and are hanging when trying to leave. Battery.py has been used for debugging up to this point and logs the results of a global_time_debugging while making an asynchronous time request for h.HELICS_TIME_MAXTIME (which all other federates are also doing).
Describe the bug The dynamic federation example has a late-joining federate that is able to join the co-simulation but when the co-simulation ends and the federates all try to leave, the co-simulation hangs.
What is the expected behavior? Federates would be able to leave the co-simulation at its completion.
To Reproduce Example has been committed in the HELICS-example repo here.
Environment (please complete the following information):
Run to see log files. All federates have reached the end of their simulated time and are hanging when trying to leave. Battery.py has been used for debugging up to this point and logs the results of a
global_time_debugging
while making an asynchronous time request forh.HELICS_TIME_MAXTIME
(which all other federates are also doing).