Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BusinessSimulation_dev_BusinessSimulation.Examples.SimpleProductionChain.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.00115/0.00115, allocations: 88.16 kB / 9.898 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001512/0.002662, 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.001117/0.001117, allocations: 149.2 kB / 11.21 MB, free: 2.957 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001501/0.002619, 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.611/1.611, allocations: 177.2 MB / 189.6 MB, free: 5.301 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1046/1.716, allocations: 53.64 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.375/0.375, allocations: 24.16 MB / 268.1 MB, free: 7.223 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1623/0.5373, allocations: 7.763 MB / 275.9 MB, free: 0.8281 MB / 266.7 MB " [Timeout remaining time 179] 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.SimpleProductionChain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="BusinessSimulation_dev_BusinessSimulation.Examples.SimpleProductionChain") translateModel(BusinessSimulation.Examples.SimpleProductionChain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="BusinessSimulation_dev_BusinessSimulation.Examples.SimpleProductionChain") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.027e-05/2.027e-05, allocations: 2.969 kB / 277.3 MB, free: 168 kB / 266.7 MB Notification: Performance of NFInst.instantiate(BusinessSimulation.Examples.SimpleProductionChain): time 0.007719/0.007739, allocations: 5.306 MB / 282.6 MB, free: 12.65 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001522/0.009261, allocations: 0.6344 MB / 283.2 MB, free: 12.2 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001892/0.00945, allocations: 17.28 kB / 283.2 MB, free: 12.19 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002247/0.009675, allocations: 79.69 kB / 283.3 MB, free: 12.15 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002114/0.009886, allocations: 80.22 kB / 283.4 MB, free: 12.09 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005115/0.0104, allocations: 192.3 kB / 283.6 MB, free: 11.98 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000612/0.01101, allocations: 0.4998 MB / 284.1 MB, free: 11.72 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002861/0.0113, allocations: 149.2 kB / 284.2 MB, free: 11.64 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004321/0.01173, allocations: 312.1 kB / 284.5 MB, free: 11.5 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002253/0.01195, allocations: 129.7 kB / 284.7 MB, free: 11.45 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 6.035e-05/0.01201, allocations: 40.12 kB / 284.7 MB, free: 11.45 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001213/0.01213, allocations: 50.73 kB / 284.8 MB, free: 11.44 MB / 282.7 MB Notification: Performance of combineBinaries: time 0.0006224/0.01276, allocations: 0.5585 MB / 285.3 MB, free: 11.15 MB / 282.7 MB Notification: Performance of replaceArrayConstructors: time 0.0002715/0.01303, allocations: 366.8 kB / 285.7 MB, free: 10.93 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.947e-05/0.01308, allocations: 35.47 kB / 285.7 MB, free: 10.92 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.72e-05/0.01314, allocations: 18.47 kB / 285.7 MB, free: 10.91 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: 98 (96) * Number of variables: 98 (95) Notification: Performance of [SIM] Bindings: time 0.002257/0.01539, allocations: 1.906 MB / 287.6 MB, free: 9.715 MB / 282.7 MB Notification: Performance of [SIM] Data Reconciliation: time 7.363e-06/0.0154, allocations: 0 / 287.6 MB, free: 9.715 MB / 282.7 MB Notification: Performance of [SIM] FunctionAlias: time 0.0003537/0.01575, allocations: 271.5 kB / 287.9 MB, free: 9.562 MB / 282.7 MB Notification: Performance of [SIM] Early Inline: time 0.00164/0.01739, allocations: 1.335 MB / 289.2 MB, free: 9 MB / 282.7 MB Notification: Performance of [SIM] Simplify: time 0.0002639/0.01766, allocations: 162.2 kB / 289.4 MB, free: 8.898 MB / 282.7 MB Notification: Performance of [SIM] Alias: time 0.004274/0.02193, allocations: 2.728 MB / 292.1 MB, free: 7.379 MB / 282.7 MB Notification: Performance of [SIM] Remove Stream: time 0.0001261/0.02206, allocations: 86.42 kB / 292.2 MB, free: 7.297 MB / 282.7 MB Notification: Performance of [SIM] Algorithm Locals: time 0.0001222/0.02218, allocations: 96.75 kB / 292.3 MB, free: 7.27 MB / 282.7 MB Notification: Performance of [SIM] Detect States: time 0.0003977/0.02258, allocations: 262.1 kB / 292.6 MB, free: 7.055 MB / 282.7 MB Notification: Performance of [SIM] Events: time 0.0001342/0.02271, allocations: 70.42 kB / 292.6 MB, free: 7.012 MB / 282.7 MB Notification: Performance of [SIM] Partitioning: time 0.0004553/0.02317, allocations: 338.1 kB / 293 MB, free: 6.711 MB / 282.7 MB Notification: Performance of [SIM] Causalize: time 0.0006333/0.0238, allocations: 467.6 kB / 293.4 MB, free: 6.41 MB / 282.7 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0003705/0.02417, allocations: 340.6 kB / 293.7 MB, free: 6.234 MB / 282.7 MB Notification: Performance of [INI] Simplify: time 0.0005405/0.02471, allocations: 312.9 kB / 294 MB, free: 5.984 MB / 282.7 MB Notification: Performance of [INI] Inline: time 0.0005903/0.0253, allocations: 0.5262 MB / 294.6 MB, free: 5.734 MB / 282.7 MB Notification: Performance of [INI] Partitioning: time 4.445e-05/0.02535, allocations: 26.89 kB / 294.6 MB, free: 5.711 MB / 282.7 MB Notification: Performance of [INI] Cleanup: time 0.0001089/0.02545, allocations: 73.16 kB / 294.7 MB, free: 5.66 MB / 282.7 MB Notification: Performance of [INI] Causalize: time 0.001088/0.02654, allocations: 0.6819 MB / 295.4 MB, free: 4.977 MB / 282.7 MB Notification: Performance of [INI] Tearing: time 2.993e-05/0.02657, allocations: 28.38 kB / 295.4 MB, free: 4.949 MB / 282.7 MB Notification: Performance of [SIM] Initialization: time 4.71e-07/0.02657, allocations: 0 / 295.4 MB, free: 4.949 MB / 282.7 MB Notification: Performance of [SIM] Remove Dummies: time 9.668e-06/0.02658, allocations: 7.906 kB / 295.4 MB, free: 4.941 MB / 282.7 MB Notification: Performance of [SIM] Tearing: time 1.863e-05/0.0266, allocations: 20 kB / 295.4 MB, free: 4.922 MB / 282.7 MB Notification: Performance of [SIM] Categorize: time 0.0002041/0.02681, allocations: 116.1 kB / 295.5 MB, free: 4.793 MB / 282.7 MB Notification: Performance of [SIM] Solve: time 0.0003321/0.02714, allocations: 174.9 kB / 295.7 MB, free: 4.621 MB / 282.7 MB Notification: Performance of [SIM] Jacobian: time 0.0003314/0.02747, allocations: 208.4 kB / 295.9 MB, free: 4.379 MB / 282.7 MB Notification: Performance of [SIM] Minimize Homotopy System: time 5.81e-07/0.02747, allocations: 3.938 kB / 295.9 MB, free: 4.375 MB / 282.7 MB Notification: Performance of [SIM] Data Reconciliation Jacobian: time 5.71e-07/0.02747, allocations: 0 / 295.9 MB, free: 4.375 MB / 282.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.y2, installedBase.x_hidden} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 18 (18) {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_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: ........... 25 (scalar:25, 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: ........... 45 (scalar:44, 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.072e-05/0.02753, allocations: 48.83 kB / 295.9 MB, free: 4.332 MB / 282.7 MB Notification: Performance of SimCode: time 0.001642/0.02917, allocations: 0.9316 MB / 296.9 MB, free: 3.371 MB / 282.7 MB Notification: Performance of Templates: time 0.005992/0.03517, allocations: 1.94 MB / 298.8 MB, free: 1.488 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f BusinessSimulation_dev_BusinessSimulation.Examples.SimpleProductionChain.makefile [Timeout 660] (rm -f BusinessSimulation_dev_BusinessSimulation.Examples.SimpleProductionChain.pipe ; mkfifo BusinessSimulation_dev_BusinessSimulation.Examples.SimpleProductionChain.pipe ; head -c 1048576 < BusinessSimulation_dev_BusinessSimulation.Examples.SimpleProductionChain.pipe >> ../files/BusinessSimulation_dev_BusinessSimulation.Examples.SimpleProductionChain.sim & ./BusinessSimulation_dev_BusinessSimulation.Examples.SimpleProductionChain -abortSlowSimulation -alarm=240 -lv LOG_STATS > BusinessSimulation_dev_BusinessSimulation.Examples.SimpleProductionChain.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.430486642988399]