Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.CHPs.BaseClasses.Validation.WaterFlowControl.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.WaterFlowControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.CHPs.BaseClasses.Validation.WaterFlowControl") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.137/5.137, allocations: 0.5623 GB / 0.5775 GB, free: 3.328 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002591/0.002591, allocations: 352.8 kB / 0.6447 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.326/4.326, allocations: 410.7 MB / 1.113 GB, free: 5.996 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001846/0.001846, allocations: 186.9 kB / 1.226 GB, free: 6.148 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005033/0.0005038, allocations: 16 kB / 1.349 GB, free: 8.277 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7608/0.7613, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.WaterFlowControl): time 0.006558/0.7679, allocations: 4.601 MB / 1.466 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.006313/0.7743, allocations: 2.993 MB / 1.469 GB, free: 276.7 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009926/0.7753, allocations: 29.59 kB / 1.469 GB, free: 276.7 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.001796/0.7771, allocations: 0.579 MB / 1.469 GB, free: 276.1 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.001655/0.7788, allocations: 390.1 kB / 1.47 GB, free: 275.8 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.00283/0.7817, allocations: 0.7258 MB / 1.47 GB, free: 275 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.002969/0.7847, allocations: 1.943 MB / 1.472 GB, free: 273.1 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001886/0.7866, allocations: 1.095 MB / 1.473 GB, free: 272 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008701/0.7875, allocations: 0.5832 MB / 1.474 GB, free: 271.5 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007978/0.7883, allocations: 0.6568 MB / 1.475 GB, free: 270.8 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0002187/0.7885, allocations: 60 kB / 1.475 GB, free: 270.7 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004876/0.789, allocations: 147.8 kB / 1.475 GB, free: 270.6 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0004445/0.7895, allocations: 0.5022 MB / 1.475 GB, free: 270.1 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0003824/0.7899, allocations: 369.4 kB / 1.476 GB, free: 269.7 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.002485/0.7924, allocations: 2.133 MB / 1.478 GB, free: 267.6 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/0.7924, allocations: 0 / 1.478 GB, free: 267.6 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.064e-06/0.7924, allocations: 0 / 1.478 GB, free: 267.6 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 6.568e-05/0.7925, allocations: 1.156 kB / 1.478 GB, free: 267.6 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 326 * Number of variables: 326 Notification: Performance of Generate backend data structure: time 0.004848/0.7974, allocations: 2.151 MB / 1.48 GB, free: 265.4 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.627e-05/0.7974, allocations: 11.62 kB / 1.48 GB, free: 265.4 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005566/0.798, allocations: 257.4 kB / 1.48 GB, free: 265.1 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003242/0.8013, allocations: 1.407 MB / 1.481 GB, free: 263.6 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001759/0.8015, allocations: 154.7 kB / 1.482 GB, free: 263.5 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002748/0.8018, allocations: 140 kB / 1.482 GB, free: 263.4 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003561/0.8053, allocations: 1.471 MB / 1.483 GB, free: 261.8 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.139e-05/0.8054, allocations: 8.844 kB / 1.483 GB, free: 261.8 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00017/0.8056, allocations: 54.48 kB / 1.483 GB, free: 261.7 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.267e-05/0.8057, allocations: 39.95 kB / 1.483 GB, free: 261.7 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003065/0.8087, allocations: 0.9989 MB / 1.484 GB, free: 260.7 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01037/0.8192, allocations: 6.267 MB / 1.49 GB, free: 254.3 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002267/0.8215, allocations: 0.7937 MB / 1.491 GB, free: 253.5 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00106/0.8226, allocations: 400.8 kB / 1.492 GB, free: 253.1 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003258/0.8229, allocations: 115.5 kB / 1.492 GB, free: 253 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00137/0.8243, allocations: 0.5156 MB / 1.492 GB, free: 252.4 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=102): time 5.29e-06/0.8244, allocations: 0 / 1.492 GB, free: 252.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=102): time 0.003625/0.828, allocations: 1.222 MB / 1.493 GB, free: 251.2 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.45e-05/0.8281, allocations: 123.5 kB / 1.493 GB, free: 251.1 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003808/0.8319, allocations: 2.016 MB / 1.495 GB, free: 249 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0003346/0.8323, allocations: 81.69 kB / 1.495 GB, free: 248.9 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.001239/0.8336, allocations: 0.9295 MB / 1.496 GB, free: 248 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004478/0.8341, allocations: 268.7 kB / 1.497 GB, free: 247.7 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001289/0.8342, allocations: 28 kB / 1.497 GB, free: 247.7 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001258/0.8343, allocations: 369.9 kB / 1.497 GB, free: 247.3 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001269/0.8356, allocations: 425.2 kB / 1.497 GB, free: 246.9 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001481/0.8371, allocations: 0.843 MB / 1.498 GB, free: 245.9 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001303/0.8385, allocations: 433.2 kB / 1.499 GB, free: 245.5 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.203e-05/0.8385, allocations: 5.188 kB / 1.499 GB, free: 245.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.003674/0.8422, allocations: 1.401 MB / 1.5 GB, free: 244.1 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.259e-05/0.8423, allocations: 15.44 kB / 1.5 GB, free: 244.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.05e-05/0.8423, allocations: 8 kB / 1.5 GB, free: 244.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.867e-05/0.8423, allocations: 20 kB / 1.5 GB, free: 244.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001201/0.8436, allocations: 207.5 kB / 1.5 GB, free: 243.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.187e-05/0.8436, allocations: 19.94 kB / 1.5 GB, free: 243.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001373/0.845, allocations: 161.7 kB / 1.5 GB, free: 243.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001703/0.8452, allocations: 71.98 kB / 1.501 GB, free: 243.6 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 124 ($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,$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,$whenCondition4,$whenCondition5,$whenCondition6,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,$PRE.con.timer.passed,con.timer.passed,$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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (197): * Single equations (assignments): 197 * 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.001255/0.8465, allocations: 0.6051 MB / 1.501 GB, free: 243 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003731/0.8468, allocations: 189.6 kB / 1.501 GB, free: 242.8 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002724/0.8496, allocations: 1.047 MB / 1.502 GB, free: 241.8 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.961e-05/0.8496, allocations: 11.91 kB / 1.502 GB, free: 241.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.54e-06/0.8497, allocations: 4 kB / 1.502 GB, free: 241.7 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001004/0.8507, allocations: 378.4 kB / 1.503 GB, free: 241.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004024/0.8511, allocations: 31.98 kB / 1.503 GB, free: 241.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008324/0.8519, allocations: 58.88 kB / 1.503 GB, free: 241.3 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004681/0.8524, allocations: 164.7 kB / 1.503 GB, free: 241.1 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003727/0.8562, allocations: 0.9912 MB / 1.504 GB, free: 240.1 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.004189/0.8604, allocations: 1.193 MB / 1.505 GB, free: 238.9 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001796/0.8623, allocations: 455.8 kB / 1.506 GB, free: 238.5 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.004152/0.8665, allocations: 1.283 MB / 1.507 GB, free: 237.2 MB / 0.8542 GB Notification: Performance of Backend: time 1.853e-06/0.8666, allocations: 0 / 1.507 GB, free: 237.2 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.006812/0.8734, allocations: 1.184 MB / 1.508 GB, free: 236.2 MB / 0.8542 GB Notification: Performance of SimCode: time 0.01165/0.8851, allocations: 4.062 MB / 1.512 GB, free: 232.1 MB / 0.8542 GB Notification: Performance of Templates: time 0.0735/0.9587, allocations: 17.44 MB / 1.529 GB, free: 215 MB / 0.8542 GB