Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001251/0.001251, 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.001345/0.001345, allocations: 217.9 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.347/1.347, allocations: 230.7 MB / 256.9 MB, free: 7.766 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.003/3.003, allocations: 0.5108 GB / 0.8167 GB, free: 17.72 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.DHC.Networks.Controls.Examples.AgentPump1PipeExample") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.758e-05/1.758e-05, allocations: 3.266 kB / 1.187 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Networks.Controls.Examples.AgentPump1PipeExample): time 0.004229/0.004246, allocations: 3.523 MB / 1.191 GB, free: 11.06 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.003501/0.007747, allocations: 2.056 MB / 1.193 GB, free: 9.637 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004471/0.008195, allocations: 24.31 kB / 1.193 GB, free: 9.625 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0006626/0.008857, allocations: 297 kB / 1.193 GB, free: 9.504 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0007389/0.009596, allocations: 355 kB / 1.193 GB, free: 9.305 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007909/0.01039, allocations: 423.2 kB / 1.194 GB, free: 9.047 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001188/0.01158, allocations: 1.277 MB / 1.195 GB, free: 8.398 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004163/0.01199, allocations: 239.3 kB / 1.195 GB, free: 8.25 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005804/0.01257, allocations: 483.3 kB / 1.196 GB, free: 8.008 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004093/0.01298, allocations: 384.5 kB / 1.196 GB, free: 7.82 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001219/0.0131, allocations: 89.52 kB / 1.196 GB, free: 7.816 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003233/0.01343, allocations: 141 kB / 1.196 GB, free: 7.801 MB / 0.9044 GB Notification: Performance of combineBinaries: time 0.0009331/0.01436, allocations: 1.624 MB / 1.198 GB, free: 6.633 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 0.0004191/0.01478, allocations: 1.056 MB / 1.199 GB, free: 5.879 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001001/0.01488, allocations: 43.09 kB / 1.199 GB, free: 5.879 MB / 0.9044 GB Notification: Performance of FrontEnd: time 0.0001334/0.01501, allocations: 40.7 kB / 1.199 GB, free: 5.859 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.002611/0.01762, allocations: 3.621 MB / 1.202 GB, free: 3.293 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 0.0003592/0.01798, allocations: 363.4 kB / 1.203 GB, free: 3.066 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 0.001436/0.01942, allocations: 1.775 MB / 1.204 GB, free: 1.941 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 0.0004206/0.01984, allocations: 300.4 kB / 1.205 GB, free: 1.758 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.00336/0.0232, allocations: 2.89 MB / 1.208 GB, free: 32 kB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 0.0003371/0.02354, allocations: 227.4 kB / 1.208 GB, free: 15.89 MB / 0.92 GB Notification: Performance of [SIM] Remove Stream: time 0.0001577/0.02369, allocations: 144 kB / 1.208 GB, free: 15.77 MB / 0.92 GB Notification: Performance of [SIM] Detect States: time 0.0005101/0.0242, allocations: 408.7 kB / 1.208 GB, free: 15.45 MB / 0.92 GB Notification: Performance of [SIM] Events: time 0.0001716/0.02437, allocations: 105 kB / 1.208 GB, free: 15.39 MB / 0.92 GB Notification: Performance of [SIM] Partitioning: time 0.0004708/0.02485, allocations: 406.3 kB / 1.209 GB, free: 15.18 MB / 0.92 GB Notification: Performance of [SIM] Causalize: time 0.0009487/0.02579, allocations: 0.7007 MB / 1.209 GB, free: 15.03 MB / 0.92 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0009196/0.02671, allocations: 0.9109 MB / 1.21 GB, free: 14.51 MB / 0.92 GB Notification: Performance of [INI] Simplify: time 0.006239/0.03295, allocations: 1.715 MB / 1.212 GB, free: 13.6 MB / 0.92 GB Notification: Performance of [INI] Inline: time 0.002267/0.03522, allocations: 2.046 MB / 1.214 GB, free: 12.35 MB / 0.92 GB Notification: Performance of [INI] Partitioning: time 0.0001456/0.03537, allocations: 64.89 kB / 1.214 GB, free: 12.3 MB / 0.92 GB Notification: Performance of [INI] Cleanup: time 0.0005254/0.03589, allocations: 0.4927 MB / 1.215 GB, free: 11.98 MB / 0.92 GB Notification: Performance of [INI] Causalize: time 0.01344/0.04933, allocations: 9.945 MB / 1.224 GB, free: 8.727 MB / 0.92 GB Notification: Performance of [INI] Tearing: time 0.0001381/0.04947, allocations: 186.1 kB / 1.224 GB, free: 8.59 MB / 0.92 GB Notification: Performance of [SIM] Initialization: time 1.763e-06/0.04947, allocations: 0 / 1.224 GB, free: 8.59 MB / 0.92 GB Notification: Performance of [SIM] DAE-Mode: time 0.0003241/0.04979, allocations: 207.8 kB / 1.225 GB, free: 8.48 MB / 0.92 GB Notification: Performance of [SIM] Remove Dummies: time 6.272e-06/0.0498, allocations: 1.594 kB / 1.225 GB, free: 8.48 MB / 0.92 GB Notification: Performance of [SIM] Tearing: time 3.056e-05/0.04983, allocations: 38.41 kB / 1.225 GB, free: 8.453 MB / 0.92 GB Notification: Performance of [SIM] Categorize: time 1.309e-05/0.04984, allocations: 2.75 kB / 1.225 GB, free: 8.453 MB / 0.92 GB Notification: Performance of [SIM] Solve: time 0.002164/0.05201, allocations: 1.554 MB / 1.226 GB, free: 7.664 MB / 0.92 GB Notification: Performance of [SIM] Jacobian: time 0.0002882/0.0523, allocations: 288.6 kB / 1.227 GB, free: 7.422 MB / 0.92 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 9.894e-05/0.05239, allocations: 96.61 kB / 1.227 GB, free: 7.344 MB / 0.92 GB Notification: Performance of SimCode: time 0.006139/0.05853, allocations: 3.829 MB / 1.23 GB, free: 4.66 MB / 0.92 GB Notification: Performance of Templates: time 0.01603/0.07457, allocations: 7.93 MB / 1.238 GB, free: 14.64 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.DHC.Networks.Controls.Examples.AgentPump1PipeExample.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.DHC.Networks.Controls.Examples.AgentPump1PipeExample.pipe ; mkfifo Buildings_latest_Buildings.DHC.Networks.Controls.Examples.AgentPump1PipeExample.pipe ; head -c 1048576 < Buildings_latest_Buildings.DHC.Networks.Controls.Examples.AgentPump1PipeExample.pipe >> ../files/Buildings_latest_Buildings.DHC.Networks.Controls.Examples.AgentPump1PipeExample.sim & ./Buildings_latest_Buildings.DHC.Networks.Controls.Examples.AgentPump1PipeExample -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.DHC.Networks.Controls.Examples.AgentPump1PipeExample.pipe 2>&1) [Timeout 800] [Calling os._exit(0), Time elapsed: 8.096497915044893] Failed to read output from testmodel.py, exit status != 0: 0.08221156301442534 0.09586554100000001 0.07807755400000001 Calling exit ...