Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_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 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.PowerConsumption,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.PowerConsumption") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.197/2.197, allocations: 252.6 MB / 265.2 MB, free: 5.734 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.001462/0.001462, allocations: 171.9 kB / 324.5 MB, free: 14.41 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.147/2.147, allocations: 205.4 MB / 0.5754 GB, free: 10.47 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.001166/0.001166, allocations: 97.88 kB / 0.6797 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.2e-05/3.209e-05, allocations: 4 kB / 0.7911 GB, free: 96.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.223/0.2231, allocations: 106.2 MB / 0.8949 GB, free: 6.273 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9275/1.151, allocations: 144.6 MB / 1.036 GB, free: 6.062 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003387/1.151, allocations: 98.69 kB / 1.036 GB, free: 6.008 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.165/1.316, allocations: 33.75 MB / 1.069 GB, free: 9.484 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.164e-06/1.316, allocations: 0 / 1.069 GB, free: 9.484 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0002181/1.316, allocations: 44.16 kB / 1.069 GB, free: 9.441 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: 306 * Number of variables: 306 Notification: Performance of Generate backend data structure: time 0.004489/1.321, allocations: 1.544 MB / 1.071 GB, free: 7.93 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.655e-05/1.321, allocations: 12.03 kB / 1.071 GB, free: 7.918 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008374/1.322, allocations: 205.4 kB / 1.071 GB, free: 7.719 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003312/1.325, allocations: 1.012 MB / 1.072 GB, free: 6.867 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002265/1.325, allocations: 136.5 kB / 1.072 GB, free: 6.77 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003722/1.326, allocations: 139.9 kB / 1.072 GB, free: 6.676 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003976/1.33, allocations: 1.362 MB / 1.074 GB, free: 5.605 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.702e-05/1.33, allocations: 3.938 kB / 1.074 GB, free: 5.602 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001741/1.33, allocations: 56.05 kB / 1.074 GB, free: 5.582 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.945e-05/1.33, allocations: 32 kB / 1.074 GB, free: 5.551 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003069/1.333, allocations: 0.9261 MB / 1.075 GB, free: 4.953 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01186/1.345, allocations: 5.596 MB / 1.08 GB, free: 232 kB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002059/1.347, allocations: 0.7256 MB / 1.081 GB, free: 15.75 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009074/1.348, allocations: 358.3 kB / 1.081 GB, free: 15.55 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.047e-05/1.348, allocations: 8.781 kB / 1.081 GB, free: 15.54 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001294/1.35, allocations: 493.6 kB / 1.082 GB, free: 15.19 MB / 0.698 GB Notification: Performance of pre-optimization done (n=99): time 4.078e-06/1.35, allocations: 3.938 kB / 1.082 GB, free: 15.19 MB / 0.698 GB Notification: Performance of matching and sorting (n=99): time 0.0024/1.352, allocations: 0.8165 MB / 1.082 GB, free: 14.55 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001249/1.352, allocations: 127.1 kB / 1.082 GB, free: 14.4 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003355/1.356, allocations: 1.34 MB / 1.084 GB, free: 13.23 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003473/1.356, allocations: 81.69 kB / 1.084 GB, free: 13.14 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001099/1.357, allocations: 0.728 MB / 1.085 GB, free: 12.41 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004967/1.358, allocations: 237.1 kB / 1.085 GB, free: 12.17 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001217/1.358, allocations: 32 kB / 1.085 GB, free: 12.14 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002085/1.358, allocations: 357.9 kB / 1.085 GB, free: 11.79 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001141/1.359, allocations: 376 kB / 1.085 GB, free: 11.42 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001541/1.361, allocations: 0.7615 MB / 1.086 GB, free: 10.49 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00118/1.362, allocations: 400.7 kB / 1.087 GB, free: 10.1 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.113e-05/1.362, allocations: 0 / 1.087 GB, free: 10.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=183) (initialization): time 0.003695/1.366, allocations: 1.245 MB / 1.088 GB, free: 8.848 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.808e-05/1.366, allocations: 8 kB / 1.088 GB, free: 8.84 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.636e-05/1.366, allocations: 12 kB / 1.088 GB, free: 8.828 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.69e-05/1.366, allocations: 20.78 kB / 1.088 GB, free: 8.809 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001177/1.367, allocations: 175.5 kB / 1.088 GB, free: 8.637 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.491e-05/1.367, allocations: 31.92 kB / 1.088 GB, free: 8.605 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001345/1.368, allocations: 111.3 kB / 1.088 GB, free: 8.496 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002032/1.369, allocations: 63.98 kB / 1.088 GB, free: 8.434 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: 126 ($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,$PRE.con.warUpCtr.timer.yAcc,con.warUpCtr.timer.yAcc,$whenCondition10,$PRE.avaSig.combiTimeTable.nextTimeEvent,$whenCondition9,$PRE.runSig.combiTimeTable.nextTimeEvent,$whenCondition1,$PRE.mWat_flow.tab.nextTimeEvent,stateGraphRoot.resume,stateGraphRoot.suspend,$whenCondition8,$whenCondition6,$whenCondition7,$whenCondition5,$whenCondition4,$whenCondition2,$whenCondition3,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.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.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.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,$PRE.con.warUpCtr.timer.reset_internal,con.warUpCtr.timer.reset_internal,$PRE.con.timer.reset_internal,con.timer.reset_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (183): * Single equations (assignments): 183 * 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.000511/1.369, allocations: 261.2 kB / 1.088 GB, free: 8.168 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004227/1.37, allocations: 142.1 kB / 1.089 GB, free: 8.027 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002969/1.373, allocations: 0.9736 MB / 1.09 GB, free: 7.035 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.896e-05/1.373, allocations: 11.98 kB / 1.09 GB, free: 7.023 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.507e-06/1.373, allocations: 0 / 1.09 GB, free: 7.023 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.911e-05/1.373, allocations: 7.984 kB / 1.09 GB, free: 7.016 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006592/1.379, allocations: 2.423 MB / 1.092 GB, free: 4.523 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.101e-05/1.379, allocations: 4 kB / 1.092 GB, free: 4.52 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005166/1.38, allocations: 67.78 kB / 1.092 GB, free: 4.453 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-05/1.38, allocations: 4 kB / 1.092 GB, free: 4.449 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001033/1.38, allocations: 27.97 kB / 1.092 GB, free: 4.422 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.109e-05/1.38, allocations: 4 kB / 1.092 GB, free: 4.418 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.529e-06/1.38, allocations: 3.953 kB / 1.092 GB, free: 4.414 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002587/1.383, allocations: 0.9968 MB / 1.093 GB, free: 3.398 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005604/1.383, allocations: 243.1 kB / 1.093 GB, free: 3.141 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002964/1.384, allocations: 35.98 kB / 1.093 GB, free: 3.105 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007838/1.384, allocations: 43.97 kB / 1.093 GB, free: 3.062 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004838/1.385, allocations: 144.8 kB / 1.093 GB, free: 2.918 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001209/1.385, allocations: 39.94 kB / 1.094 GB, free: 2.879 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.002312/1.387, allocations: 0.931 MB / 1.094 GB, free: 1.945 MB / 0.698 GB Notification: Performance of sort global known variables: time 8.51e-07/1.387, allocations: 4 kB / 1.094 GB, free: 1.941 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.00179/1.389, allocations: 283.8 kB / 1.095 GB, free: 1.664 MB / 0.698 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.warUp.localActive,con.pumOn.localActive,con.staBy.localActive,$cse3,$cse4,$cse5,$cse6,$cse7,$cse8,$cse9,$cse10,$cse11,$cse12,$cse13,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition6,$whenCondition7,$whenCondition5,$whenCondition4,$whenCondition2,$whenCondition3,$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.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.timer.entryTime,con.warUpCtr.timer.yAcc,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,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.cooDow.newActive,con.nor.newActive,con.plaOff.newActive,avaSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEventScaled,con.timer.y,con.warUpCtr.timer.y,mWat_flow.tab.nextTimeEventScaled,con.assWatMas.hys.y,con.hys.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (113): * Single equations (assignments): 96 * 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.001614/1.391, allocations: 0.522 MB / 1.095 GB, free: 1.27 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003118/1.394, allocations: 0.9733 MB / 1.096 GB, free: 312 kB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 8.085e-06/1.394, allocations: 256 / 1.096 GB, free: 312 kB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.00134/1.395, allocations: 457.6 kB / 1.097 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001906/1.397, allocations: 200.7 kB / 1.097 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006336/1.404, allocations: 1.976 MB / 1.099 GB, free: 13.65 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001529/1.405, allocations: 1.338 MB / 1.1 GB, free: 12.28 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001296/1.407, allocations: 210.5 kB / 1.1 GB, free: 12.07 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005854/1.407, allocations: 115.3 kB / 1.1 GB, free: 11.96 MB / 0.7136 GB Notification: Performance of SimCode: time 1.603e-06/1.407, allocations: 0 / 1.1 GB, free: 11.96 MB / 0.7136 GB Notification: Performance of Templates: time 0.05732/1.465, allocations: 14.67 MB / 1.115 GB, free: 13.36 MB / 0.7292 GB