Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.WaterFlowControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.WaterFlowControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.WaterFlowControl") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.WaterFlowControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.WaterFlowControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.349/2.349, allocations: 251.1 MB / 266.7 MB, free: 11.59 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001404/0.001404, allocations: 185.4 kB / 326.3 MB, free: 2.867 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.537/2.537, allocations: 205.4 MB / 0.5772 GB, free: 20.81 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009324/0.0009323, allocations: 84.38 kB / 0.6817 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007322/0.0007327, allocations: 14.39 kB / 0.7957 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.223/0.2238, allocations: 106.3 MB / 0.8995 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.WaterFlowControl): time 0.007301/0.2311, allocations: 4.686 MB / 0.9041 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.007498/0.2387, allocations: 3.016 MB / 0.907 GB, free: 57.81 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001406/0.2402, allocations: 31.81 kB / 0.9071 GB, free: 57.78 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.002471/0.2427, allocations: 0.6078 MB / 0.9076 GB, free: 57.17 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.00206/0.2448, allocations: 370.1 kB / 0.908 GB, free: 56.8 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.003282/0.2481, allocations: 0.7121 MB / 0.9087 GB, free: 56.1 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.003582/0.2517, allocations: 1.963 MB / 0.9106 GB, free: 54.14 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002609/0.2543, allocations: 1.17 MB / 0.9118 GB, free: 52.93 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001499/0.2559, allocations: 0.5949 MB / 0.9123 GB, free: 52.34 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001259/0.2572, allocations: 0.6451 MB / 0.913 GB, free: 51.69 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0004145/0.2577, allocations: 60 kB / 0.913 GB, free: 51.63 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006026/0.2583, allocations: 139.9 kB / 0.9132 GB, free: 51.49 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0005055/0.2588, allocations: 0.4905 MB / 0.9136 GB, free: 51 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0005025/0.2593, allocations: 380.4 kB / 0.914 GB, free: 50.62 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.002933/0.2623, allocations: 2.108 MB / 0.9161 GB, free: 48.51 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 9.337e-06/0.2624, allocations: 3.938 kB / 0.9161 GB, free: 48.5 MB / 0.6042 GB Notification: Performance of FrontEnd: time 4.608e-06/0.2624, allocations: 4 kB / 0.9161 GB, free: 48.5 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001122/0.2625, allocations: 0 / 0.9161 GB, free: 48.5 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 329 * Number of variables: 329 Notification: Performance of Generate backend data structure: time 0.009318/0.2718, allocations: 2.147 MB / 0.9182 GB, free: 46.27 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 7.814e-05/0.272, allocations: 8.031 kB / 0.9182 GB, free: 46.27 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001442/0.2734, allocations: 257.8 kB / 0.9184 GB, free: 46.01 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006383/0.2799, allocations: 1.383 MB / 0.9198 GB, free: 44.58 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003572/0.2803, allocations: 148.6 kB / 0.9199 GB, free: 44.43 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007016/0.281, allocations: 144 kB / 0.92 GB, free: 44.29 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006454/0.2875, allocations: 1.479 MB / 0.9215 GB, free: 42.69 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.261e-05/0.2876, allocations: 3.938 kB / 0.9215 GB, free: 42.68 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002762/0.2879, allocations: 59.98 kB / 0.9215 GB, free: 42.62 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.543e-05/0.288, allocations: 32 kB / 0.9216 GB, free: 42.59 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005238/0.2933, allocations: 1.012 MB / 0.9226 GB, free: 41.57 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01674/0.3101, allocations: 6.266 MB / 0.9287 GB, free: 35.12 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003591/0.3137, allocations: 0.7916 MB / 0.9295 GB, free: 34.33 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001813/0.3156, allocations: 397.5 kB / 0.9298 GB, free: 33.94 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005105/0.3162, allocations: 122.1 kB / 0.93 GB, free: 33.8 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002313/0.3185, allocations: 0.5203 MB / 0.9305 GB, free: 33.27 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=103): time 7.855e-06/0.3186, allocations: 0 / 0.9305 GB, free: 33.27 MB / 0.6042 GB Notification: Performance of matching and sorting (n=103): time 0.005701/0.3243, allocations: 1.205 MB / 0.9316 GB, free: 32.05 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.565e-05/0.3245, allocations: 123.8 kB / 0.9318 GB, free: 31.91 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006195/0.3307, allocations: 2.012 MB / 0.9337 GB, free: 29.85 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0004355/0.3312, allocations: 77.7 kB / 0.9338 GB, free: 29.77 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.001656/0.3329, allocations: 0.9411 MB / 0.9347 GB, free: 28.82 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006388/0.3336, allocations: 264.6 kB / 0.935 GB, free: 28.56 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001848/0.3338, allocations: 32 kB / 0.935 GB, free: 28.53 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0002086/0.334, allocations: 369.9 kB / 0.9354 GB, free: 28.16 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001326/0.3353, allocations: 423.8 kB / 0.9358 GB, free: 27.75 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001582/0.337, allocations: 0.8526 MB / 0.9366 GB, free: 26.71 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001409/0.3384, allocations: 442.2 kB / 0.937 GB, free: 26.28 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.657e-05/0.3385, allocations: 4 kB / 0.937 GB, free: 26.28 MB / 0.6042 GB Notification: Performance of matching and sorting (n=200) (initialization): time 0.004003/0.3425, allocations: 1.412 MB / 0.9384 GB, free: 24.86 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.685e-05/0.3426, allocations: 8 kB / 0.9384 GB, free: 24.85 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.586e-05/0.3426, allocations: 20.81 kB / 0.9384 GB, free: 24.83 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.923e-05/0.3426, allocations: 20 kB / 0.9384 GB, free: 24.81 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001348/0.344, allocations: 211.5 kB / 0.9386 GB, free: 24.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.08e-05/0.3441, allocations: 31.98 kB / 0.9387 GB, free: 24.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001531/0.3456, allocations: 162.7 kB / 0.9388 GB, free: 24.41 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001822/0.3458, allocations: 75.98 kB / 0.9389 GB, free: 24.34 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 127 ($PRE.con.transition3.enableFire,$PRE.con.transition5.enableFire,$PRE.con.transition9.enableFire,$PRE.con.transition7.enableFire,$PRE.con.transition10.enableFire,$PRE.con.transition1.enableFire,$PRE.con.transition2.enableFire,$PRE.con.transition8.enableFire,$PRE.con.transition6.enableFire,$PRE.con.transition4.enableFire,$PRE.con.timer.yAcc,con.timer.yAcc,$whenCondition8,$PRE.mWat_flow.tab.nextTimeEvent,$whenCondition3,$PRE.runSig.combiTimeTable.nextTimeEvent,$whenCondition2,$PRE.avaSig.combiTimeTable.nextTimeEvent,$whenCondition1,$PRE.PEle.tab.nextTimeEvent,stateGraphRoot.resume,stateGraphRoot.suspend,$whenCondition7,$whenCondition6,$whenCondition4,$whenCondition5,conWat.opeMod,conWat.offStaBy.y,stateGraphRoot.activeSteps,mWat_flow.tab.nextTimeEvent,$PRE.mWat_flow.tab.nextTimeEventScaled,mWat_flow.tab.nextTimeEventScaled,con.staBy.active,$PRE.con.staBy.localActive,con.staBy.localActive,con.staBy.outPort[2].available,$PRE.con.staBy.newActive,con.staBy.newActive,$PRE.con.staBy.oldActive,con.staBy.oldActive,con.pumOn.active,$PRE.con.pumOn.localActive,con.pumOn.localActive,con.pumOn.outPort[2].available,$PRE.con.pumOn.newActive,con.pumOn.newActive,$PRE.con.pumOn.oldActive,con.pumOn.oldActive,$PRE.con.warUp.localActive,con.warUp.localActive,con.warUp.inPort[2].occupied,con.warUp.outPort[2].available,$PRE.con.warUp.newActive,con.warUp.newActive,$PRE.con.warUp.oldActive,con.warUp.oldActive,con.warUp.active,$PRE.con.cooDow.localActive,con.cooDow.localActive,con.cooDow.inPort[2].occupied,con.cooDow.outPort[2].available,$PRE.con.cooDow.newActive,con.cooDow.newActive,$PRE.con.cooDow.oldActive,con.cooDow.oldActive,con.cooDow.active,$PRE.con.hys.y,con.hys.y,con.transition3.enableFire,con.transition5.enableFire,con.transition9.enableFire,con.transition7.localCondition,con.transition7.enableFire,con.transition10.localCondition,con.transition10.enableFire,con.assWatMas.nand.y,$PRE.con.assWatMas.hys.y,con.assWatMas.hys.y,con.transition1.localCondition,con.transition1.enableFire,con.transition2.localCondition,con.transition2.enableFire,con.nor.active,$PRE.con.nor.localActive,con.nor.localActive,$PRE.con.nor.newActive,con.nor.newActive,$PRE.con.nor.oldActive,con.nor.oldActive,con.transition8.enableFire,con.warUpCtr.y,$PRE.con.warUpCtr.hysTem.y,con.warUpCtr.hysTem.y,$PRE.con.warUpCtr.hysPow.y,con.warUpCtr.hysPow.y,$PRE.con.warUpCtr.pre.u,con.warUpCtr.pre.u,con.transition6.localCondition,con.transition6.enableFire,con.plaOff.active,$PRE.con.plaOff.localActive,con.plaOff.localActive,con.plaOff.inPort[2].occupied,con.plaOff.inPort[3].occupied,$PRE.con.plaOff.newActive,con.plaOff.newActive,$PRE.con.plaOff.oldActive,con.plaOff.oldActive,con.transition4.localCondition,con.transition4.enableFire,con.transition4.fire,$PRE.con.transition4.t_start,con.transition4.t_start,con.timeDel.y,$PRE.con.timer.entryTime,con.timer.entryTime,runSig.combiTimeTable.nextTimeEvent,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEventScaled,avaSig.combiTimeTable.nextTimeEvent,$PRE.avaSig.combiTimeTable.nextTimeEventScaled,avaSig.combiTimeTable.nextTimeEventScaled,PEle.tab.nextTimeEvent,$PRE.PEle.tab.nextTimeEventScaled,PEle.tab.nextTimeEventScaled,$PRE.con.timer.reset_internal,con.timer.reset_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (200): * Single equations (assignments): 200 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001481/0.3473, allocations: 0.5995 MB / 0.9395 GB, free: 23.72 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004742/0.3478, allocations: 189.5 kB / 0.9397 GB, free: 23.54 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002868/0.3507, allocations: 1.052 MB / 0.9407 GB, free: 22.47 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.046e-05/0.3508, allocations: 3.984 kB / 0.9407 GB, free: 22.47 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/0.3508, allocations: 0 / 0.9407 GB, free: 22.47 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009548/0.3518, allocations: 382.4 kB / 0.9411 GB, free: 22.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003675/0.3522, allocations: 31.94 kB / 0.9411 GB, free: 22.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000859/0.353, allocations: 63.95 kB / 0.9412 GB, free: 21.98 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005074/0.3535, allocations: 156.8 kB / 0.9413 GB, free: 21.83 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002723/0.3563, allocations: 1.001 MB / 0.9423 GB, free: 20.82 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002738/0.3591, allocations: 1.175 MB / 0.9434 GB, free: 19.62 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001065/0.3602, allocations: 455.7 kB / 0.9439 GB, free: 19.18 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.002615/0.3628, allocations: 1.274 MB / 0.9451 GB, free: 17.88 MB / 0.6042 GB Notification: Performance of Backend: time 7.72e-07/0.3629, allocations: 7.938 kB / 0.9451 GB, free: 17.88 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.004282/0.3672, allocations: 1.19 MB / 0.9463 GB, free: 16.84 MB / 0.6042 GB Notification: Performance of SimCode: time 0.008438/0.3756, allocations: 4.053 MB / 0.9502 GB, free: 12.73 MB / 0.6042 GB Notification: Performance of Templates: time 0.06754/0.4432, allocations: 17.33 MB / 0.9672 GB, free: 11.49 MB / 0.6198 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.WaterFlowControl.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.WaterFlowControl.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.WaterFlowControl.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.WaterFlowControl.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.WaterFlowControl.sim & ./Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.WaterFlowControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.WaterFlowControl.pipe 2>&1)