On profiling runs, consistently I am seeing substantially quicker simulation rates (in terms of simulated days per second wall clock time) at the beginning of simulations compared to the end. On runs of the scale_run.py script for 5 years with a 50k initial population, the simulation rate over the first month is around 0.5 - 1 simulated days per second, but has slowed down to less than 0.1 simulated day per second by the final month. Previously we had issues with the HSI event queue growing unboundedly as described (and fixed) in #332. It may be worth checking both the main and HSI event queues to check if something similar is happening again.
On profiling runs, consistently I am seeing substantially quicker simulation rates (in terms of simulated days per second wall clock time) at the beginning of simulations compared to the end. On runs of the
scale_run.py
script for 5 years with a 50k initial population, the simulation rate over the first month is around 0.5 - 1 simulated days per second, but has slowed down to less than 0.1 simulated day per second by the final month. Previously we had issues with the HSI event queue growing unboundedly as described (and fixed) in #332. It may be worth checking both the main and HSI event queues to check if something similar is happening again.