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.001557/0.001557, allocations: 104.3 kB / 19.77 MB, free: 2.051 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.001701/0.001701, allocations: 217.1 kB / 23.07 MB, free: 4.844 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.313/1.313, allocations: 230.7 MB / 256.9 MB, free: 7.727 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.766/2.766, allocations: 0.4893 GB / 0.7952 GB, free: 35.75 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.156e-05/1.156e-05, allocations: 2.281 kB / 1.154 GB, free: 25.53 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Networks.Controls.Examples.AgentPump1PipeExample): time 0.003807/0.003819, allocations: 3.528 MB / 1.158 GB, free: 23.14 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.002848/0.006666, allocations: 2.05 MB / 1.16 GB, free: 21.72 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002611/0.006927, allocations: 21.88 kB / 1.16 GB, free: 21.71 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0005561/0.007484, allocations: 302.7 kB / 1.16 GB, free: 21.59 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.000611/0.008095, allocations: 352.2 kB / 1.16 GB, free: 21.39 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005556/0.00865, allocations: 417.6 kB / 1.161 GB, free: 21.14 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0009057/0.009556, allocations: 1.288 MB / 1.162 GB, free: 20.5 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003555/0.009911, allocations: 234.8 kB / 1.162 GB, free: 20.35 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004046/0.01032, allocations: 492.9 kB / 1.163 GB, free: 20.1 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003136/0.01063, allocations: 381 kB / 1.163 GB, free: 19.92 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001127/0.01074, allocations: 85.28 kB / 1.163 GB, free: 19.92 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002273/0.01097, allocations: 141.2 kB / 1.163 GB, free: 19.9 MB / 0.9044 GB Notification: Performance of combineBinaries: time 0.0007133/0.01168, allocations: 1.62 MB / 1.165 GB, free: 18.74 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 0.0003733/0.01206, allocations: 1.055 MB / 1.166 GB, free: 17.98 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 7.958e-05/0.01214, allocations: 42.34 kB / 1.166 GB, free: 17.98 MB / 0.9044 GB Notification: Performance of FrontEnd: time 8.987e-05/0.01223, allocations: 53.94 kB / 1.166 GB, free: 17.95 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.002279/0.0145, allocations: 3.606 MB / 1.17 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 0.0003166/0.01482, allocations: 372.8 kB / 1.17 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 0.001302/0.01612, allocations: 1.775 MB / 1.172 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 0.0003705/0.01649, allocations: 295.7 kB / 1.172 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.003034/0.01953, allocations: 2.895 MB / 1.175 GB, free: 12.13 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 0.0002507/0.01978, allocations: 214.7 kB / 1.175 GB, free: 11.99 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 0.0001117/0.01989, allocations: 153 kB / 1.175 GB, free: 11.87 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 0.0003593/0.02025, allocations: 417.7 kB / 1.176 GB, free: 11.54 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 0.0001428/0.02039, allocations: 102.5 kB / 1.176 GB, free: 11.48 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 0.0003641/0.02076, allocations: 386 kB / 1.176 GB, free: 11.29 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 0.0008386/0.0216, allocations: 0.7006 MB / 1.177 GB, free: 11.13 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0006377/0.02223, allocations: 0.9188 MB / 1.178 GB, free: 10.61 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 0.005022/0.02726, allocations: 1.723 MB / 1.179 GB, free: 9.695 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 0.001445/0.0287, allocations: 2.039 MB / 1.181 GB, free: 8.453 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 9.857e-05/0.0288, allocations: 64.91 kB / 1.181 GB, free: 8.41 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 0.0003411/0.02914, allocations: 0.4936 MB / 1.182 GB, free: 8.082 MB / 0.9044 GB Notification: Performance of [INI] Causalize: time 0.0114/0.04054, allocations: 9.953 MB / 1.192 GB, free: 5.777 MB / 0.9044 GB Notification: Performance of [INI] Tearing: time 8.024e-05/0.04062, allocations: 185.4 kB / 1.192 GB, free: 5.641 MB / 0.9044 GB Notification: Performance of [SIM] Initialization: time 1.393e-06/0.04062, allocations: 1.375 kB / 1.192 GB, free: 5.641 MB / 0.9044 GB Notification: Performance of [SIM] DAE-Mode: time 0.0002636/0.04089, allocations: 204 kB / 1.192 GB, free: 5.559 MB / 0.9044 GB Notification: Performance of [SIM] Remove Dummies: time 5.32e-06/0.04089, allocations: 0.5 kB / 1.192 GB, free: 5.559 MB / 0.9044 GB Notification: Performance of [SIM] Tearing: time 1.432e-05/0.04091, allocations: 39.53 kB / 1.192 GB, free: 5.531 MB / 0.9044 GB Notification: Performance of [SIM] Categorize: time 1.14e-05/0.04092, allocations: 2.062 kB / 1.192 GB, free: 5.531 MB / 0.9044 GB Notification: Performance of [SIM] Solve: time 0.001793/0.04271, allocations: 1.564 MB / 1.194 GB, free: 4.93 MB / 0.9044 GB Notification: Performance of [SIM] Jacobian: time 0.0001889/0.0429, allocations: 287 kB / 1.194 GB, free: 4.695 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:169, array:6, record:0) * 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:169, array:6, record:0) * 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.608e-05/0.04297, allocations: 84.84 kB / 1.194 GB, free: 4.621 MB / 0.9044 GB Notification: Performance of SimCode: time 0.005025/0.04799, allocations: 3.824 MB / 1.198 GB, free: 2.941 MB / 0.9044 GB Notification: Performance of Templates: time 0.01465/0.06264, allocations: 7.937 MB / 1.205 GB, free: 1.98 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.606104030972347] Failed to read output from testmodel.py, exit status != 0: 0.06908163003390655 0.08168469799999994 0.06678875499999994 Calling exit ...