Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BusinessSimulation_dev_BusinessSimulation.Examples.SIR.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.001398/0.001398, allocations: 88.16 kB / 9.898 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002168/0.003566, allocations: 435.8 kB / 10.32 MB, free: 368 kB / 10.45 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.001567/0.001567, allocations: 149.2 kB / 11.21 MB, free: 2.957 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002145/0.003713, allocations: 471.5 kB / 11.67 MB, free: 2.492 MB / 13.93 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.637/1.637, allocations: 177.2 MB / 189.6 MB, free: 5.293 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1026/1.739, allocations: 53.65 MB / 243.2 MB, free: 15.57 MB / 250.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BusinessSimulation 2.2.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BusinessSimulation 2.2.0-main/package.mo): time 0.1929/0.1929, allocations: 24.17 MB / 268.1 MB, free: 7.211 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1298/0.3227, allocations: 7.761 MB / 275.9 MB, free: 0.8008 MB / 266.7 MB " [Timeout remaining time 180] Using package BusinessSimulation with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BusinessSimulation 2.2.0-main/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(BusinessSimulation.Examples.SIR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="BusinessSimulation_dev_BusinessSimulation.Examples.SIR") translateModel(BusinessSimulation.Examples.SIR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="BusinessSimulation_dev_BusinessSimulation.Examples.SIR") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.389e-05/1.389e-05, allocations: 3.969 kB / 277.3 MB, free: 116 kB / 266.7 MB Notification: Performance of NFInst.instantiate(BusinessSimulation.Examples.SIR): time 0.01647/0.01648, allocations: 6.909 MB / 284.2 MB, free: 11.53 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.005033/0.02152, allocations: 1.158 MB / 285.4 MB, free: 10.71 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009761/0.02249, allocations: 26.34 kB / 285.4 MB, free: 10.7 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007588/0.02325, allocations: 154 kB / 285.6 MB, free: 10.61 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006498/0.0239, allocations: 93.61 kB / 285.7 MB, free: 10.54 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00144/0.02534, allocations: 303.7 kB / 286 MB, free: 10.35 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001682/0.02702, allocations: 0.8038 MB / 286.8 MB, free: 9.93 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008984/0.02792, allocations: 295.4 kB / 287.1 MB, free: 9.754 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001268/0.02919, allocations: 0.4962 MB / 287.6 MB, free: 9.492 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006452/0.02984, allocations: 207.8 kB / 287.8 MB, free: 9.402 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002035/0.03004, allocations: 82.84 kB / 287.8 MB, free: 9.402 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002705/0.03031, allocations: 86.83 kB / 287.9 MB, free: 9.402 MB / 282.7 MB Notification: Performance of combineBinaries: time 0.001354/0.03166, allocations: 0.9347 MB / 288.9 MB, free: 8.906 MB / 282.7 MB Notification: Performance of replaceArrayConstructors: time 0.0008442/0.03251, allocations: 0.6033 MB / 289.5 MB, free: 8.523 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001756/0.03268, allocations: 46.94 kB / 289.5 MB, free: 8.523 MB / 282.7 MB Notification: Performance of FrontEnd: time 0.0001826/0.03287, allocations: 39.41 kB / 289.5 MB, free: 8.5 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 172 (171) * Number of variables: 172 (170) Notification: Performance of [SIM] Bindings: time 0.006082/0.03895, allocations: 3.124 MB / 292.7 MB, free: 6.391 MB / 282.7 MB Notification: Performance of [SIM] Data Reconciliation: time 1.127e-05/0.03896, allocations: 0 / 292.7 MB, free: 6.391 MB / 282.7 MB Notification: Performance of [SIM] FunctionAlias: time 0.0008944/0.03985, allocations: 413.1 kB / 293.1 MB, free: 6.137 MB / 282.7 MB Notification: Performance of [SIM] Early Inline: time 0.004754/0.04461, allocations: 2.408 MB / 295.5 MB, free: 4.895 MB / 282.7 MB Notification: Performance of [SIM] Simplify: time 0.0007313/0.04534, allocations: 233.4 kB / 295.7 MB, free: 4.703 MB / 282.7 MB Notification: Performance of [SIM] Alias: time 0.01607/0.06141, allocations: 5.488 MB / 301.2 MB, free: 15.14 MB / 298.7 MB Notification: Performance of [SIM] Remove Stream: time 0.0002018/0.06161, allocations: 86.36 kB / 301.3 MB, free: 15.04 MB / 298.7 MB Notification: Performance of [SIM] Algorithm Locals: time 0.0002721/0.06188, allocations: 126.5 kB / 301.4 MB, free: 14.91 MB / 298.7 MB Notification: Performance of [SIM] Detect States: time 0.0007348/0.06262, allocations: 290.7 kB / 301.7 MB, free: 14.56 MB / 298.7 MB Notification: Performance of [SIM] Events: time 0.0001956/0.06281, allocations: 79.83 kB / 301.8 MB, free: 14.48 MB / 298.7 MB Notification: Performance of [SIM] Partitioning: time 0.0008268/0.06364, allocations: 360.4 kB / 302.1 MB, free: 14.03 MB / 298.7 MB Notification: Performance of [SIM] Causalize: time 0.001231/0.06487, allocations: 0.5176 MB / 302.6 MB, free: 13.46 MB / 298.7 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0007698/0.06564, allocations: 424.4 kB / 303 MB, free: 13.05 MB / 298.7 MB Notification: Performance of [INI] Simplify: time 0.00117/0.06681, allocations: 460.7 kB / 303.5 MB, free: 12.54 MB / 298.7 MB Notification: Performance of [INI] Inline: time 0.001302/0.06811, allocations: 0.6735 MB / 304.2 MB, free: 11.86 MB / 298.7 MB Notification: Performance of [INI] Partitioning: time 7.414e-05/0.06818, allocations: 24.05 kB / 304.2 MB, free: 11.83 MB / 298.7 MB Notification: Performance of [INI] Cleanup: time 0.0002077/0.06839, allocations: 104 kB / 304.3 MB, free: 11.73 MB / 298.7 MB Notification: Performance of [INI] Causalize: time 0.001984/0.07038, allocations: 0.7843 MB / 305.1 MB, free: 10.95 MB / 298.7 MB Notification: Performance of [INI] Tearing: time 5.604e-05/0.07043, allocations: 28.5 kB / 305.1 MB, free: 10.92 MB / 298.7 MB Notification: Performance of [SIM] Initialization: time 8.61e-07/0.07043, allocations: 4 kB / 305.1 MB, free: 10.92 MB / 298.7 MB Notification: Performance of [SIM] Remove Dummies: time 9.177e-06/0.07044, allocations: 3.938 kB / 305.1 MB, free: 10.91 MB / 298.7 MB Notification: Performance of [SIM] Tearing: time 2.783e-05/0.07047, allocations: 20 kB / 305.1 MB, free: 10.89 MB / 298.7 MB Notification: Performance of [SIM] Categorize: time 0.0003116/0.07078, allocations: 119.9 kB / 305.3 MB, free: 10.78 MB / 298.7 MB Notification: Performance of [SIM] Solve: time 0.0006387/0.07142, allocations: 211 kB / 305.5 MB, free: 10.57 MB / 298.7 MB Notification: Performance of [SIM] Jacobian: time 0.0007766/0.0722, allocations: 304.2 kB / 305.8 MB, free: 10.24 MB / 298.7 MB Notification: Performance of [SIM] Minimize Homotopy System: time 1.002e-06/0.0722, allocations: 0 / 305.8 MB, free: 10.24 MB / 298.7 MB Notification: Performance of [SIM] Data Reconciliation Jacobian: time 8.51e-07/0.0722, allocations: 0 / 305.8 MB, free: 10.24 MB / 298.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: ......... 8 * 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 (3) {susceptible.y2, removed.y2, infected.x_hidden} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 17 (17) {susceptible.inflow.stopInflow, susceptible.inflow.stopOutflow, susceptible.outflow.stopInflow, susceptible.outflow.stopOutflow, removed.inflow.stopInflow, removed.inflow.stopOutflow, removed.outflow.stopInflow, removed.outflow.stopOutflow, infected.inflow.stopInflow, infected.inflow.stopOutflow, becoming_infected.converting.useA_rate, becoming_infected.converting.useB_rate, becoming_infected.adopting.flowing.useA_rate, becoming_infected.adopting.flowing.useB_rate, $SEV_2, $SEV_1, $SEV_0} * Number of algorithm local variables: .......... 0 (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: ........... 29 (scalar:29, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 1 (resizable: 1, 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: ........... 51 (scalar:50, array:1, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 1 (resizable: 1, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 0.0001005/0.0723, allocations: 59.53 kB / 305.8 MB, free: 10.18 MB / 298.7 MB Notification: Performance of SimCode: time 0.003273/0.07557, allocations: 1.382 MB / 307.2 MB, free: 8.738 MB / 298.7 MB Notification: Performance of Templates: time 0.0115/0.08707, allocations: 2.444 MB / 309.6 MB, free: 6.359 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f BusinessSimulation_dev_BusinessSimulation.Examples.SIR.makefile [Timeout 660] (rm -f BusinessSimulation_dev_BusinessSimulation.Examples.SIR.pipe ; mkfifo BusinessSimulation_dev_BusinessSimulation.Examples.SIR.pipe ; head -c 1048576 < BusinessSimulation_dev_BusinessSimulation.Examples.SIR.pipe >> ../files/BusinessSimulation_dev_BusinessSimulation.Examples.SIR.sim & ./BusinessSimulation_dev_BusinessSimulation.Examples.SIR -abortSlowSimulation -alarm=240 -lv LOG_STATS > BusinessSimulation_dev_BusinessSimulation.Examples.SIR.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.357860723976046]