Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.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_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.687/1.687, allocations: 287.4 MB / 303.2 MB, free: 8.203 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001152/0.001152, allocations: 188 kB / 371.8 MB, free: 10.83 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.699/1.699, allocations: 205.4 MB / 0.6305 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007666/0.0007665, allocations: 89.19 kB / 0.7438 GB, free: 6.582 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004164/0.0004164, allocations: 11.75 kB / 0.8667 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2152/0.2157, allocations: 115.3 MB / 0.9793 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversion): time 0.007621/0.2233, allocations: 7.776 MB / 0.9869 GB, free: 20.4 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.006785/0.2302, allocations: 4.209 MB / 0.991 GB, free: 16.17 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001441/0.2316, allocations: 43.81 kB / 0.991 GB, free: 16.13 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.00152/0.2332, allocations: 0.684 MB / 0.9917 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001176/0.2344, allocations: 494.2 kB / 0.9922 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.002279/0.2367, allocations: 0.955 MB / 0.9931 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.002759/0.2394, allocations: 3.019 MB / 0.9961 GB, free: 10.98 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002268/0.2417, allocations: 2.047 MB / 0.9981 GB, free: 8.891 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008493/0.2426, allocations: 0.8551 MB / 0.9989 GB, free: 8.031 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007109/0.2433, allocations: 0.9713 MB / 0.9998 GB, free: 7.055 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.000175/0.2435, allocations: 96 kB / 0.9999 GB, free: 6.961 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007412/0.2442, allocations: 363.6 kB / 1 GB, free: 6.605 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0006323/0.2449, allocations: 1.086 MB / 1.001 GB, free: 5.516 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0004807/0.2453, allocations: 0.7062 MB / 1.002 GB, free: 4.801 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.002816/0.2482, allocations: 4.543 MB / 1.006 GB, free: 252 kB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.2482, allocations: 0 / 1.006 GB, free: 252 kB / 0.6198 GB Notification: Performance of FrontEnd: time 1.914e-06/0.2482, allocations: 0 / 1.006 GB, free: 252 kB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0001058/0.2483, allocations: 0 / 1.006 GB, free: 252 kB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 537 * Number of variables: 537 Notification: Performance of Generate backend data structure: time 0.006553/0.2549, allocations: 3.962 MB / 1.01 GB, free: 12.17 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.554e-05/0.2549, allocations: 12.03 kB / 1.01 GB, free: 12.16 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002642/0.2576, allocations: 0.7328 MB / 1.011 GB, free: 11.42 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005073/0.2627, allocations: 2.98 MB / 1.014 GB, free: 8.359 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002021/0.2629, allocations: 218.6 kB / 1.014 GB, free: 8.137 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003016/0.2632, allocations: 224 kB / 1.014 GB, free: 7.918 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004459/0.2677, allocations: 2.533 MB / 1.017 GB, free: 5.234 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.701e-05/0.2677, allocations: 7.875 kB / 1.017 GB, free: 5.227 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001613/0.2679, allocations: 91.94 kB / 1.017 GB, free: 5.137 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.606e-05/0.2679, allocations: 56 kB / 1.017 GB, free: 5.082 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004133/0.2721, allocations: 2.166 MB / 1.019 GB, free: 2.914 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01464/0.2867, allocations: 10.57 MB / 1.029 GB, free: 8.137 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003659/0.2904, allocations: 2.01 MB / 1.031 GB, free: 6.109 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00138/0.2919, allocations: 0.841 MB / 1.032 GB, free: 5.266 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009707/0.2928, allocations: 462 kB / 1.033 GB, free: 4.797 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001832/0.2947, allocations: 1.104 MB / 1.034 GB, free: 3.668 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=157): time 3.968e-06/0.2947, allocations: 4 kB / 1.034 GB, free: 3.664 MB / 0.6511 GB Notification: Performance of matching and sorting (n=157): time 0.005254/0.3, allocations: 2.776 MB / 1.036 GB, free: 0.8711 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001082/0.3001, allocations: 183.5 kB / 1.037 GB, free: 0.6562 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007908/0.308, allocations: 4.899 MB / 1.041 GB, free: 11.74 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0004122/0.3085, allocations: 93.69 kB / 1.042 GB, free: 11.64 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.00186/0.3103, allocations: 1.905 MB / 1.043 GB, free: 9.723 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005984/0.3109, allocations: 446.1 kB / 1.044 GB, free: 9.281 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.64e-05/0.311, allocations: 40 kB / 1.044 GB, free: 9.242 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0002011/0.3113, allocations: 385.9 kB / 1.044 GB, free: 8.859 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001749/0.313, allocations: 0.8435 MB / 1.045 GB, free: 8.012 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00209/0.3151, allocations: 1.376 MB / 1.046 GB, free: 6.41 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003263/0.3184, allocations: 1.992 MB / 1.048 GB, free: 4.219 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.075e-05/0.3184, allocations: 4 kB / 1.048 GB, free: 4.215 MB / 0.6667 GB Notification: Performance of matching and sorting (n=262) (initialization): time 0.005498/0.3239, allocations: 2.634 MB / 1.051 GB, free: 1.562 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 6.339e-05/0.324, allocations: 46.5 kB / 1.051 GB, free: 1.512 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.391e-05/0.3241, allocations: 12 kB / 1.051 GB, free: 1.5 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.215e-05/0.3241, allocations: 28 kB / 1.051 GB, free: 1.473 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001337/0.3255, allocations: 319.3 kB / 1.051 GB, free: 1.16 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.313e-05/0.3255, allocations: 31.92 kB / 1.051 GB, free: 1.129 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00225/0.3278, allocations: 250.1 kB / 1.052 GB, free: 0.8828 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001707/0.3279, allocations: 87.97 kB / 1.052 GB, free: 0.7969 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 60 * Number of states: 0 () * Number of discrete variables: 142 ($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,$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,$whenCondition4,$whenCondition5,$whenCondition6,$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,$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,PEle.a,PEle.b,PEle.last,$PRE.PEle.nextEvent,PEle.nextEvent,PEle.nextEventScaled,stateGraphRoot.activeSteps,$PRE.eneConEngTem.opeModWarUpEngTem.temChe.y,eneConEngTem.opeModWarUpEngTem.temChe.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (257): * Single equations (assignments): 256 * 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.002506/0.3305, allocations: 1.137 MB / 1.053 GB, free: 15.64 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007093/0.3312, allocations: 394.9 kB / 1.053 GB, free: 15.25 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004163/0.3354, allocations: 2.286 MB / 1.055 GB, free: 12.95 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.941e-05/0.3354, allocations: 7.969 kB / 1.055 GB, free: 12.94 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.971e-06/0.3354, allocations: 7.938 kB / 1.055 GB, free: 12.93 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001351/0.3368, allocations: 0.7572 MB / 1.056 GB, free: 12.15 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000365/0.3371, allocations: 48 kB / 1.056 GB, free: 12.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009085/0.338, allocations: 91.92 kB / 1.056 GB, free: 12.01 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003968/0.3385, allocations: 205 kB / 1.056 GB, free: 11.81 MB / 0.6823 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003828/0.3423, allocations: 2.213 MB / 1.059 GB, free: 9.57 MB / 0.6823 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.005344/0.3477, allocations: 3.607 MB / 1.062 GB, free: 5.934 MB / 0.6823 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001463/0.3491, allocations: 0.9754 MB / 1.063 GB, free: 4.957 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.004845/0.354, allocations: 3.305 MB / 1.066 GB, free: 1.652 MB / 0.6823 GB Notification: Performance of Backend: time 4.91e-07/0.354, allocations: 0 / 1.066 GB, free: 1.652 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.4203/0.7743, allocations: 1.854 MB / 1.068 GB, free: 85.03 MB / 0.6823 GB Notification: Performance of SimCode: time 0.01379/0.7881, allocations: 7.784 MB / 1.076 GB, free: 81.36 MB / 0.6823 GB Notification: Performance of Templates: time 0.08048/0.8686, allocations: 34.98 MB / 1.11 GB, free: 69.93 MB / 0.6823 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversion.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversion.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversion.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversion.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversion.sim & ./Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversion.pipe 2>&1)