Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversion") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.3/2.3, allocations: 251.1 MB / 266.7 MB, free: 11.63 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001305/0.001305, allocations: 176.8 kB / 326.3 MB, free: 2.855 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.538/2.538, allocations: 205.4 MB / 0.5772 GB, free: 20.77 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009178/0.0009174, allocations: 87.67 kB / 0.6817 GB, free: 13.63 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004668/0.000467, allocations: 11.59 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2048/0.2052, allocations: 106.3 MB / 0.8995 GB, free: 65.53 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversion): time 0.01124/0.2165, allocations: 7.847 MB / 0.9072 GB, free: 57.64 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.009597/0.2262, allocations: 4.151 MB / 0.9112 GB, free: 53.47 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002339/0.2286, allocations: 47.81 kB / 0.9113 GB, free: 53.43 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.002711/0.2313, allocations: 0.6823 MB / 0.9119 GB, free: 52.74 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.002603/0.234, allocations: 493.3 kB / 0.9124 GB, free: 52.26 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.004078/0.2381, allocations: 0.9446 MB / 0.9133 GB, free: 51.32 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.004876/0.243, allocations: 2.921 MB / 0.9162 GB, free: 48.39 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003885/0.2469, allocations: 2.001 MB / 0.9181 GB, free: 46.35 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001697/0.2486, allocations: 0.8474 MB / 0.919 GB, free: 45.5 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001506/0.2502, allocations: 0.9712 MB / 0.9199 GB, free: 44.52 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0005378/0.2507, allocations: 92 kB / 0.92 GB, free: 44.43 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001078/0.2518, allocations: 347.6 kB / 0.9203 GB, free: 44.09 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0009885/0.2529, allocations: 1.094 MB / 0.9214 GB, free: 42.99 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0008411/0.2537, allocations: 0.7024 MB / 0.9221 GB, free: 42.28 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.00583/0.2596, allocations: 4.539 MB / 0.9265 GB, free: 37.73 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 7.795e-06/0.2596, allocations: 0 / 0.9265 GB, free: 37.73 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.435e-06/0.2596, allocations: 0 / 0.9265 GB, free: 37.73 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001819/0.2598, allocations: 0 / 0.9265 GB, free: 37.73 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 540 * Number of variables: 540 Notification: Performance of Generate backend data structure: time 0.009732/0.2696, allocations: 3.994 MB / 0.9304 GB, free: 33.63 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.396e-05/0.2696, allocations: 8.031 kB / 0.9304 GB, free: 33.62 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00487/0.2745, allocations: 0.7328 MB / 0.9311 GB, free: 32.88 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007821/0.2824, allocations: 2.8 MB / 0.9339 GB, free: 30.01 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002804/0.2827, allocations: 222.6 kB / 0.9341 GB, free: 29.78 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000561/0.2833, allocations: 228 kB / 0.9343 GB, free: 29.56 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006707/0.29, allocations: 2.533 MB / 0.9368 GB, free: 26.88 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.115e-05/0.2902, allocations: 3.938 kB / 0.9368 GB, free: 26.87 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003064/0.2905, allocations: 88 kB / 0.9369 GB, free: 26.79 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.116e-05/0.2905, allocations: 52 kB / 0.9369 GB, free: 26.73 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00725/0.2978, allocations: 2.174 MB / 0.939 GB, free: 24.56 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02167/0.3195, allocations: 10.59 MB / 0.9494 GB, free: 13.75 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005815/0.3254, allocations: 2.011 MB / 0.9513 GB, free: 11.71 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002403/0.3278, allocations: 0.8403 MB / 0.9522 GB, free: 10.87 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001565/0.3295, allocations: 462.2 kB / 0.9526 GB, free: 10.4 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002932/0.3324, allocations: 1.104 MB / 0.9537 GB, free: 9.27 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=158): time 5.43e-06/0.3325, allocations: 0 / 0.9537 GB, free: 9.27 MB / 0.6042 GB Notification: Performance of matching and sorting (n=158): time 0.008352/0.3408, allocations: 2.779 MB / 0.9564 GB, free: 6.477 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001101/0.341, allocations: 183.5 kB / 0.9566 GB, free: 6.258 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01044/0.3515, allocations: 4.894 MB / 0.9614 GB, free: 1.348 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0004866/0.352, allocations: 97.69 kB / 0.9614 GB, free: 1.246 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.002626/0.3546, allocations: 1.917 MB / 0.9633 GB, free: 15.31 MB / 0.6199 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008774/0.3556, allocations: 442.1 kB / 0.9637 GB, free: 14.88 MB / 0.6199 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001843/0.3558, allocations: 40 kB / 0.9638 GB, free: 14.84 MB / 0.6199 GB Notification: Performance of setup shared object (initialization): time 0.0002396/0.356, allocations: 390 kB / 0.9641 GB, free: 14.45 MB / 0.6199 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002875/0.3589, allocations: 0.8474 MB / 0.965 GB, free: 13.6 MB / 0.6199 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003485/0.3624, allocations: 1.397 MB / 0.9663 GB, free: 11.97 MB / 0.6199 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003041/0.3655, allocations: 0.9017 MB / 0.9672 GB, free: 11.06 MB / 0.6199 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.84e-05/0.3656, allocations: 8 kB / 0.9672 GB, free: 11.05 MB / 0.6199 GB Notification: Performance of matching and sorting (n=265) (initialization): time 0.00866/0.3742, allocations: 2.67 MB / 0.9698 GB, free: 8.367 MB / 0.6199 GB Notification: Performance of prepare postOptimizeDAE: time 7.958e-05/0.3744, allocations: 37.7 kB / 0.9699 GB, free: 8.324 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.472e-05/0.3744, allocations: 12 kB / 0.9699 GB, free: 8.312 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.034e-05/0.3745, allocations: 24 kB / 0.9699 GB, free: 8.289 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002526/0.377, allocations: 307.4 kB / 0.9702 GB, free: 7.984 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.909e-05/0.3771, allocations: 40.05 kB / 0.9702 GB, free: 7.945 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003084/0.3802, allocations: 258 kB / 0.9705 GB, free: 7.691 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000336/0.3806, allocations: 87.98 kB / 0.9706 GB, free: 7.605 MB / 0.6199 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 61 * Number of states: 0 () * Number of discrete variables: 145 ($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.mWat_flow.tab.nextTimeEvent,$whenCondition3,$PRE.runSig.combiTimeTable.nextTimeEvent,$whenCondition2,$PRE.avaSig.combiTimeTable.nextTimeEvent,eneConEngTem.and1.u2,eneConEngTem.engTemWarUp.y,eneConTimDel.and1.u2,eneConTimDel.engTemWarUp.y,stateGraphRoot.resume,stateGraphRoot.suspend,eneConTimDel.delWarUp.y,eneConEngTem.delWarUp.y,eneConTimDel.and1.y,$whenCondition7,$whenCondition6,$whenCondition4,$whenCondition5,$whenCondition1,$PRE.eneConEngTem.assFue.hys.y,eneConEngTem.assFue.hys.y,eneConEngTem.booExp.y,eneConEngTem.and1.y,$PRE.eneConTimDel.assFue.hys.y,eneConTimDel.assFue.hys.y,eneConTimDel.booExp.y,eneConTimDel.wamUpMod.y,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,con.warUpCtr.y,$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.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,con.timeDel.y,$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,PEle.a,PEle.b,PEle.last,$PRE.PEle.nextEvent,PEle.nextEvent,PEle.nextEventScaled,stateGraphRoot.activeSteps,$PRE.eneConEngTem.opeModWarUpEngTem.temChe.y,eneConEngTem.opeModWarUpEngTem.temChe.y,$PRE.con.timer.reset_internal,con.timer.reset_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (260): * Single equations (assignments): 259 * Array equations: 0 * Algorithm blocks: 1 * 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.003132/0.3837, allocations: 1.13 MB / 0.9717 GB, free: 6.457 MB / 0.6199 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001194/0.3849, allocations: 398.9 kB / 0.9721 GB, free: 6.062 MB / 0.6199 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00754/0.3925, allocations: 2.286 MB / 0.9743 GB, free: 3.766 MB / 0.6199 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.072e-05/0.3926, allocations: 7.969 kB / 0.9743 GB, free: 3.758 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.444e-06/0.3926, allocations: 4 kB / 0.9743 GB, free: 3.754 MB / 0.6199 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0026/0.3952, allocations: 0.7533 MB / 0.975 GB, free: 2.977 MB / 0.6199 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009765/0.3962, allocations: 48 kB / 0.9751 GB, free: 2.93 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002162/0.3984, allocations: 99.92 kB / 0.9752 GB, free: 2.832 MB / 0.6199 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007517/0.3992, allocations: 205 kB / 0.9754 GB, free: 2.629 MB / 0.6199 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007097/0.4063, allocations: 2.205 MB / 0.9775 GB, free: 412 kB / 0.6199 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01036/0.4167, allocations: 3.603 MB / 0.981 GB, free: 12.76 MB / 0.6355 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002913/0.4197, allocations: 0.9754 MB / 0.982 GB, free: 11.79 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.009294/0.429, allocations: 3.293 MB / 0.9852 GB, free: 8.492 MB / 0.6355 GB Notification: Performance of Backend: time 7.82e-07/0.4291, allocations: 0 / 0.9852 GB, free: 8.492 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.007754/0.4369, allocations: 1.872 MB / 0.987 GB, free: 6.77 MB / 0.6355 GB Notification: Performance of SimCode: time 0.01968/0.4566, allocations: 7.784 MB / 0.9946 GB, free: 14.92 MB / 0.6511 GB Notification: Performance of Templates: time 0.1173/0.5739, allocations: 34.7 MB / 1.029 GB, free: 12.34 MB / 0.6824 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversion.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversion.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversion.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversion.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversion.sim & ./Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversion.pipe 2>&1)