Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_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 7.0.1 (/var/lib/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") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.571/2.571, allocations: 253.2 MB / 260.6 MB, free: 7.453 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001389/0.001389, allocations: 186.3 kB / 319.9 MB, free: 3.086 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.103/2.103, allocations: 205.6 MB / 0.5708 GB, free: 15.28 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001138/0.001137, allocations: 82.7 kB / 0.6751 GB, free: 4.641 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.894e-05/3.911e-05, allocations: 7.984 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2341/0.2342, allocations: 106.3 MB / 0.8887 GB, free: 11.85 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9951/1.229, allocations: 145.6 MB / 1.031 GB, free: 7.922 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003559/1.23, allocations: 98.42 kB / 1.031 GB, free: 7.867 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.1799/1.41, allocations: 40.07 MB / 1.07 GB, free: 6.652 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.345e-06/1.41, allocations: 0 / 1.07 GB, free: 6.652 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0003077/1.41, allocations: 47.94 kB / 1.07 GB, free: 6.605 MB / 0.6823 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.005997/1.416, allocations: 1.869 MB / 1.072 GB, free: 4.809 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.388e-05/1.416, allocations: 12.03 kB / 1.072 GB, free: 4.797 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001112/1.417, allocations: 256.9 kB / 1.072 GB, free: 4.543 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004453/1.422, allocations: 1.29 MB / 1.074 GB, free: 3.477 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000221/1.422, allocations: 107.6 kB / 1.074 GB, free: 3.371 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003464/1.422, allocations: 87.98 kB / 1.074 GB, free: 3.285 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002868/1.425, allocations: 0.892 MB / 1.075 GB, free: 2.754 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003315/1.429, allocations: 1.28 MB / 1.076 GB, free: 1.699 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.531e-05/1.429, allocations: 3.938 kB / 1.076 GB, free: 1.695 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001578/1.429, allocations: 4 kB / 1.076 GB, free: 1.691 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.495e-05/1.429, allocations: 32 kB / 1.076 GB, free: 1.66 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01189/1.441, allocations: 5.779 MB / 1.081 GB, free: 12.83 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002026/1.443, allocations: 0.742 MB / 1.082 GB, free: 12.36 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008612/1.444, allocations: 355.8 kB / 1.083 GB, free: 12.16 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000368/1.444, allocations: 117.2 kB / 1.083 GB, free: 12.03 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001266/1.446, allocations: 495.4 kB / 1.083 GB, free: 11.68 MB / 0.698 GB Notification: Performance of pre-optimization done (n=103): time 5.5e-06/1.446, allocations: 0 / 1.083 GB, free: 11.68 MB / 0.698 GB Notification: Performance of matching and sorting (n=103): time 0.002667/1.448, allocations: 0.8497 MB / 1.084 GB, free: 11 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001162/1.448, allocations: 127.3 kB / 1.084 GB, free: 10.86 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004484/1.453, allocations: 1.769 MB / 1.086 GB, free: 9.523 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003891/1.453, allocations: 59.38 kB / 1.086 GB, free: 9.473 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001275/1.455, allocations: 0.9284 MB / 1.087 GB, free: 8.977 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005389/1.455, allocations: 243 kB / 1.087 GB, free: 8.777 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001263/1.455, allocations: 3.938 kB / 1.087 GB, free: 8.773 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002124/1.456, allocations: 370.6 kB / 1.087 GB, free: 8.43 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001177/1.457, allocations: 412.9 kB / 1.088 GB, free: 8.195 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001497/1.458, allocations: 0.7884 MB / 1.089 GB, free: 7.438 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001286/1.46, allocations: 439.4 kB / 1.089 GB, free: 7.141 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.148e-05/1.46, allocations: 0 / 1.089 GB, free: 7.141 MB / 0.698 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.003883/1.463, allocations: 1.299 MB / 1.09 GB, free: 6.121 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.028e-05/1.464, allocations: 13.41 kB / 1.09 GB, free: 6.109 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.82e-05/1.464, allocations: 8 kB / 1.09 GB, free: 6.102 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.822e-05/1.464, allocations: 23.95 kB / 1.09 GB, free: 6.078 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001452/1.465, allocations: 202.3 kB / 1.09 GB, free: 5.891 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.209e-05/1.465, allocations: 27.86 kB / 1.09 GB, free: 5.863 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001599/1.467, allocations: 107.7 kB / 1.091 GB, free: 5.758 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002368/1.467, allocations: 78.16 kB / 1.091 GB, free: 5.695 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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.PEle.tab.nextTimeEvent,$whenCondition7,$PRE.avaSig.combiTimeTable.nextTimeEvent,$whenCondition6,$PRE.runSig.combiTimeTable.nextTimeEvent,$whenCondition1,$PRE.mWat_flow.tab.nextTimeEvent,stateGraphRoot.resume,stateGraphRoot.suspend,$whenCondition5,$whenCondition3,$whenCondition4,$whenCondition2,conWat.opeMod,conWat.offStaBy.y,stateGraphRoot.activeSteps,mWat_flow.tab.nextTimeEvent,$PRE.mWat_flow.tab.nextTimeEventScaled,mWat_flow.tab.nextTimeEventScaled,con.runSig,$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.staBy.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,con.pumOn.active,$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.and1.u2,con.and1.y,con.transition3.enableFire,con.transition5.enableFire,con.transition9.enableFire,con.transition7.enableFire,con.and3.y,con.transition10.enableFire,con.and4.u1,con.and4.u2,con.and4.y,con.assWatMas.assMes.u,$PRE.con.assWatMas.hys.y,con.assWatMas.hys.y,con.transition1.enableFire,con.transition2.enableFire,$PRE.con.nor.localActive,con.nor.localActive,$PRE.con.nor.newActive,con.nor.newActive,$PRE.con.nor.oldActive,con.nor.oldActive,con.nor.active,con.transition8.enableFire,$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.enableFire,$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.plaOff.active,con.transition4.enableFire,con.transition4.fire,$PRE.con.transition4.t_start,con.transition4.t_start,$PRE.con.timer.entryTime,con.timer.entryTime,runSig.combiTimeTable.nextTimeEvent,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEventScaled,avaSig.y,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 () * 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.0005038/1.468, allocations: 207.3 kB / 1.091 GB, free: 5.492 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005856/1.468, allocations: 197.5 kB / 1.091 GB, free: 5.297 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003147/1.471, allocations: 1.002 MB / 1.092 GB, free: 4.562 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.413e-05/1.471, allocations: 19.97 kB / 1.092 GB, free: 4.543 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.078e-05/1.471, allocations: 3.953 kB / 1.092 GB, free: 4.539 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.575e-05/1.471, allocations: 3.984 kB / 1.092 GB, free: 4.535 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00721/1.479, allocations: 2.505 MB / 1.095 GB, free: 2.359 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.11e-05/1.479, allocations: 4 kB / 1.095 GB, free: 2.355 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006618/1.479, allocations: 83.77 kB / 1.095 GB, free: 2.273 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.752e-05/1.479, allocations: 4 kB / 1.095 GB, free: 2.27 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.702e-05/1.48, allocations: 15.97 kB / 1.095 GB, free: 2.254 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.659e-06/1.48, allocations: 4 kB / 1.095 GB, free: 2.25 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/1.48, allocations: 0 / 1.095 GB, free: 2.25 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002932/1.483, allocations: 1.047 MB / 1.096 GB, free: 1.18 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001119/1.484, allocations: 402.3 kB / 1.096 GB, free: 0.7656 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003758/1.484, allocations: 20 kB / 1.096 GB, free: 0.7461 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009883/1.485, allocations: 59.88 kB / 1.096 GB, free: 0.6875 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005741/1.486, allocations: 157.1 kB / 1.096 GB, free: 0.5312 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001402/1.486, allocations: 43.97 kB / 1.096 GB, free: 500 kB / 0.698 GB Notification: Performance of sorting global known variables: time 0.003151/1.489, allocations: 1.207 MB / 1.097 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.342e-06/1.489, allocations: 0 / 1.097 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002125/1.491, allocations: 295.6 kB / 1.098 GB, free: 14.96 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 90 (con.transition4.enableFire,con.plaOff.active,con.nor.active,con.cooDow.active,con.cooDow.localActive,con.warUp.active,con.pumOn.active,con.staBy.active,$cse4,$cse5,$cse6,$cse7,$cse8,$cse9,$cse10,$cse11,$cse12,$cse13,$cse14,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition3,$whenCondition4,$whenCondition2,$whenCondition1,conWat.opeMod,conWat.offStaBy.y,stateGraphRoot.activeSteps,mWat_flow.tab.nextTimeEvent,mWat_flow.tab.nextTimeEventScaled,con.runSig,con.staBy.localActive,con.staBy.outPort[2].available,con.staBy.newActive,con.staBy.oldActive,con.pumOn.localActive,con.pumOn.outPort[2].available,con.pumOn.newActive,con.pumOn.oldActive,con.warUp.localActive,con.warUp.inPort[2].occupied,con.warUp.outPort[2].available,con.warUp.newActive,con.warUp.oldActive,con.cooDow.inPort[2].occupied,con.cooDow.outPort[2].available,con.cooDow.newActive,con.cooDow.oldActive,con.hys.y,con.and1.u2,con.and1.y,con.transition3.enableFire,con.transition5.enableFire,con.transition9.enableFire,con.transition7.enableFire,con.and3.y,con.transition10.enableFire,con.and4.u1,con.and4.u2,con.and4.y,con.assWatMas.assMes.u,con.assWatMas.hys.y,con.transition1.enableFire,con.transition2.enableFire,con.nor.localActive,con.nor.newActive,con.nor.oldActive,con.transition8.enableFire,con.warUpCtr.hysTem.y,con.warUpCtr.hysPow.y,con.warUpCtr.pre.u,con.transition6.enableFire,con.plaOff.localActive,con.plaOff.inPort[2].occupied,con.plaOff.inPort[3].occupied,con.plaOff.newActive,con.plaOff.oldActive,con.transition4.fire,con.transition4.t_start,con.timer.entryTime,con.timer.yAcc,runSig.combiTimeTable.nextTimeEvent,runSig.combiTimeTable.nextTimeEventScaled,avaSig.y,avaSig.combiTimeTable.nextTimeEvent,avaSig.combiTimeTable.nextTimeEventScaled,PEle.tab.nextTimeEvent,PEle.tab.nextTimeEventScaled) * Number of discrete states: 20 (PEle.tab.nextTimeEvent,avaSig.combiTimeTable.nextTimeEvent,runSig.combiTimeTable.nextTimeEvent,mWat_flow.tab.nextTimeEvent,con.staBy.newActive,con.pumOn.newActive,con.warUp.newActive,con.cooDow.newActive,con.nor.newActive,con.warUpCtr.pre.u,con.plaOff.newActive,con.warUpCtr.hysTem.y,PEle.tab.nextTimeEventScaled,con.warUpCtr.hysPow.y,avaSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEventScaled,con.timer.y,mWat_flow.tab.nextTimeEventScaled,con.assWatMas.hys.y,con.hys.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (118): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 17 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001624/1.493, allocations: 0.4887 MB / 1.098 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.00282/1.496, allocations: 1.008 MB / 1.099 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/1.496, allocations: 0 / 1.099 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001164/1.497, allocations: 460.9 kB / 1.1 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002066/1.499, allocations: 263.9 kB / 1.1 GB, free: 12.86 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006916/1.506, allocations: 2.421 MB / 1.102 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001854/1.508, allocations: 1.521 MB / 1.104 GB, free: 8.852 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001954/1.51, allocations: 297.7 kB / 1.104 GB, free: 8.555 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007862/1.511, allocations: 143.4 kB / 1.104 GB, free: 8.414 MB / 0.7136 GB Notification: Performance of SimCode: time 1.343e-06/1.511, allocations: 0 / 1.104 GB, free: 8.414 MB / 0.7136 GB Notification: Performance of Templates: time 0.07877/1.59, allocations: 15.93 MB / 1.12 GB, free: 8.582 MB / 0.7292 GB