Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.CHPs.BaseClasses.Validation.PowerConsumption.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.PowerConsumption,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.CHPs.BaseClasses.Validation.PowerConsumption") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.101/5.101, allocations: 0.5623 GB / 0.5776 GB, free: 3.355 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.003941/0.00394, allocations: 359.9 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.307/4.307, allocations: 410.7 MB / 1.113 GB, free: 5.922 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.001813/0.001813, allocations: 190.3 kB / 1.226 GB, free: 6.148 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005113/0.0005115, allocations: 12 kB / 1.349 GB, free: 8.289 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7949/0.7955, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.PowerConsumption): time 0.006309/0.8018, allocations: 4.115 MB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.006356/0.8082, allocations: 2.837 MB / 1.468 GB, free: 277.3 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00128/0.8096, allocations: 23.88 kB / 1.468 GB, free: 277.3 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.002129/0.8118, allocations: 0.52 MB / 1.469 GB, free: 276.8 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.001724/0.8135, allocations: 318.5 kB / 1.469 GB, free: 276.5 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.00296/0.8165, allocations: 0.6496 MB / 1.47 GB, free: 275.8 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.003143/0.8196, allocations: 1.738 MB / 1.471 GB, free: 274.1 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002025/0.8217, allocations: 0.941 MB / 1.472 GB, free: 273.2 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009572/0.8227, allocations: 0.4951 MB / 1.473 GB, free: 272.7 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000805/0.8236, allocations: 0.5441 MB / 1.473 GB, free: 272.2 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0002498/0.8238, allocations: 52 kB / 1.473 GB, free: 272.1 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004825/0.8243, allocations: 132.4 kB / 1.473 GB, free: 272 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0003744/0.8247, allocations: 388.8 kB / 1.474 GB, free: 271.6 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0004005/0.8252, allocations: 301.4 kB / 1.474 GB, free: 271.3 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.002198/0.8274, allocations: 1.72 MB / 1.476 GB, free: 269.6 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.8274, allocations: 0 / 1.476 GB, free: 269.6 MB / 0.8542 GB Notification: Performance of FrontEnd: time 3.236e-06/0.8274, allocations: 0 / 1.476 GB, free: 269.6 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.507e-05/0.8275, allocations: 4 kB / 1.476 GB, free: 269.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: 300 * Number of variables: 300 Notification: Performance of Generate backend data structure: time 0.003994/0.8315, allocations: 1.735 MB / 1.477 GB, free: 267.8 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.141e-05/0.8316, allocations: 11.62 kB / 1.477 GB, free: 267.8 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000567/0.8321, allocations: 205.5 kB / 1.478 GB, free: 267.6 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002507/0.8347, allocations: 1.036 MB / 1.479 GB, free: 266.5 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001835/0.8349, allocations: 145 kB / 1.479 GB, free: 266.3 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002616/0.8352, allocations: 133 kB / 1.479 GB, free: 266.2 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003336/0.8385, allocations: 1.39 MB / 1.48 GB, free: 264.7 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.622e-05/0.8386, allocations: 0 / 1.48 GB, free: 264.7 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001643/0.8388, allocations: 56.73 kB / 1.48 GB, free: 264.6 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.038e-05/0.8388, allocations: 31.95 kB / 1.48 GB, free: 264.6 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002573/0.8414, allocations: 0.9409 MB / 1.481 GB, free: 263.6 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00839/0.8498, allocations: 5.635 MB / 1.487 GB, free: 257.9 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001981/0.8519, allocations: 0.7427 MB / 1.488 GB, free: 257.1 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008834/0.8528, allocations: 369.7 kB / 1.488 GB, free: 256.8 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 8.29e-05/0.8529, allocations: 18.16 kB / 1.488 GB, free: 256.8 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001293/0.8542, allocations: 0.4993 MB / 1.488 GB, free: 256.3 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=97): time 4.609e-06/0.8542, allocations: 0 / 1.488 GB, free: 256.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=97): time 0.003075/0.8573, allocations: 1.121 MB / 1.489 GB, free: 255.1 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.418e-05/0.8574, allocations: 119.8 kB / 1.49 GB, free: 255 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002436/0.8598, allocations: 1.448 MB / 1.491 GB, free: 253.5 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0002667/0.8602, allocations: 81.69 kB / 1.491 GB, free: 253.4 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007275/0.8609, allocations: 0.7317 MB / 1.492 GB, free: 252.7 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003754/0.8613, allocations: 240.9 kB / 1.492 GB, free: 252.5 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.643e-05/0.8614, allocations: 32 kB / 1.492 GB, free: 252.4 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001079/0.8615, allocations: 361.9 kB / 1.492 GB, free: 252.1 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001057/0.8626, allocations: 375.6 kB / 1.493 GB, free: 251.7 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001264/0.8639, allocations: 0.7449 MB / 1.493 GB, free: 250.8 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001053/0.8649, allocations: 387.7 kB / 1.494 GB, free: 250.4 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.105e-05/0.865, allocations: 5.156 kB / 1.494 GB, free: 250.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=179) (initialization): time 0.003177/0.8682, allocations: 1.221 MB / 1.495 GB, free: 249.2 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.495e-05/0.8682, allocations: 12 kB / 1.495 GB, free: 249.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.032e-05/0.8683, allocations: 17.44 kB / 1.495 GB, free: 249.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.01e-05/0.8683, allocations: 20 kB / 1.495 GB, free: 249.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001049/0.8694, allocations: 171.5 kB / 1.495 GB, free: 249 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.541e-05/0.8694, allocations: 27.92 kB / 1.495 GB, free: 249 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00118/0.8706, allocations: 149.4 kB / 1.495 GB, free: 248.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001591/0.8708, allocations: 64.5 kB / 1.495 GB, free: 248.8 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 120 ($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,$whenCondition10,$PRE.avaSig.combiTimeTable.nextTimeEvent,$whenCondition9,$PRE.runSig.combiTimeTable.nextTimeEvent,$whenCondition1,$PRE.mWat_flow.tab.nextTimeEvent,stateGraphRoot.resume,stateGraphRoot.suspend,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition2,$whenCondition3,$whenCondition4,mWat_flow.tab.nextTimeEvent,$PRE.mWat_flow.tab.nextTimeEventScaled,mWat_flow.tab.nextTimeEventScaled,con.avaSig,con.runSig,con.opeMod,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.enableFire,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,$PRE.con.warUpCtr.timer.passed,con.warUpCtr.timer.passed,$PRE.con.warUpCtr.timer.entryTime,con.warUpCtr.timer.entryTime,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,powCon.staBy.y,powCon.cooDow.y,stateGraphRoot.activeSteps) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (179): * Single equations (assignments): 179 * 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.001102/0.8719, allocations: 0.5125 MB / 1.496 GB, free: 248.3 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003348/0.8723, allocations: 148 kB / 1.496 GB, free: 248.1 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002472/0.8748, allocations: 0.9602 MB / 1.497 GB, free: 247.1 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.74e-05/0.8748, allocations: 7.969 kB / 1.497 GB, free: 247.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.64e-06/0.8748, allocations: 0 / 1.497 GB, free: 247.1 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004189/0.8753, allocations: 239.6 kB / 1.497 GB, free: 246.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002663/0.8755, allocations: 33.2 kB / 1.497 GB, free: 246.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000656/0.8762, allocations: 49.59 kB / 1.497 GB, free: 246.8 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004138/0.8766, allocations: 148.7 kB / 1.498 GB, free: 246.7 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002426/0.8791, allocations: 0.9596 MB / 1.498 GB, free: 245.7 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002317/0.8814, allocations: 1.105 MB / 1.5 GB, free: 244.6 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009358/0.8824, allocations: 439.8 kB / 1.5 GB, free: 244.1 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001633/0.8841, allocations: 0.894 MB / 1.501 GB, free: 243.3 MB / 0.8542 GB Notification: Performance of Backend: time 7.21e-07/0.8841, allocations: 0 / 1.501 GB, free: 243.3 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.003727/0.8878, allocations: 1.106 MB / 1.502 GB, free: 242.4 MB / 0.8542 GB Notification: Performance of SimCode: time 0.006033/0.8939, allocations: 3.25 MB / 1.505 GB, free: 239.1 MB / 0.8542 GB Notification: Performance of Templates: time 0.04128/0.9352, allocations: 13.94 MB / 1.519 GB, free: 225.5 MB / 0.8542 GB