Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ValveSelfActing.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ValveSelfActing,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prv.port_a.p|prv.port_b.p|prv.dp|speEntIn.h_out|speEntOut.h_out|prv.m_flow",fileNamePrefix="Buildings_10_Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ValveSelfActing") translateModel(Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ValveSelfActing,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prv.port_a.p|prv.port_b.p|prv.dp|speEntIn.h_out|speEntOut.h_out|prv.m_flow",fileNamePrefix="Buildings_10_Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ValveSelfActing") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001142/0.001142, allocations: 111.1 kB / 16.43 MB, free: 6.422 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001107/0.001107, allocations: 186.1 kB / 17.36 MB, free: 5.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.145/1.145, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.092/2.092, allocations: 437 MB / 0.7112 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.899e-05/1.901e-05, allocations: 2.281 kB / 1.019 GB, free: 9.418 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ValveSelfActing): time 0.5472/0.5472, allocations: 146.4 MB / 1.162 GB, free: 6.883 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01549/0.5627, allocations: 15 MB / 1.177 GB, free: 12.16 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007184/0.5635, allocations: 24.03 kB / 1.177 GB, free: 12.15 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0007564/0.5643, allocations: 284 kB / 1.177 GB, free: 11.91 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.005038/0.5693, allocations: 2.218 MB / 1.179 GB, free: 10.29 MB / 0.8887 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Math/Random.mo:1057:5-1146:31:writable] Warning: Pure function 'Modelica.Math.Random.Utilities.initializeImpureRandom' contains a call to impure function 'Modelica.Math.Random.Utilities.initializeImpureRandom.setInternalState'. Notification: Performance of NFTyping.typeClassSections: time 0.001745/0.5711, allocations: 0.6731 MB / 1.18 GB, free: 9.801 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.001538/0.5726, allocations: 1.405 MB / 1.181 GB, free: 8.98 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005075/0.5731, allocations: 384.1 kB / 1.182 GB, free: 8.711 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005644/0.5737, allocations: 0.5015 MB / 1.182 GB, free: 8.418 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008292/0.5745, allocations: 450.9 kB / 1.183 GB, free: 8.164 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 6.743e-05/0.5746, allocations: 44 kB / 1.183 GB, free: 8.164 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003456/0.5781, allocations: 2.752 MB / 1.185 GB, free: 6.707 MB / 0.8887 GB Notification: Performance of combineBinaries: time 0.0006163/0.5787, allocations: 0.9497 MB / 1.186 GB, free: 6.047 MB / 0.8887 GB Notification: Performance of replaceArrayConstructors: time 0.0003012/0.579, allocations: 0.6022 MB / 1.187 GB, free: 5.617 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 8.85e-05/0.5791, allocations: 100.3 kB / 1.187 GB, free: 5.57 MB / 0.8887 GB Notification: Performance of FrontEnd: time 0.0002137/0.5793, allocations: 24.72 kB / 1.187 GB, free: 5.559 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 88 (82) * Number of variables: 88 (85) Notification: Performance of Bindings: time 0.002007/0.5813, allocations: 1.925 MB / 1.189 GB, free: 4.07 MB / 0.8887 GB Notification: Performance of FunctionAlias: time 0.000157/0.5815, allocations: 123.9 kB / 1.189 GB, free: 3.973 MB / 0.8887 GB Notification: Performance of Early Inline: time 0.001597/0.5831, allocations: 1.532 MB / 1.19 GB, free: 2.754 MB / 0.8887 GB Notification: Performance of simplify1: time 0.0002362/0.5834, allocations: 230.6 kB / 1.191 GB, free: 2.566 MB / 0.8887 GB Notification: Performance of Alias: time 0.001864/0.5852, allocations: 1.422 MB / 1.192 GB, free: 1.477 MB / 0.8887 GB Notification: Performance of simplify2: time 0.000181/0.5854, allocations: 182.9 kB / 1.192 GB, free: 1.324 MB / 0.8887 GB Notification: Performance of Detect States: time 0.0003517/0.5858, allocations: 276.9 kB / 1.192 GB, free: 1.086 MB / 0.8887 GB Notification: Performance of Events: time 0.0004055/0.5862, allocations: 300.6 kB / 1.193 GB, free: 0.8672 MB / 0.8887 GB Notification: Performance of Partitioning: time 0.0003977/0.5866, allocations: 373.9 kB / 1.193 GB, free: 0.5625 MB / 0.8887 GB Notification: Performance of Causalize: time 0.001565/0.5882, allocations: 1.394 MB / 1.194 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of After Index Reduction Inline: time 0.0008269/0.589, allocations: 0.9449 MB / 1.195 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of Inline: time 0.004329/0.5934, allocations: 2.953 MB / 1.198 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of Partitioning: time 6.012e-05/0.5934, allocations: 42.03 kB / 1.198 GB, free: 12.93 MB / 0.9044 GB Notification: Performance of Cleanup: time 0.0003614/0.5938, allocations: 0.4995 MB / 1.199 GB, free: 12.53 MB / 0.9044 GB Notification: Performance of Causalize: time 0.007282/0.6011, allocations: 6.48 MB / 1.205 GB, free: 9.23 MB / 0.9044 GB Notification: Performance of Tearing: time 2.001e-05/0.6011, allocations: 0 / 1.205 GB, free: 9.23 MB / 0.9044 GB Notification: Performance of Initialization: time 6.41e-07/0.6011, allocations: 0 / 1.205 GB, free: 9.23 MB / 0.9044 GB Notification: Performance of Tearing: time 8.736e-06/0.6011, allocations: 0 / 1.205 GB, free: 9.23 MB / 0.9044 GB Notification: Performance of Categorize: time 2.019e-05/0.6012, allocations: 7.938 kB / 1.205 GB, free: 9.223 MB / 0.9044 GB Notification: Performance of Solve: time 0.001082/0.6022, allocations: 1.304 MB / 1.206 GB, free: 7.766 MB / 0.9044 GB Notification: Performance of Jacobian: time 0.000531/0.6028, allocations: 0.5823 MB / 1.207 GB, free: 7.145 MB / 0.9044 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 2 * Number of ODE event partitions: ............... 1 * Number of algebraic event partitions: ......... 6 * 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: ............................. 2 (2) {speEntIn.h_out, speEntOut.h_out} * Number of discrete states: .................... 1 (1) {pInSig.r} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 33 (27) {pInSig.state, pInSig.r_raw, $SEV_20, $SEV_19, $SEV_18, $SEV_17, $SEV_16, $SEV_15, $SEV_14, $SEV_13, $SEV_12, $SEV_11, $SEV_10, $SEV_9, $SEV_8, $SEV_7, $SEV_6, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $TEV_3, $TEV_2, $TEV_1, $TEV_0} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 61 (scalar:58, array:3, record:0) * Number of multi strong components: ............ 2 (algorithm:0, when:2, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 1 (linear: 0, nonlinear:1) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 97 (scalar:93, array:4, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:1) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 1 (linear: 0, nonlinear:1) Notification: [Initialization (lambda=0)] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 97 (scalar:93, array:4, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:1) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 1 (linear: 0, nonlinear:1) Notification: Performance of backend: time 6.517e-05/0.6029, allocations: 59.94 kB / 1.207 GB, free: 7.098 MB / 0.9044 GB Notification: Performance of SimCode: time 0.007181/0.61, allocations: 4.877 MB / 1.212 GB, free: 2.207 MB / 0.9044 GB Notification: Performance of Templates: time 0.02143/0.6315, allocations: 17.64 MB / 1.229 GB, free: 0.5586 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ValveSelfActing.makefile (rm -f Buildings_10_Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ValveSelfActing.pipe ; mkfifo Buildings_10_Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ValveSelfActing.pipe ; head -c 1048576 < Buildings_10_Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ValveSelfActing.pipe >> ../files/Buildings_10_Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ValveSelfActing.sim & ./Buildings_10_Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ValveSelfActing -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Experimental.DHC.Loads.Steam.BaseClasses.Examples.ValveSelfActing.pipe 2>&1)