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.035/5.035, allocations: 0.5623 GB / 0.5775 GB, free: 3.363 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.00247/0.002469, allocations: 355.3 kB / 0.6446 GB, free: 185.7 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.085/4.085, allocations: 410.7 MB / 1.113 GB, free: 147.8 MB / 0.5886 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001784/0.001784, allocations: 182.6 kB / 1.226 GB, free: 35.91 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0007017/0.0007018, allocations: 12 kB / 1.349 GB, free: 121.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.222/0.2227, allocations: 115.3 MB / 1.461 GB, free: 6.602 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9871/1.21, allocations: 150.9 MB / 1.609 GB, free: 7.004 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000369/1.21, allocations: 102.2 kB / 1.609 GB, free: 6.949 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1412/1.352, allocations: 33.79 MB / 1.642 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.855e-06/1.352, allocations: 0 / 1.642 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001943/1.352, allocations: 36 kB / 1.642 GB, free: 10.36 MB / 0.7136 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.005412/1.357, allocations: 1.791 MB / 1.644 GB, free: 8.617 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.814e-05/1.357, allocations: 8.031 kB / 1.644 GB, free: 8.609 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008527/1.358, allocations: 201.6 kB / 1.644 GB, free: 8.41 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003511/1.362, allocations: 1.026 MB / 1.645 GB, free: 7.547 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002746/1.362, allocations: 140.9 kB / 1.645 GB, free: 7.449 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004605/1.363, allocations: 133.5 kB / 1.645 GB, free: 7.359 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004012/1.367, allocations: 1.386 MB / 1.646 GB, free: 6.262 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.837e-05/1.367, allocations: 3.938 kB / 1.646 GB, free: 6.258 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001755/1.367, allocations: 62.8 kB / 1.646 GB, free: 6.234 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.974e-05/1.367, allocations: 31.94 kB / 1.646 GB, free: 6.203 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003159/1.37, allocations: 0.9475 MB / 1.647 GB, free: 5.582 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01076/1.381, allocations: 5.608 MB / 1.653 GB, free: 0.8438 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00239/1.383, allocations: 0.746 MB / 1.654 GB, free: 376 kB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001071/1.384, allocations: 390.2 kB / 1.654 GB, free: 132 kB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 8.121e-05/1.385, allocations: 17.7 kB / 1.654 GB, free: 120 kB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001496/1.386, allocations: 0.5075 MB / 1.654 GB, free: 15.75 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=97): time 3.977e-06/1.386, allocations: 0 / 1.654 GB, free: 15.75 MB / 0.7292 GB Notification: Performance of matching and sorting (n=97): time 0.003644/1.39, allocations: 1.144 MB / 1.656 GB, free: 14.91 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001034/1.39, allocations: 122.6 kB / 1.656 GB, free: 14.77 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003729/1.394, allocations: 1.512 MB / 1.657 GB, free: 13.63 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0003433/1.394, allocations: 78.45 kB / 1.657 GB, free: 13.58 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.001055/1.395, allocations: 0.7299 MB / 1.658 GB, free: 13.15 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004804/1.396, allocations: 243.8 kB / 1.658 GB, free: 12.95 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000115/1.396, allocations: 26.19 kB / 1.658 GB, free: 12.95 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001803/1.396, allocations: 358 kB / 1.659 GB, free: 12.62 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001308/1.397, allocations: 391.5 kB / 1.659 GB, free: 12.38 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001674/1.399, allocations: 0.7497 MB / 1.66 GB, free: 11.64 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001339/1.4, allocations: 393.3 kB / 1.66 GB, free: 11.41 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.389e-05/1.4, allocations: 8 kB / 1.66 GB, free: 11.4 MB / 0.7292 GB Notification: Performance of matching and sorting (n=177) (initialization): time 0.003914/1.404, allocations: 1.246 MB / 1.661 GB, free: 10.46 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.652e-05/1.404, allocations: 8.188 kB / 1.661 GB, free: 10.46 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.663e-05/1.404, allocations: 12 kB / 1.661 GB, free: 10.45 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.462e-05/1.405, allocations: 20.06 kB / 1.661 GB, free: 10.43 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001209/1.406, allocations: 174 kB / 1.661 GB, free: 10.27 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.425e-05/1.406, allocations: 27.91 kB / 1.662 GB, free: 10.24 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001302/1.407, allocations: 123.6 kB / 1.662 GB, free: 10.14 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002303/1.407, allocations: 62.61 kB / 1.662 GB, free: 10.09 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * 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.runSig,con.opeMod,$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.y,con.transition3.enableFire,con.transition5.enableFire,con.transition9.enableFire,con.transition7.enableFire,con.and3.y,con.transition10.enableFire,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.timer.passed,con.warUpCtr.timer.passed,$PRE.con.warUpCtr.timer.entryTime,con.warUpCtr.timer.entryTime,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.passed,con.timer.passed,$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,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 (177): * Single equations (assignments): 177 * 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.001551/1.409, allocations: 0.4944 MB / 1.662 GB, free: 9.727 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004685/1.409, allocations: 142.2 kB / 1.662 GB, free: 9.586 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003267/1.413, allocations: 1.002 MB / 1.663 GB, free: 8.883 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.309e-05/1.413, allocations: 8 kB / 1.663 GB, free: 8.875 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.927e-06/1.413, allocations: 0 / 1.663 GB, free: 8.875 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.964e-05/1.413, allocations: 11.97 kB / 1.663 GB, free: 8.863 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007333/1.42, allocations: 2.485 MB / 1.666 GB, free: 7.027 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.018e-05/1.42, allocations: 0 / 1.666 GB, free: 7.027 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005981/1.421, allocations: 70.64 kB / 1.666 GB, free: 6.965 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-05/1.421, allocations: 8 kB / 1.666 GB, free: 6.957 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001148/1.421, allocations: 23.73 kB / 1.666 GB, free: 6.945 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.846e-06/1.421, allocations: 4 kB / 1.666 GB, free: 6.941 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/1.421, allocations: 4 kB / 1.666 GB, free: 6.938 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003163/1.424, allocations: 1.031 MB / 1.667 GB, free: 6.129 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007788/1.425, allocations: 247.9 kB / 1.667 GB, free: 5.883 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004011/1.426, allocations: 37.8 kB / 1.667 GB, free: 5.867 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007772/1.426, allocations: 47.78 kB / 1.667 GB, free: 5.832 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004908/1.427, allocations: 144.7 kB / 1.667 GB, free: 5.719 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001327/1.427, allocations: 45.66 kB / 1.667 GB, free: 5.684 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.002415/1.429, allocations: 0.9371 MB / 1.668 GB, free: 4.992 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6.71e-07/1.429, allocations: 0 / 1.668 GB, free: 4.992 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001894/1.431, allocations: 295.1 kB / 1.669 GB, free: 4.742 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 88 (con.transition4.enableFire,con.plaOff.active,con.nor.active,con.cooDow.active,con.cooDow.localActive,con.warUp.active,con.warUp.localActive,con.pumOn.localActive,con.staBy.localActive,$cse3,$cse4,$cse5,$cse6,$cse7,$cse8,$cse9,$cse10,$cse11,$cse12,$cse13,$whenCondition10,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition1,mWat_flow.tab.nextTimeEvent,mWat_flow.tab.nextTimeEventScaled,con.runSig,con.opeMod,con.staBy.outPort[2].available,con.staBy.newActive,con.staBy.oldActive,con.staBy.active,con.pumOn.outPort[2].available,con.pumOn.newActive,con.pumOn.oldActive,con.pumOn.active,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.y,con.transition3.enableFire,con.transition5.enableFire,con.transition9.enableFire,con.transition7.enableFire,con.and3.y,con.transition10.enableFire,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.timer.passed,con.warUpCtr.timer.entryTime,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.passed,con.timer.entryTime,runSig.combiTimeTable.nextTimeEvent,runSig.combiTimeTable.nextTimeEventScaled,avaSig.y,avaSig.combiTimeTable.nextTimeEvent,avaSig.combiTimeTable.nextTimeEventScaled,powCon.staBy.y,powCon.cooDow.y,stateGraphRoot.activeSteps) * Number of discrete states: 16 (avaSig.combiTimeTable.nextTimeEvent,runSig.combiTimeTable.nextTimeEvent,mWat_flow.tab.nextTimeEvent,con.staBy.newActive,con.pumOn.newActive,con.warUp.newActive,con.warUpCtr.timer.entryTime,con.cooDow.newActive,con.timer.entryTime,con.nor.newActive,con.plaOff.newActive,avaSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEventScaled,mWat_flow.tab.nextTimeEventScaled,con.assWatMas.hys.y,con.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (111): * Single equations (assignments): 94 * 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.001768/1.433, allocations: 0.562 MB / 1.669 GB, free: 4.359 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.003106/1.436, allocations: 0.9969 MB / 1.67 GB, free: 3.648 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 7.904e-06/1.436, allocations: 0 / 1.67 GB, free: 3.648 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001449/1.438, allocations: 474.2 kB / 1.671 GB, free: 3.324 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00201/1.44, allocations: 230.7 kB / 1.671 GB, free: 3.18 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007327/1.447, allocations: 2.969 MB / 1.674 GB, free: 0.4922 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001508/1.449, allocations: 1.328 MB / 1.675 GB, free: 15.17 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.00139/1.45, allocations: 218.3 kB / 1.675 GB, free: 14.96 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006578/1.451, allocations: 115 kB / 1.675 GB, free: 14.85 MB / 0.7448 GB Notification: Performance of SimCode: time 1.453e-06/1.451, allocations: 0 / 1.675 GB, free: 14.85 MB / 0.7448 GB Notification: Performance of Templates: time 0.04995/1.501, allocations: 14.67 MB / 1.69 GB, free: 304 kB / 0.7448 GB