Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversion") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.798/1.798, allocations: 288.4 MB / 304.3 MB, free: 8.156 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.001012/0.001013, allocations: 171.2 kB / 372.9 MB, free: 10.16 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.584/1.584, allocations: 205.4 MB / 0.6316 GB, free: 9.879 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.0008575/0.0008579, allocations: 90.34 kB / 0.745 GB, free: 5.789 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004055/0.0004055, allocations: 17.11 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1847/0.1851, allocations: 115.3 MB / 0.9807 GB, free: 27.34 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversion): time 0.006668/0.1918, allocations: 7.78 MB / 0.9883 GB, free: 19.53 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.006008/0.1979, allocations: 4.205 MB / 0.9925 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001762/0.1997, allocations: 43.81 kB / 0.9925 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001751/0.2014, allocations: 0.6781 MB / 0.9932 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001322/0.2028, allocations: 0.4934 MB / 0.9936 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.002319/0.2051, allocations: 0.959 MB / 0.9946 GB, free: 13.13 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.002546/0.2077, allocations: 3.014 MB / 0.9975 GB, free: 10.11 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002083/0.2098, allocations: 2.047 MB / 0.9995 GB, free: 8.016 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006965/0.2105, allocations: 0.8551 MB / 1 GB, free: 7.156 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006381/0.2111, allocations: 0.9713 MB / 1.001 GB, free: 6.18 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001614/0.2113, allocations: 92 kB / 1.001 GB, free: 6.09 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005627/0.2118, allocations: 367.6 kB / 1.002 GB, free: 5.73 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0005125/0.2124, allocations: 1.086 MB / 1.003 GB, free: 4.641 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0008245/0.2132, allocations: 1.616 MB / 1.004 GB, free: 3.008 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.002897/0.2161, allocations: 4.535 MB / 1.009 GB, free: 14.46 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.2161, allocations: 0 / 1.009 GB, free: 14.46 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.733e-06/0.2161, allocations: 0 / 1.009 GB, free: 14.46 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0001073/0.2163, allocations: 7.938 kB / 1.009 GB, free: 14.45 MB / 0.6355 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.006097/0.2224, allocations: 3.956 MB / 1.013 GB, free: 10.38 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.294e-05/0.2224, allocations: 16.02 kB / 1.013 GB, free: 10.36 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002769/0.2252, allocations: 0.7328 MB / 1.013 GB, free: 9.625 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005421/0.2306, allocations: 2.98 MB / 1.016 GB, free: 6.566 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001941/0.2308, allocations: 214.6 kB / 1.017 GB, free: 6.348 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00036/0.2312, allocations: 231.9 kB / 1.017 GB, free: 6.121 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004647/0.2359, allocations: 2.533 MB / 1.019 GB, free: 3.438 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.771e-05/0.2359, allocations: 3.938 kB / 1.019 GB, free: 3.434 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001708/0.2361, allocations: 95.98 kB / 1.019 GB, free: 3.34 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.876e-05/0.2362, allocations: 52 kB / 1.019 GB, free: 3.289 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004418/0.2406, allocations: 2.166 MB / 1.021 GB, free: 1.121 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01609/0.2567, allocations: 10.55 MB / 1.032 GB, free: 6.359 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003558/0.2603, allocations: 2.014 MB / 1.034 GB, free: 4.328 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001387/0.2617, allocations: 0.8434 MB / 1.035 GB, free: 3.484 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009807/0.2627, allocations: 462 kB / 1.035 GB, free: 3.016 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001821/0.2646, allocations: 1.112 MB / 1.036 GB, free: 1.879 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=157): time 3.637e-06/0.2646, allocations: 0 / 1.036 GB, free: 1.879 MB / 0.6511 GB Notification: Performance of matching and sorting (n=157): time 0.005637/0.2702, allocations: 2.772 MB / 1.039 GB, free: 15.09 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001129/0.2704, allocations: 179.5 kB / 1.039 GB, free: 14.88 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008604/0.279, allocations: 4.902 MB / 1.044 GB, free: 9.957 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0004502/0.2795, allocations: 97.62 kB / 1.044 GB, free: 9.855 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.002119/0.2816, allocations: 1.909 MB / 1.046 GB, free: 7.93 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006962/0.2823, allocations: 442.1 kB / 1.046 GB, free: 7.492 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001041/0.2824, allocations: 40 kB / 1.046 GB, free: 7.453 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0002308/0.2827, allocations: 390 kB / 1.047 GB, free: 7.066 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001703/0.2844, allocations: 0.8357 MB / 1.047 GB, free: 6.227 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001935/0.2863, allocations: 1.377 MB / 1.049 GB, free: 4.625 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003226/0.2896, allocations: 1.992 MB / 1.051 GB, free: 2.434 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.509e-05/0.2896, allocations: 8 kB / 1.051 GB, free: 2.426 MB / 0.6667 GB Notification: Performance of matching and sorting (n=262) (initialization): time 0.00542/0.295, allocations: 2.635 MB / 1.053 GB, free: 15.77 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 5.89e-05/0.2951, allocations: 45.62 kB / 1.053 GB, free: 15.72 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.323e-05/0.2952, allocations: 16 kB / 1.053 GB, free: 15.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.258e-05/0.2952, allocations: 20 kB / 1.053 GB, free: 15.68 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001257/0.2965, allocations: 319.3 kB / 1.054 GB, free: 15.37 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.906e-05/0.2965, allocations: 32.05 kB / 1.054 GB, free: 15.34 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002074/0.2986, allocations: 254.1 kB / 1.054 GB, free: 15.09 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001524/0.2988, allocations: 87.92 kB / 1.054 GB, free: 15 MB / 0.6823 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.002223/0.301, allocations: 1.129 MB / 1.055 GB, free: 13.86 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007936/0.3018, allocations: 402.8 kB / 1.055 GB, free: 13.46 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004331/0.3061, allocations: 2.286 MB / 1.058 GB, free: 11.15 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.826e-05/0.3062, allocations: 7.969 kB / 1.058 GB, free: 11.14 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/0.3062, allocations: 0 / 1.058 GB, free: 11.14 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001496/0.3077, allocations: 0.7611 MB / 1.058 GB, free: 10.36 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004043/0.3081, allocations: 51.97 kB / 1.058 GB, free: 10.31 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009658/0.3091, allocations: 99.86 kB / 1.059 GB, free: 10.21 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004167/0.3095, allocations: 205 kB / 1.059 GB, free: 10.01 MB / 0.6823 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003864/0.3134, allocations: 2.205 MB / 1.061 GB, free: 7.785 MB / 0.6823 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.005871/0.3193, allocations: 3.607 MB / 1.064 GB, free: 4.145 MB / 0.6823 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001537/0.3208, allocations: 0.9753 MB / 1.065 GB, free: 3.168 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.4169/0.7378, allocations: 3.301 MB / 1.069 GB, free: 83.41 MB / 0.6823 GB Notification: Performance of Backend: time 9.82e-07/0.7378, allocations: 0 / 1.069 GB, free: 83.41 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.005087/0.7429, allocations: 1.876 MB / 1.07 GB, free: 83.21 MB / 0.6823 GB Notification: Performance of SimCode: time 0.01029/0.7532, allocations: 7.779 MB / 1.078 GB, free: 79.02 MB / 0.6823 GB Notification: Performance of Templates: time 0.07381/0.827, allocations: 35.13 MB / 1.112 GB, free: 66.79 MB / 0.6823 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversion.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversion.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversion.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversion.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversion.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversion.pipe 2>&1)