Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BusinessSimulation_dev_BusinessSimulation.Examples.SimpleProductionChainII.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.001513/0.001513, allocations: 88.16 kB / 9.898 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.006822/0.008335, 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.001677/0.001677, allocations: 149.2 kB / 11.21 MB, free: 2.957 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.003511/0.005188, 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.621/1.621, allocations: 177.2 MB / 189.6 MB, free: 5.301 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1046/1.726, 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.1939/0.1939, allocations: 24.17 MB / 268.1 MB, free: 7.215 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1283/0.3222, allocations: 7.763 MB / 275.9 MB, free: 0.8203 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.SimpleProductionChainII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="BusinessSimulation_dev_BusinessSimulation.Examples.SimpleProductionChainII") translateModel(BusinessSimulation.Examples.SimpleProductionChainII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="BusinessSimulation_dev_BusinessSimulation.Examples.SimpleProductionChainII") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.255e-05/1.255e-05, allocations: 3.625 kB / 277.3 MB, free: 172 kB / 266.7 MB Notification: Performance of NFInst.instantiate(BusinessSimulation.Examples.SimpleProductionChainII): time 0.009601/0.009614, allocations: 6.57 MB / 283.9 MB, free: 11.83 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002587/0.0122, allocations: 1.039 MB / 284.9 MB, free: 11.08 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000325/0.01253, allocations: 30.25 kB / 284.9 MB, free: 11.06 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002977/0.01282, allocations: 116.2 kB / 285 MB, free: 10.99 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002499/0.01307, allocations: 86.77 kB / 285.1 MB, free: 10.93 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006341/0.01371, allocations: 239.8 kB / 285.4 MB, free: 10.79 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009867/0.01469, allocations: 0.6222 MB / 286 MB, free: 10.46 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003856/0.01508, allocations: 204.5 kB / 286.2 MB, free: 10.36 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005749/0.01565, allocations: 366.4 kB / 286.5 MB, free: 10.18 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002552/0.01591, allocations: 157.8 kB / 286.7 MB, free: 10.12 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 7.213e-05/0.01598, allocations: 53.69 kB / 286.7 MB, free: 10.12 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001339/0.01612, allocations: 60.31 kB / 286.8 MB, free: 10.12 MB / 282.7 MB Notification: Performance of combineBinaries: time 0.0006472/0.01676, allocations: 0.7174 MB / 287.5 MB, free: 9.727 MB / 282.7 MB Notification: Performance of replaceArrayConstructors: time 0.0003938/0.01716, allocations: 485.3 kB / 288 MB, free: 9.43 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.787e-05/0.01721, allocations: 37.5 kB / 288 MB, free: 9.43 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.896e-05/0.01731, allocations: 27.62 kB / 288.1 MB, free: 9.414 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: 125 (123) * Number of variables: 125 (122) Notification: Performance of [SIM] Bindings: time 0.002824/0.02014, allocations: 2.372 MB / 290.4 MB, free: 7.93 MB / 282.7 MB Notification: Performance of [SIM] Data Reconciliation: time 7.204e-06/0.02015, allocations: 1.469 kB / 290.4 MB, free: 7.93 MB / 282.7 MB Notification: Performance of [SIM] FunctionAlias: time 0.0004265/0.02057, allocations: 324 kB / 290.7 MB, free: 7.742 MB / 282.7 MB Notification: Performance of [SIM] Early Inline: time 0.00203/0.0226, allocations: 1.662 MB / 292.4 MB, free: 6.898 MB / 282.7 MB Notification: Performance of [SIM] Simplify: time 0.0003566/0.02296, allocations: 195 kB / 292.6 MB, free: 6.734 MB / 282.7 MB Notification: Performance of [SIM] Alias: time 0.00562/0.02858, allocations: 3.507 MB / 296.1 MB, free: 4.473 MB / 282.7 MB Notification: Performance of [SIM] Remove Stream: time 0.0001484/0.02873, allocations: 94.23 kB / 296.2 MB, free: 4.355 MB / 282.7 MB Notification: Performance of [SIM] Algorithm Locals: time 0.0001662/0.02889, allocations: 110.6 kB / 296.3 MB, free: 4.246 MB / 282.7 MB Notification: Performance of [SIM] Detect States: time 0.0004858/0.02938, allocations: 273.6 kB / 296.6 MB, free: 3.918 MB / 282.7 MB Notification: Performance of [SIM] Events: time 0.0001689/0.02955, allocations: 83.73 kB / 296.7 MB, free: 3.836 MB / 282.7 MB Notification: Performance of [SIM] Partitioning: time 0.0005594/0.03011, allocations: 351.1 kB / 297 MB, free: 3.395 MB / 282.7 MB Notification: Performance of [SIM] Causalize: time 0.001012/0.03112, allocations: 0.5119 MB / 297.5 MB, free: 2.836 MB / 282.7 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0005034/0.03162, allocations: 403.8 kB / 297.9 MB, free: 2.441 MB / 282.7 MB Notification: Performance of [INI] Simplify: time 0.0006284/0.03225, allocations: 317 kB / 298.2 MB, free: 2.078 MB / 282.7 MB Notification: Performance of [INI] Inline: time 0.0008178/0.03307, allocations: 0.6304 MB / 298.8 MB, free: 1.445 MB / 282.7 MB Notification: Performance of [INI] Partitioning: time 4.924e-05/0.03312, allocations: 28.05 kB / 298.9 MB, free: 1.41 MB / 282.7 MB Notification: Performance of [INI] Cleanup: time 0.0001309/0.03325, allocations: 87.91 kB / 299 MB, free: 1.324 MB / 282.7 MB Notification: Performance of [INI] Causalize: time 0.001258/0.03451, allocations: 0.7599 MB / 299.7 MB, free: 0.5625 MB / 282.7 MB Notification: Performance of [INI] Tearing: time 3.645e-05/0.03454, allocations: 32.44 kB / 299.7 MB, free: 0.5312 MB / 282.7 MB Notification: Performance of [SIM] Initialization: time 4.91e-07/0.03454, allocations: 0 / 299.7 MB, free: 0.5312 MB / 282.7 MB Notification: Performance of [SIM] Remove Dummies: time 6.031e-06/0.03455, allocations: 4.188 kB / 299.8 MB, free: 0.5273 MB / 282.7 MB Notification: Performance of [SIM] Tearing: time 1.896e-05/0.03457, allocations: 23.88 kB / 299.8 MB, free: 0.5039 MB / 282.7 MB Notification: Performance of [SIM] Categorize: time 0.0002359/0.0348, allocations: 130.9 kB / 299.9 MB, free: 372 kB / 282.7 MB Notification: Performance of [SIM] Solve: time 0.000375/0.03518, allocations: 194.9 kB / 300.1 MB, free: 176 kB / 282.7 MB Notification: Performance of [SIM] Jacobian: time 0.0004426/0.03562, allocations: 268.3 kB / 300.4 MB, free: 15.87 MB / 298.7 MB Notification: Performance of [SIM] Minimize Homotopy System: time 6.31e-07/0.03562, allocations: 0 / 300.4 MB, free: 15.87 MB / 298.7 MB Notification: Performance of [SIM] Data Reconciliation Jacobian: time 5.92e-07/0.03562, allocations: 0 / 300.4 MB, free: 15.87 MB / 298.7 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 1 * 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 (2) {inventory.y, installedBase.x_hidden} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 19 (19) {inventory.inflow.stopInflow, inventory.inflow.stopOutflow, inventory.outflow.stopInflow, inventory.outflow.stopOutflow, shipping.useA_rate, shipping.useB_rate, producing.growing.useA_rate, producing.growing.useB_rate, producing.cloud.massPort.stopInflow, producing.cloud.massPort.stopOutflow, installedBase.inflow.stopInflow, installedBase.inflow.stopOutflow, cloud1.massPort.stopInflow, cloud1.massPort.stopOutflow, $SEV_4, $SEV_3, $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: ........... 28 (scalar:28, 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: ........... 49 (scalar:48, 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 6.404e-05/0.03569, allocations: 49.53 kB / 300.4 MB, free: 15.83 MB / 298.7 MB Notification: Performance of SimCode: time 0.002/0.03769, allocations: 1.138 MB / 301.5 MB, free: 14.65 MB / 298.7 MB Notification: Performance of Templates: time 0.007335/0.04502, allocations: 2.364 MB / 303.9 MB, free: 12.35 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f BusinessSimulation_dev_BusinessSimulation.Examples.SimpleProductionChainII.makefile [Timeout 660] (rm -f BusinessSimulation_dev_BusinessSimulation.Examples.SimpleProductionChainII.pipe ; mkfifo BusinessSimulation_dev_BusinessSimulation.Examples.SimpleProductionChainII.pipe ; head -c 1048576 < BusinessSimulation_dev_BusinessSimulation.Examples.SimpleProductionChainII.pipe >> ../files/BusinessSimulation_dev_BusinessSimulation.Examples.SimpleProductionChainII.sim & ./BusinessSimulation_dev_BusinessSimulation.Examples.SimpleProductionChainII -abortSlowSimulation -alarm=240 -lv LOG_STATS > BusinessSimulation_dev_BusinessSimulation.Examples.SimpleProductionChainII.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.245298520894721]