Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.PowerConsumption.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.PowerConsumption,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.PowerConsumption") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.PowerConsumption,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.PowerConsumption") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001321/0.001321, allocations: 114.1 kB / 16.38 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001527/0.001527, allocations: 187.3 kB / 17.31 MB, free: 5.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.454/1.454, allocations: 205.1 MB / 223.2 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.915/1.915, allocations: 292.3 MB / 0.5496 GB, free: 17.59 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00161/0.00161, allocations: 64.12 kB / 0.6729 GB, free: 5.875 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2308/0.2324, allocations: 114.6 MB / 0.7848 GB, free: 3.203 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.PowerConsumption): time 0.3997/0.6321, allocations: 4.706 MB / 0.7894 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.006441/0.6387, allocations: 3.01 MB / 0.7923 GB, free: 45.86 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008694/0.6396, allocations: 28.16 kB / 0.7924 GB, free: 45.86 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001439/0.6411, allocations: 0.6192 MB / 0.793 GB, free: 45.77 MB / 0.6544 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0009189/0.642, allocations: 399.1 kB / 0.7933 GB, free: 45.61 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.00188/0.6439, allocations: 0.8865 MB / 0.7942 GB, free: 45.5 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.00187/0.6458, allocations: 2.032 MB / 0.7962 GB, free: 45.03 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001445/0.6473, allocations: 1.225 MB / 0.7974 GB, free: 44.53 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006806/0.648, allocations: 0.6795 MB / 0.7981 GB, free: 44.17 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006398/0.6486, allocations: 0.7091 MB / 0.7988 GB, free: 43.77 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0002145/0.6488, allocations: 176.8 kB / 0.7989 GB, free: 43.77 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004552/0.6493, allocations: 268.1 kB / 0.7992 GB, free: 43.74 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0003647/0.6497, allocations: 0.5117 MB / 0.7997 GB, free: 43.45 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0005869/0.6503, allocations: 0.8419 MB / 0.8005 GB, free: 42.82 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.002687/0.653, allocations: 2.334 MB / 0.8028 GB, free: 41.82 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.653, allocations: 4 kB / 0.8028 GB, free: 41.82 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.764e-06/0.653, allocations: 0 / 0.8028 GB, free: 41.82 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.902e-05/0.6531, allocations: 0 / 0.8028 GB, free: 41.82 MB / 0.6544 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.00344/0.6565, allocations: 2.071 MB / 0.8048 GB, free: 40.39 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/0.6566, allocations: 12.06 kB / 0.8048 GB, free: 40.39 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003495/0.6569, allocations: 206.3 kB / 0.805 GB, free: 40.29 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001589/0.6585, allocations: 1.105 MB / 0.8061 GB, free: 39.6 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001431/0.6587, allocations: 140.7 kB / 0.8062 GB, free: 39.52 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001946/0.6589, allocations: 136.4 kB / 0.8064 GB, free: 39.47 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002303/0.6612, allocations: 1.392 MB / 0.8077 GB, free: 38.7 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.921e-05/0.6612, allocations: 6.656 kB / 0.8077 GB, free: 38.69 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001075/0.6613, allocations: 51.66 kB / 0.8078 GB, free: 38.66 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.515e-05/0.6614, allocations: 31.38 kB / 0.8078 GB, free: 38.66 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001833/0.6632, allocations: 0.9552 MB / 0.8087 GB, free: 38.27 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006058/0.6693, allocations: 5.582 MB / 0.8142 GB, free: 34.23 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001402/0.6707, allocations: 0.7437 MB / 0.8149 GB, free: 33.93 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006228/0.6714, allocations: 386.8 kB / 0.8153 GB, free: 33.76 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 5.703e-05/0.6714, allocations: 11.8 kB / 0.8153 GB, free: 33.76 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009241/0.6724, allocations: 0.5088 MB / 0.8158 GB, free: 33.55 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=97): time 3.768e-06/0.6724, allocations: 0 / 0.8158 GB, free: 33.55 MB / 0.6544 GB Notification: Performance of matching and sorting (n=97): time 0.002279/0.6747, allocations: 1.145 MB / 0.8169 GB, free: 33.1 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.512e-05/0.6747, allocations: 126.9 kB / 0.817 GB, free: 32.96 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002215/0.677, allocations: 1.467 MB / 0.8185 GB, free: 32.38 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001651/0.6771, allocations: 75.58 kB / 0.8185 GB, free: 32.32 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.000498/0.6776, allocations: 0.7258 MB / 0.8192 GB, free: 31.75 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001872/0.6778, allocations: 248.1 kB / 0.8195 GB, free: 31.56 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004542/0.6783, allocations: 331.5 kB / 0.8198 GB, free: 31.41 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.434e-05/0.6784, allocations: 355.9 kB / 0.8201 GB, free: 31.09 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000684/0.6791, allocations: 383.3 kB / 0.8205 GB, free: 30.95 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008241/0.6799, allocations: 0.7683 MB / 0.8212 GB, free: 30.34 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00119/0.6811, allocations: 0.9167 MB / 0.8221 GB, free: 29.64 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.706e-06/0.6811, allocations: 3.562 kB / 0.8221 GB, free: 29.64 MB / 0.6544 GB Notification: Performance of matching and sorting (n=179) (initialization): time 0.002162/0.6833, allocations: 1.244 MB / 0.8234 GB, free: 29.11 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.405e-05/0.6834, allocations: 13.56 kB / 0.8234 GB, free: 29.11 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.702e-05/0.6834, allocations: 10.16 kB / 0.8234 GB, free: 29.11 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.246e-05/0.6834, allocations: 22.22 kB / 0.8234 GB, free: 29.1 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005652/0.684, allocations: 172.2 kB / 0.8236 GB, free: 29.07 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.745e-05/0.684, allocations: 23.23 kB / 0.8236 GB, free: 29.07 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007668/0.6848, allocations: 138.7 kB / 0.8237 GB, free: 28.98 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001103/0.6849, allocations: 61.84 kB / 0.8238 GB, free: 28.97 MB / 0.6544 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,$PRE.avaSig.combiTimeTable.nextTimeEvent,$whenCondition10,$PRE.runSig.combiTimeTable.nextTimeEvent,$whenCondition9,$PRE.mWat_flow.tab.nextTimeEvent,$whenCondition1,stateGraphRoot.resume,stateGraphRoot.suspend,stateGraphRoot.activeSteps,powCon.cooDow.y,powCon.staBy.y,avaSig.combiTimeTable.nextTimeEventScaled,$PRE.avaSig.combiTimeTable.nextTimeEventScaled,avaSig.combiTimeTable.nextTimeEvent,runSig.combiTimeTable.nextTimeEventScaled,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEvent,con.timer.entryTime,$PRE.con.timer.entryTime,con.timer.passed,$PRE.con.timer.passed,con.transition4.t_start,$PRE.con.transition4.t_start,con.transition4.enableFire,con.transition4.localCondition,con.plaOff.oldActive,$PRE.con.plaOff.oldActive,con.plaOff.newActive,$PRE.con.plaOff.newActive,con.plaOff.inPort[3].occupied,con.plaOff.inPort[2].occupied,con.plaOff.localActive,$PRE.con.plaOff.localActive,con.plaOff.active,con.transition6.enableFire,con.transition6.localCondition,con.warUpCtr.timer.entryTime,$PRE.con.warUpCtr.timer.entryTime,con.warUpCtr.timer.passed,$PRE.con.warUpCtr.timer.passed,con.transition8.enableFire,con.nor.oldActive,$PRE.con.nor.oldActive,con.nor.newActive,$PRE.con.nor.newActive,con.nor.localActive,$PRE.con.nor.localActive,con.nor.active,con.transition2.enableFire,con.transition1.enableFire,con.assWatMas.hys.y,$PRE.con.assWatMas.hys.y,con.assWatMas.nand.y,con.transition10.enableFire,con.transition10.localCondition,con.transition7.enableFire,con.transition7.localCondition,con.transition9.enableFire,con.transition5.enableFire,con.transition3.enableFire,con.hys.y,$PRE.con.hys.y,con.cooDow.active,con.cooDow.oldActive,$PRE.con.cooDow.oldActive,con.cooDow.newActive,$PRE.con.cooDow.newActive,con.cooDow.outPort[2].available,con.cooDow.inPort[2].occupied,con.cooDow.localActive,$PRE.con.cooDow.localActive,con.warUp.active,con.warUp.oldActive,$PRE.con.warUp.oldActive,con.warUp.newActive,$PRE.con.warUp.newActive,con.warUp.outPort[2].available,con.warUp.inPort[2].occupied,con.warUp.inPort[1].set,con.warUp.localActive,$PRE.con.warUp.localActive,con.pumOn.oldActive,$PRE.con.pumOn.oldActive,con.pumOn.newActive,$PRE.con.pumOn.newActive,con.pumOn.outPort[2].available,con.pumOn.localActive,$PRE.con.pumOn.localActive,con.pumOn.active,con.staBy.oldActive,$PRE.con.staBy.oldActive,con.staBy.newActive,$PRE.con.staBy.newActive,con.staBy.outPort[2].available,con.staBy.localActive,$PRE.con.staBy.localActive,con.staBy.active,con.opeMod,con.runSig,con.avaSig,mWat_flow.tab.nextTimeEventScaled,$PRE.mWat_flow.tab.nextTimeEventScaled,mWat_flow.tab.nextTimeEvent,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition5,$whenCondition8,$whenCondition7,$whenCondition6) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008496/0.6858, allocations: 0.5074 MB / 0.8243 GB, free: 28.66 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002105/0.686, allocations: 152.2 kB / 0.8244 GB, free: 28.58 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001766/0.6878, allocations: 0.9743 MB / 0.8254 GB, free: 28.19 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.519e-05/0.6878, allocations: 5.344 kB / 0.8254 GB, free: 28.19 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.6878, allocations: 0 / 0.8254 GB, free: 28.19 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002516/0.6881, allocations: 236 kB / 0.8256 GB, free: 27.99 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001879/0.6883, allocations: 32.14 kB / 0.8256 GB, free: 27.97 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003692/0.6886, allocations: 44.3 kB / 0.8257 GB, free: 27.96 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000302/0.689, allocations: 133.8 kB / 0.8258 GB, free: 27.93 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001661/0.6906, allocations: 0.9611 MB / 0.8267 GB, free: 27.51 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001598/0.6922, allocations: 1.113 MB / 0.8278 GB, free: 26.94 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006528/0.6929, allocations: 454.8 kB / 0.8283 GB, free: 26.75 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001393/0.6943, allocations: 0.9068 MB / 0.8291 GB, free: 26.41 MB / 0.6544 GB Notification: Performance of Backend: time 3.21e-07/0.6943, allocations: 0 / 0.8291 GB, free: 26.41 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.003212/0.6975, allocations: 1.11 MB / 0.8302 GB, free: 26.07 MB / 0.6544 GB Notification: Performance of SimCode: time 0.004949/0.7025, allocations: 2.898 MB / 0.8331 GB, free: 24.4 MB / 0.6544 GB Notification: Performance of Templates: time 0.03295/0.7355, allocations: 15.54 MB / 0.8482 GB, free: 19.57 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.PowerConsumption.makefile (rm -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.PowerConsumption.pipe ; mkfifo Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.PowerConsumption.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.PowerConsumption.pipe >> ../files/Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.PowerConsumption.sim & ./Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.PowerConsumption -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.PowerConsumption.pipe 2>&1)