Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversion") Notification: Performance of loadModel(Buildings): time 4.221/4.221, allocations: 464.6 MB / 476.8 MB, free: 2.215 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.192e-05/3.202e-05, allocations: 4 kB / 0.5731 GB, free: 5.73 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2027/0.2027, allocations: 107.2 MB / 0.6778 GB, free: 10.38 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8161/1.019, allocations: 152.4 MB / 0.8266 GB, free: 11.37 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002699/1.019, allocations: 98.48 kB / 0.8267 GB, free: 11.35 MB / 0.6355 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings latest/Fluid/CHPs/BaseClasses/EnergyConversionNormal.mo:65:3-66:69:writable] Warning: connect(QGen_flow, QGen_flow) connects the same connector instance! The connect equation will be ignored. Notification: Performance of FrontEnd - DAE generated: time 0.2291/1.248, allocations: 62.78 MB / 0.888 GB, free: 12.13 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.974e-06/1.248, allocations: 0 / 0.888 GB, free: 12.13 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0004486/1.249, allocations: 87.92 kB / 0.8881 GB, free: 12.05 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: 537 * Number of variables: 537 Notification: Performance of Generate backend data structure: time 0.008573/1.257, allocations: 3.266 MB / 0.8913 GB, free: 8.938 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/1.257, allocations: 11.97 kB / 0.8913 GB, free: 8.926 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003859/1.261, allocations: 0.6963 MB / 0.892 GB, free: 8.227 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008169/1.27, allocations: 2.746 MB / 0.8947 GB, free: 6.094 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003702/1.27, allocations: 216.4 kB / 0.8949 GB, free: 5.949 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000828/1.271, allocations: 223.8 kB / 0.8951 GB, free: 5.801 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007382/1.278, allocations: 2.548 MB / 0.8976 GB, free: 3.98 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.486e-05/1.278, allocations: 0 / 0.8976 GB, free: 3.98 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003149/1.279, allocations: 93.8 kB / 0.8977 GB, free: 3.953 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.01e-05/1.279, allocations: 52 kB / 0.8977 GB, free: 3.902 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006307/1.285, allocations: 2.203 MB / 0.8999 GB, free: 2.566 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02712/1.312, allocations: 10.99 MB / 0.9106 GB, free: 8.418 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005502/1.318, allocations: 2.155 MB / 0.9127 GB, free: 6.234 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002257/1.32, allocations: 0.9038 MB / 0.9136 GB, free: 5.328 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001113/1.321, allocations: 362.1 kB / 0.9139 GB, free: 4.957 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003105/1.324, allocations: 1.184 MB / 0.9151 GB, free: 3.75 MB / 0.698 GB Notification: Performance of pre-optimization done (n=157): time 5.757e-06/1.324, allocations: 4 kB / 0.9151 GB, free: 3.746 MB / 0.698 GB Notification: Performance of matching and sorting (n=157): time 0.005981/1.33, allocations: 2.205 MB / 0.9172 GB, free: 1.523 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001618/1.331, allocations: 179.5 kB / 0.9174 GB, free: 1.309 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01187/1.342, allocations: 4.467 MB / 0.9218 GB, free: 12.83 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0005806/1.343, allocations: 105.7 kB / 0.9219 GB, free: 12.72 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.003227/1.346, allocations: 1.903 MB / 0.9237 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009105/1.347, allocations: 430.4 kB / 0.9241 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002138/1.348, allocations: 36 kB / 0.9242 GB, free: 10.34 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002789/1.348, allocations: 381.8 kB / 0.9245 GB, free: 9.965 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002327/1.35, allocations: 0.9137 MB / 0.9254 GB, free: 9.051 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002985/1.353, allocations: 1.372 MB / 0.9268 GB, free: 7.488 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002569/1.356, allocations: 0.9539 MB / 0.9277 GB, free: 6.531 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.686e-05/1.356, allocations: 4 kB / 0.9277 GB, free: 6.527 MB / 0.7136 GB Notification: Performance of matching and sorting (n=253) (initialization): time 0.007747/1.364, allocations: 2.712 MB / 0.9303 GB, free: 3.797 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 7.906e-05/1.364, allocations: 41.69 kB / 0.9304 GB, free: 3.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.773e-05/1.364, allocations: 12 kB / 0.9304 GB, free: 3.738 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.919e-05/1.364, allocations: 23.94 kB / 0.9304 GB, free: 3.715 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002245/1.366, allocations: 340 kB / 0.9307 GB, free: 3.383 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.548e-05/1.366, allocations: 27.92 kB / 0.9308 GB, free: 3.355 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002843/1.369, allocations: 282.5 kB / 0.931 GB, free: 3.078 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005275/1.37, allocations: 116 kB / 0.9312 GB, free: 2.965 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 51 * 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,eneConEngTem.booExp.y,eneConEngTem.and1.y,$PRE.eneConEngTem.assFue.hys.y,eneConEngTem.assFue.hys.y,eneConTimDel.booExp.y,eneConTimDel.and1.u1,$PRE.eneConTimDel.assFue.hys.y,eneConTimDel.assFue.hys.y,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.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.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.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.passed,con.timer.passed,$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,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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (248): * Single equations (assignments): 247 * 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.0007524/1.37, allocations: 339.5 kB / 0.9315 GB, free: 2.617 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00107/1.371, allocations: 398.8 kB / 0.9319 GB, free: 2.223 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007498/1.379, allocations: 2.576 MB / 0.9344 GB, free: 15.63 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.711e-05/1.379, allocations: 19.94 kB / 0.9344 GB, free: 15.61 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.805e-06/1.379, allocations: 0 / 0.9344 GB, free: 15.61 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.243e-05/1.379, allocations: 7.969 kB / 0.9344 GB, free: 15.61 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01573/1.395, allocations: 6.064 MB / 0.9403 GB, free: 9.465 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.01e-05/1.395, allocations: 0 / 0.9403 GB, free: 9.465 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001464/1.396, allocations: 207.6 kB / 0.9405 GB, free: 9.262 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.872e-05/1.396, allocations: 4 kB / 0.9405 GB, free: 9.258 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000244/1.397, allocations: 51.91 kB / 0.9406 GB, free: 9.207 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.486e-05/1.397, allocations: 8 kB / 0.9406 GB, free: 9.199 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.167e-06/1.397, allocations: 0 / 0.9406 GB, free: 9.199 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008513/1.405, allocations: 3.767 MB / 0.9443 GB, free: 5.391 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002573/1.408, allocations: 0.847 MB / 0.9451 GB, free: 4.52 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009325/1.409, allocations: 55.92 kB / 0.9451 GB, free: 4.465 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001925/1.411, allocations: 124 kB / 0.9453 GB, free: 4.344 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000726/1.411, allocations: 217 kB / 0.9455 GB, free: 4.129 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002961/1.412, allocations: 91.95 kB / 0.9456 GB, free: 4.039 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.008907/1.421, allocations: 3.33 MB / 0.9488 GB, free: 0.707 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.169e-06/1.421, allocations: 0 / 0.9488 GB, free: 0.707 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.003112/1.424, allocations: 0.5929 MB / 0.9494 GB, free: 116 kB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (eneConEngTem.assFue.floChaRat.x,eneConTimDel.assFue.floChaRat.x) * Number of discrete variables: 98 (eneConTimDel.and1.u1,con.transition4.enableFire,con.staBy.localActive,con.pumOn.localActive,con.warUp.localActive,con.cooDow.active,con.cooDow.localActive,con.nor.localActive,con.plaOff.localActive,$cse2,$cse3,$cse4,$cse5,$cse6,$cse7,$cse8,$cse9,$cse10,$cse11,$cse12,$whenCondition8,$whenCondition7,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition2,$whenCondition1,eneConEngTem.booExp.y,eneConEngTem.and1.y,eneConEngTem.assFue.hys.y,eneConTimDel.booExp.y,eneConTimDel.assFue.hys.y,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.warUp.active,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.u2,con.and4.y,con.assWatMas.assMes.u,con.assWatMas.hys.y,con.transition1.enableFire,con.transition2.enableFire,con.nor.newActive,con.nor.oldActive,con.nor.active,con.transition8.enableFire,con.warUpCtr.hysTem.y,con.warUpCtr.hysPow.y,con.warUpCtr.pre.u,con.transition6.enableFire,con.plaOff.inPort[2].occupied,con.plaOff.inPort[3].occupied,con.plaOff.newActive,con.plaOff.oldActive,con.plaOff.active,con.transition4.fire,con.transition4.t_start,con.timer.passed,con.timer.entryTime,runSig.combiTimeTable.nextTimeEvent,runSig.combiTimeTable.nextTimeEventScaled,avaSig.y,avaSig.combiTimeTable.nextTimeEvent,avaSig.combiTimeTable.nextTimeEventScaled,PEle.a,PEle.b,PEle.last,PEle.nextEvent,PEle.nextEventScaled,stateGraphRoot.activeSteps,eneConEngTem.opeModWarUpEngTem.temChe.y) * Number of discrete states: 27 (eneConEngTem.opeModWarUpEngTem.temChe.y,mWat_flow.tab.nextTimeEvent,runSig.combiTimeTable.nextTimeEvent,avaSig.combiTimeTable.nextTimeEvent,PEle.nextEvent,PEle.last,PEle.nextEventScaled,PEle.b,PEle.a,$whenCondition1,avaSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEventScaled,con.plaOff.newActive,con.warUpCtr.pre.u,con.warUpCtr.hysTem.y,con.nor.newActive,con.cooDow.newActive,con.timer.entryTime,con.warUp.newActive,con.pumOn.newActive,con.staBy.newActive,mWat_flow.tab.nextTimeEventScaled,con.hys.y,con.assWatMas.hys.y,eneConTimDel.assFue.hys.y,con.warUpCtr.hysPow.y,eneConEngTem.assFue.hys.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (166): * Single equations (assignments): 150 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 15 * 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.002239/1.426, allocations: 0.6277 MB / 0.95 GB, free: 15.59 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.004776/1.431, allocations: 2.034 MB / 0.952 GB, free: 13.55 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 7.346e-06/1.431, allocations: 0.5625 kB / 0.952 GB, free: 13.55 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.002257/1.433, allocations: 1.036 MB / 0.953 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002873/1.436, allocations: 402.8 kB / 0.9534 GB, free: 12.11 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01468/1.451, allocations: 5.383 MB / 0.9586 GB, free: 6.684 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004235/1.455, allocations: 2.461 MB / 0.961 GB, free: 4.203 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.003321/1.459, allocations: 0.545 MB / 0.9616 GB, free: 3.652 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001352/1.46, allocations: 235.4 kB / 0.9618 GB, free: 3.422 MB / 0.7448 GB Notification: Performance of SimCode: time 1.951e-06/1.46, allocations: 0 / 0.9618 GB, free: 3.422 MB / 0.7448 GB Notification: Performance of Templates: time 0.1179/1.578, allocations: 34 MB / 0.995 GB, free: 1.523 MB / 0.7761 GB