Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Bodylight_Bodylight.Population.UniformPopulation.Examples.Covid_SEIRS.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002358/0.002358, allocations: 73.88 kB / 20.67 MB, free: 3.836 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002904/0.002904, allocations: 169 kB / 24.07 MB, free: 444 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.608/1.608, allocations: 177.1 MB / 204.5 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/package.mo): time 0.1069/0.1069, allocations: 12.76 MB / 273.8 MB, free: 92 kB / 250.7 MB " [Timeout remaining time 180] Using package Bodylight with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Bodylight.Population.UniformPopulation.Examples.Covid_SEIRS,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1667,variableFilter="",fileNamePrefix="Bodylight_Bodylight.Population.UniformPopulation.Examples.Covid_SEIRS") translateModel(Bodylight.Population.UniformPopulation.Examples.Covid_SEIRS,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1667,variableFilter="",fileNamePrefix="Bodylight_Bodylight.Population.UniformPopulation.Examples.Covid_SEIRS") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.241e-05/2.241e-05, allocations: 2.312 kB / 347.9 MB, free: 2.004 MB / 314.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Population.UniformPopulation.Examples.Covid_SEIRS): time 0.006082/0.006105, allocations: 3.422 MB / 351.4 MB, free: 14.57 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01059/0.0167, allocations: 5.701 MB / 357.1 MB, free: 8.84 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003364/0.01704, allocations: 31.69 kB / 357.1 MB, free: 8.809 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006705/0.01771, allocations: 290.7 kB / 357.4 MB, free: 8.523 MB / 330.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/Types.mo:6207:6-6223:18:writable] Warning: Pure function 'Bodylight.Population.UniformPopulation.Examples.Covid_SEIRS.Susceptible.Utilities.UnitConversions.findUnit' contains a call to impure function 'Modelica.Utilities.Streams.print'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/Types.mo:5637:15-5729:17:writable] Warning: Pure function 'Bodylight.Population.UniformPopulation.Examples.Covid_SEIRS.Susceptible.Utilities.readReal' contains a call to impure function 'Bodylight.Population.UniformPopulation.Examples.Covid_SEIRS.Susceptible.Utilities.UnitConversions.findUnit'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/Types.mo:6207:6-6223:18:writable] Warning: Pure function 'Bodylight.Population.UniformPopulation.Examples.Covid_SEIRS.Exposed.Utilities.UnitConversions.findUnit' contains a call to impure function 'Modelica.Utilities.Streams.print'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/Types.mo:5637:15-5729:17:writable] Warning: Pure function 'Bodylight.Population.UniformPopulation.Examples.Covid_SEIRS.Exposed.Utilities.readReal' contains a call to impure function 'Bodylight.Population.UniformPopulation.Examples.Covid_SEIRS.Exposed.Utilities.UnitConversions.findUnit'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/Types.mo:6207:6-6223:18:writable] Warning: Pure function 'Bodylight.Population.UniformPopulation.Examples.Covid_SEIRS.Infectious.Utilities.UnitConversions.findUnit' contains a call to impure function 'Modelica.Utilities.Streams.print'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/Types.mo:5637:15-5729:17:writable] Warning: Pure function 'Bodylight.Population.UniformPopulation.Examples.Covid_SEIRS.Infectious.Utilities.readReal' contains a call to impure function 'Bodylight.Population.UniformPopulation.Examples.Covid_SEIRS.Infectious.Utilities.UnitConversions.findUnit'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/Types.mo:6207:6-6223:18:writable] Warning: Pure function 'Bodylight.Population.UniformPopulation.Examples.Covid_SEIRS.Sick.Utilities.UnitConversions.findUnit' contains a call to impure function 'Modelica.Utilities.Streams.print'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/Types.mo:5637:15-5729:17:writable] Warning: Pure function 'Bodylight.Population.UniformPopulation.Examples.Covid_SEIRS.Sick.Utilities.readReal' contains a call to impure function 'Bodylight.Population.UniformPopulation.Examples.Covid_SEIRS.Sick.Utilities.UnitConversions.findUnit'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/Types.mo:6207:6-6223:18:writable] Warning: Pure function 'Bodylight.Population.UniformPopulation.Examples.Covid_SEIRS.Recovered.Utilities.UnitConversions.findUnit' contains a call to impure function 'Modelica.Utilities.Streams.print'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/Types.mo:5637:15-5729:17:writable] Warning: Pure function 'Bodylight.Population.UniformPopulation.Examples.Covid_SEIRS.Recovered.Utilities.readReal' contains a call to impure function 'Bodylight.Population.UniformPopulation.Examples.Covid_SEIRS.Recovered.Utilities.UnitConversions.findUnit'. Notification: Performance of NFTyping.typeBindings: time 0.002709/0.02041, allocations: 0.9793 MB / 358.4 MB, free: 7.543 MB / 330.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/Types.mo:5783:15-5804:18:writable] Warning: Pure function 'Bodylight.Population.UniformPopulation.Examples.Covid_SEIRS.Susceptible.Utilities.writeReal' contains a call to impure function 'Modelica.Utilities.Files.createDirectory'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/Types.mo:5845:15-5881:24:writable] Warning: Pure function 'Bodylight.Population.UniformPopulation.Examples.Covid_SEIRS.Susceptible.Utilities.writeComparison' contains a call to impure function 'Modelica.Utilities.Files.createDirectory'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/Types.mo:5783:15-5804:18:writable] Warning: Pure function 'Bodylight.Population.UniformPopulation.Examples.Covid_SEIRS.Exposed.Utilities.writeReal' contains a call to impure function 'Modelica.Utilities.Files.createDirectory'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/Types.mo:5845:15-5881:24:writable] Warning: Pure function 'Bodylight.Population.UniformPopulation.Examples.Covid_SEIRS.Exposed.Utilities.writeComparison' contains a call to impure function 'Modelica.Utilities.Files.createDirectory'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/Types.mo:5783:15-5804:18:writable] Warning: Pure function 'Bodylight.Population.UniformPopulation.Examples.Covid_SEIRS.Infectious.Utilities.writeReal' contains a call to impure function 'Modelica.Utilities.Files.createDirectory'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/Types.mo:5845:15-5881:24:writable] Warning: Pure function 'Bodylight.Population.UniformPopulation.Examples.Covid_SEIRS.Infectious.Utilities.writeComparison' contains a call to impure function 'Modelica.Utilities.Files.createDirectory'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/Types.mo:5783:15-5804:18:writable] Warning: Pure function 'Bodylight.Population.UniformPopulation.Examples.Covid_SEIRS.Sick.Utilities.writeReal' contains a call to impure function 'Modelica.Utilities.Files.createDirectory'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/Types.mo:5845:15-5881:24:writable] Warning: Pure function 'Bodylight.Population.UniformPopulation.Examples.Covid_SEIRS.Sick.Utilities.writeComparison' contains a call to impure function 'Modelica.Utilities.Files.createDirectory'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/Types.mo:5783:15-5804:18:writable] Warning: Pure function 'Bodylight.Population.UniformPopulation.Examples.Covid_SEIRS.Recovered.Utilities.writeReal' contains a call to impure function 'Modelica.Utilities.Files.createDirectory'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/Types.mo:5845:15-5881:24:writable] Warning: Pure function 'Bodylight.Population.UniformPopulation.Examples.Covid_SEIRS.Recovered.Utilities.writeComparison' contains a call to impure function 'Modelica.Utilities.Files.createDirectory'. Notification: Performance of NFTyping.typeClassSections: time 0.002764/0.02318, allocations: 1.028 MB / 359.4 MB, free: 6.512 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001397/0.02458, allocations: 0.942 MB / 360.3 MB, free: 5.566 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002724/0.02485, allocations: 70.58 kB / 360.4 MB, free: 5.496 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006829/0.03168, allocations: 4.282 MB / 364.7 MB, free: 1.207 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005167/0.03219, allocations: 287.8 kB / 365 MB, free: 0.9258 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 6.854e-05/0.03226, allocations: 32 kB / 365 MB, free: 0.8945 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003947/0.03266, allocations: 207.8 kB / 365.2 MB, free: 0.6914 MB / 330.7 MB Notification: Performance of combineBinaries: time 0.0009295/0.03359, allocations: 0.866 MB / 366.1 MB, free: 15.82 MB / 346.7 MB Notification: Performance of replaceArrayConstructors: time 0.000507/0.03409, allocations: 0.5502 MB / 366.6 MB, free: 15.26 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 8.972e-05/0.03418, allocations: 44 kB / 366.7 MB, free: 15.22 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.0001579/0.03434, allocations: 75.77 kB / 366.7 MB, free: 15.14 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 68 (60) * Number of variables: 68 (68) Notification: Performance of [SIM] Bindings: time 0.002848/0.03719, allocations: 2.092 MB / 368.8 MB, free: 12.92 MB / 346.7 MB Notification: Performance of [SIM] FunctionAlias: time 0.0004054/0.03759, allocations: 270.8 kB / 369.1 MB, free: 12.64 MB / 346.7 MB Notification: Performance of [SIM] Early Inline: time 0.001163/0.03876, allocations: 0.9475 MB / 370 MB, free: 11.66 MB / 346.7 MB Notification: Performance of [SIM] Simplify 1: time 0.0002247/0.03898, allocations: 134.9 kB / 370.2 MB, free: 11.5 MB / 346.7 MB Notification: Performance of [SIM] Alias: time 0.002304/0.04129, allocations: 1.419 MB / 371.6 MB, free: 9.898 MB / 346.7 MB Notification: Performance of [SIM] Simplify 2: time 0.000171/0.04146, allocations: 105.6 kB / 371.7 MB, free: 9.77 MB / 346.7 MB Notification: Performance of [SIM] Remove Stream: time 0.0001485/0.0416, allocations: 109.6 kB / 371.8 MB, free: 9.637 MB / 346.7 MB Notification: Performance of [SIM] Detect States: time 0.0005561/0.04216, allocations: 363.2 kB / 372.2 MB, free: 9.215 MB / 346.7 MB Notification: Performance of [SIM] Events: time 0.0002085/0.04237, allocations: 129.2 kB / 372.3 MB, free: 9.09 MB / 346.7 MB Notification: Performance of [SIM] Partitioning: time 0.0006628/0.04303, allocations: 429.3 kB / 372.7 MB, free: 8.613 MB / 346.7 MB Notification: Performance of [SIM] Causalize: time 0.0007808/0.04381, allocations: 453.2 kB / 373.1 MB, free: 8.141 MB / 346.7 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0007516/0.04456, allocations: 0.6362 MB / 373.8 MB, free: 7.504 MB / 346.7 MB Notification: Performance of [INI] Simplify: time 0.003161/0.04773, allocations: 0.7965 MB / 374.6 MB, free: 6.688 MB / 346.7 MB Notification: Performance of [INI] Inline: time 0.001132/0.04886, allocations: 0.9457 MB / 375.5 MB, free: 5.738 MB / 346.7 MB Notification: Performance of [INI] Partitioning: time 5.422e-05/0.04891, allocations: 29.38 kB / 375.5 MB, free: 5.703 MB / 346.7 MB Notification: Performance of [INI] Cleanup: time 0.0002667/0.04918, allocations: 235.7 kB / 375.8 MB, free: 5.473 MB / 346.7 MB Notification: Performance of [INI] Causalize: time 0.002096/0.05127, allocations: 1.203 MB / 377 MB, free: 4.254 MB / 346.7 MB Notification: Performance of [INI] Tearing: time 3.219e-05/0.05131, allocations: 35.94 kB / 377 MB, free: 4.219 MB / 346.7 MB Notification: Performance of [SIM] Initialization: time 5.91e-07/0.05131, allocations: 0 / 377 MB, free: 4.219 MB / 346.7 MB Notification: Performance of [SIM] Remove Dummies: time 3.847e-06/0.05131, allocations: 0 / 377 MB, free: 4.219 MB / 346.7 MB Notification: Performance of [SIM] Tearing: time 1.516e-05/0.05133, allocations: 20 kB / 377 MB, free: 4.199 MB / 346.7 MB Notification: Performance of [SIM] Categorize: time 1.21e-05/0.05134, allocations: 11.88 kB / 377 MB, free: 4.188 MB / 346.7 MB Notification: Performance of [SIM] Solve: time 0.0004952/0.05183, allocations: 279.6 kB / 377.3 MB, free: 3.918 MB / 346.7 MB Notification: Performance of [SIM] Jacobian: time 0.0004994/0.05233, allocations: 292.5 kB / 377.6 MB, free: 3.594 MB / 346.7 MB Notification: Performance of [SIM] Minimize Homotopy System: time 6.11e-07/0.05233, allocations: 0 / 377.6 MB, free: 3.594 MB / 346.7 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 1 * Number of algebraic event partitions: ......... 3 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 0 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 5 (5) {Susceptible.state, Exposed.state, Infectious.state, Sick.state, Recovered.state} * Number of discrete states: .................... 2 (2) {data_positive.nextTimeEvent, data_positive.nextTimeEventScaled} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 16 (16) {data_dead.a, data_dead.b, data_dead.last, data_dead.nextEvent, data_dead.nextEventScaled, data_recovered.a, data_recovered.b, data_recovered.last, data_recovered.nextEvent, data_recovered.nextEventScaled, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $TEV_0} * Number of clocks: ............................. 0 (0) {} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 31 (scalar:31, array:0, record:0) * Number of multi strong components: ............ 4 (algorithm:2, when:2, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 56 (scalar:55, array:1, record:0) * Number of multi strong components: ............ 4 (algorithm:4, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 0.0001673/0.0525, allocations: 42.45 kB / 377.6 MB, free: 3.555 MB / 346.7 MB Notification: Performance of SimCode: time 0.004731/0.05723, allocations: 1.751 MB / 379.4 MB, free: 1.926 MB / 346.7 MB Notification: Performance of Templates: time 0.01172/0.06895, allocations: 5.006 MB / 384.4 MB, free: 12.93 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f Bodylight_Bodylight.Population.UniformPopulation.Examples.Covid_SEIRS.makefile [Timeout 660] (rm -f Bodylight_Bodylight.Population.UniformPopulation.Examples.Covid_SEIRS.pipe ; mkfifo Bodylight_Bodylight.Population.UniformPopulation.Examples.Covid_SEIRS.pipe ; head -c 1048576 < Bodylight_Bodylight.Population.UniformPopulation.Examples.Covid_SEIRS.pipe >> ../files/Bodylight_Bodylight.Population.UniformPopulation.Examples.Covid_SEIRS.sim & ./Bodylight_Bodylight.Population.UniformPopulation.Examples.Covid_SEIRS -abortSlowSimulation -alarm=240 -lv LOG_STATS > Bodylight_Bodylight.Population.UniformPopulation.Examples.Covid_SEIRS.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.7815041658468544]