Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.DHC.Networks.Controls.Examples.AgentPump1PipeExample.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.001353/0.001353, allocations: 100.4 kB / 19.72 MB, free: 2.121 MB / 14.72 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.001424/0.001424, allocations: 210 kB / 23.01 MB, free: 4.93 MB / 14.72 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.229/1.229, allocations: 230.6 MB / 256.8 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.648/2.648, allocations: 0.49 GB / 0.7958 GB, free: 35.49 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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(Buildings.DHC.Networks.Controls.Examples.AgentPump1PipeExample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|agePumCon.TSouIn|agePumCon.TSouOut|agePumCon.TSou|agePumCon.TSupDis|agePumCon.TRetDis|agePumCon.y",fileNamePrefix="Buildings_12_Buildings.DHC.Networks.Controls.Examples.AgentPump1PipeExample") translateModel(Buildings.DHC.Networks.Controls.Examples.AgentPump1PipeExample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|agePumCon.TSouIn|agePumCon.TSouOut|agePumCon.TSou|agePumCon.TSupDis|agePumCon.TRetDis|agePumCon.y",fileNamePrefix="Buildings_12_Buildings.DHC.Networks.Controls.Examples.AgentPump1PipeExample") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.31e-05/1.31e-05, allocations: 4.531 kB / 1.155 GB, free: 25.19 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Networks.Controls.Examples.AgentPump1PipeExample): time 0.003646/0.003659, allocations: 3.52 MB / 1.158 GB, free: 22.8 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.002648/0.006306, allocations: 2.06 MB / 1.16 GB, free: 21.38 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002608/0.006567, allocations: 25.09 kB / 1.16 GB, free: 21.36 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0005311/0.007098, allocations: 297.9 kB / 1.161 GB, free: 21.24 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0005653/0.007664, allocations: 356.4 kB / 1.161 GB, free: 21.05 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.000526/0.00819, allocations: 421.7 kB / 1.161 GB, free: 20.79 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0009067/0.009096, allocations: 1.28 MB / 1.163 GB, free: 20.15 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000353/0.009449, allocations: 258 kB / 1.163 GB, free: 19.98 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003958/0.009845, allocations: 487 kB / 1.163 GB, free: 19.74 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003181/0.01016, allocations: 414 kB / 1.164 GB, free: 19.52 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001178/0.01028, allocations: 84.69 kB / 1.164 GB, free: 19.52 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002182/0.0105, allocations: 146.6 kB / 1.164 GB, free: 19.5 MB / 0.9044 GB Notification: Performance of combineBinaries: time 0.0007463/0.01125, allocations: 1.616 MB / 1.166 GB, free: 18.34 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 0.0003618/0.01161, allocations: 1.056 MB / 1.167 GB, free: 17.59 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 8.14e-05/0.01169, allocations: 41.94 kB / 1.167 GB, free: 17.59 MB / 0.9044 GB Notification: Performance of FrontEnd: time 8.381e-05/0.01177, allocations: 47.19 kB / 1.167 GB, free: 17.57 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 113 (113) * Number of variables: 113 (113) Notification: Performance of [SIM] Bindings: time 0.002442/0.01421, allocations: 3.612 MB / 1.17 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 0.0003222/0.01454, allocations: 360.1 kB / 1.171 GB, free: 14.78 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 0.001288/0.01582, allocations: 1.761 MB / 1.172 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 0.0003695/0.01619, allocations: 330.1 kB / 1.173 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.002882/0.01908, allocations: 2.817 MB / 1.175 GB, free: 11.72 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 0.0002448/0.01932, allocations: 239.5 kB / 1.176 GB, free: 11.56 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 0.0001052/0.01943, allocations: 149 kB / 1.176 GB, free: 11.44 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 0.00035/0.01978, allocations: 425.3 kB / 1.176 GB, free: 11.1 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 0.0001379/0.01991, allocations: 103.8 kB / 1.176 GB, free: 11.04 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 0.0003529/0.02027, allocations: 390.6 kB / 1.177 GB, free: 10.85 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 0.0008171/0.02108, allocations: 0.6991 MB / 1.177 GB, free: 10.7 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0006209/0.0217, allocations: 0.9139 MB / 1.178 GB, free: 10.17 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 0.004827/0.02653, allocations: 1.788 MB / 1.18 GB, free: 9.207 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 0.001461/0.02799, allocations: 2.045 MB / 1.182 GB, free: 7.957 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 9.905e-05/0.02809, allocations: 61.55 kB / 1.182 GB, free: 7.918 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 0.0003467/0.02844, allocations: 0.4921 MB / 1.183 GB, free: 7.59 MB / 0.9044 GB Notification: Performance of [INI] Causalize: time 0.01117/0.03961, allocations: 10.1 MB / 1.192 GB, free: 5.137 MB / 0.9044 GB Notification: Performance of [INI] Tearing: time 8.468e-05/0.03969, allocations: 181.8 kB / 1.193 GB, free: 5.004 MB / 0.9044 GB Notification: Performance of [SIM] Initialization: time 1.142e-06/0.03969, allocations: 0 / 1.193 GB, free: 5.004 MB / 0.9044 GB Notification: Performance of [SIM] Remove Dummies: time 1.049e-05/0.0397, allocations: 1.5 kB / 1.193 GB, free: 5.004 MB / 0.9044 GB Notification: Performance of [SIM] Tearing: time 8.736e-06/0.03971, allocations: 30.16 kB / 1.193 GB, free: 4.98 MB / 0.9044 GB Notification: Performance of [SIM] Categorize: time 1.23e-05/0.03972, allocations: 10.03 kB / 1.193 GB, free: 4.973 MB / 0.9044 GB Notification: Performance of [SIM] Solve: time 0.001403/0.04113, allocations: 1.204 MB / 1.194 GB, free: 4.484 MB / 0.9044 GB Notification: Performance of [SIM] Jacobian: time 7.184e-06/0.04113, allocations: 0 / 1.194 GB, free: 4.484 MB / 0.9044 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 1 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 1 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 0 (0) {} * Number of discrete states: .................... 6 (6) {TDisRet.tab.nextTimeEvent, TDisRet.tab.nextTimeEventScaled, TSouOut.tab.nextTimeEvent, TSouOut.tab.nextTimeEventScaled, TSouIn.tab.nextTimeEvent, TSouIn.tab.nextTimeEventScaled} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 13 (13) {agePumCon.NetDemBool.lesHys.y, agePumCon.swi.u2, agePumCon.hys.y, agePumCon.hys1.y, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $TEV_2, $TEV_1, $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: ........... 43 (scalar:43, array:0, record:0) * Number of multi strong components: ............ 6 (algorithm:0, when:6, 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: ........... 175 (scalar:166, array:6, record:3) * Number of multi strong components: ............ 6 (algorithm:6, 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: [Initialization (lambda=0)] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 175 (scalar:166, array:6, record:3) * Number of multi strong components: ............ 6 (algorithm:6, 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 6.541e-05/0.0412, allocations: 92.12 kB / 1.194 GB, free: 4.406 MB / 0.9044 GB Notification: Performance of SimCode: time 0.004803/0.046, allocations: 3.642 MB / 1.197 GB, free: 2.82 MB / 0.9044 GB Notification: Performance of Templates: time 0.01353/0.05953, allocations: 7.997 MB / 1.205 GB, free: 1.918 MB / 0.9044 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.DHC.Networks.Controls.Examples.AgentPump1PipeExample.makefile [Timeout 300] (rm -f Buildings_12_Buildings.DHC.Networks.Controls.Examples.AgentPump1PipeExample.pipe ; mkfifo Buildings_12_Buildings.DHC.Networks.Controls.Examples.AgentPump1PipeExample.pipe ; head -c 1048576 < Buildings_12_Buildings.DHC.Networks.Controls.Examples.AgentPump1PipeExample.pipe >> ../files/Buildings_12_Buildings.DHC.Networks.Controls.Examples.AgentPump1PipeExample.sim & ./Buildings_12_Buildings.DHC.Networks.Controls.Examples.AgentPump1PipeExample -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.DHC.Networks.Controls.Examples.AgentPump1PipeExample.pipe 2>&1) [Timeout 400] [Calling os._exit(0), Time elapsed: 7.167814759071916] Failed to read output from testmodel.py, exit status != 0: 0.06575997825711966 0.07793189299999995 0.06360047199999994 Calling exit ...