Simulation starting script waits for all process to finish before ending
simulation starting script now accepts a duration (that stop the simulation)