Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversion.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversion") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.062/5.062, allocations: 0.5623 GB / 0.5776 GB, free: 3.359 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002565/0.002565, allocations: 359.6 kB / 0.6447 GB, free: 185.7 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.463/4.463, allocations: 410.7 MB / 1.113 GB, free: 147.9 MB / 0.5886 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001816/0.001816, allocations: 175.7 kB / 1.226 GB, free: 36.02 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004935/0.0004937, allocations: 12 kB / 1.349 GB, free: 121.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2041/0.2046, allocations: 115.3 MB / 1.461 GB, free: 6.652 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversion): time 0.01204/0.2167, allocations: 7.78 MB / 1.469 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0122/0.229, allocations: 4.154 MB / 1.473 GB, free: 10.67 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00273/0.2318, allocations: 43.81 kB / 1.473 GB, free: 10.62 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.003677/0.2355, allocations: 0.6681 MB / 1.474 GB, free: 9.953 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.004002/0.2395, allocations: 0.5243 MB / 1.474 GB, free: 9.426 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.006577/0.2461, allocations: 1.029 MB / 1.475 GB, free: 8.402 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.01978/0.2659, allocations: 2.919 MB / 1.478 GB, free: 5.484 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005595/0.2716, allocations: 1.748 MB / 1.48 GB, free: 3.707 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01064/0.2823, allocations: 0.8395 MB / 1.481 GB, free: 2.863 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007012/0.2894, allocations: 0.9751 MB / 1.482 GB, free: 1.883 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0009983/0.2905, allocations: 96 kB / 1.482 GB, free: 1.789 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001727/0.2922, allocations: 363.5 kB / 1.482 GB, free: 1.434 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.001916/0.2941, allocations: 1.086 MB / 1.483 GB, free: 352 kB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.001516/0.2957, allocations: 0.7102 MB / 1.484 GB, free: 15.62 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.01679/0.3125, allocations: 4.543 MB / 1.488 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 8.666e-06/0.3126, allocations: 0 / 1.488 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.765e-06/0.3126, allocations: 0 / 1.488 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.000198/0.3128, allocations: 0 / 1.488 GB, free: 11.07 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.01287/0.3257, allocations: 3.995 MB / 1.492 GB, free: 6.953 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.481e-05/0.3258, allocations: 8.031 kB / 1.492 GB, free: 6.945 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005094/0.3309, allocations: 0.7396 MB / 1.493 GB, free: 6.199 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009246/0.3402, allocations: 2.815 MB / 1.496 GB, free: 3.309 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003255/0.3406, allocations: 210.3 kB / 1.496 GB, free: 3.094 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007085/0.3413, allocations: 224 kB / 1.496 GB, free: 2.875 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008281/0.3496, allocations: 2.533 MB / 1.498 GB, free: 196 kB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.106e-05/0.3497, allocations: 3.938 kB / 1.498 GB, free: 192 kB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003177/0.3501, allocations: 92 kB / 1.499 GB, free: 100 kB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.436e-05/0.3502, allocations: 59.95 kB / 1.499 GB, free: 40 kB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008423/0.3586, allocations: 2.166 MB / 1.501 GB, free: 13.87 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02495/0.3836, allocations: 10.55 MB / 1.511 GB, free: 3.109 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006368/0.39, allocations: 2.019 MB / 1.513 GB, free: 1.07 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002546/0.3926, allocations: 0.8405 MB / 1.514 GB, free: 232 kB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001756/0.3944, allocations: 457.9 kB / 1.514 GB, free: 15.76 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003593/0.398, allocations: 1.108 MB / 1.515 GB, free: 14.62 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=157): time 6.963e-06/0.3981, allocations: 4 kB / 1.515 GB, free: 14.62 MB / 0.6667 GB Notification: Performance of matching and sorting (n=157): time 0.01022/0.4083, allocations: 2.768 MB / 1.518 GB, free: 11.84 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001505/0.4085, allocations: 187.5 kB / 1.518 GB, free: 11.62 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01183/0.4204, allocations: 4.902 MB / 1.523 GB, free: 6.703 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0005004/0.4209, allocations: 93.69 kB / 1.523 GB, free: 6.605 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.002968/0.4239, allocations: 1.901 MB / 1.525 GB, free: 4.688 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009063/0.4249, allocations: 446.1 kB / 1.525 GB, free: 4.246 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002115/0.4251, allocations: 40 kB / 1.525 GB, free: 4.207 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0002436/0.4254, allocations: 386 kB / 1.526 GB, free: 3.824 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002846/0.4282, allocations: 0.8396 MB / 1.527 GB, free: 2.98 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003265/0.4315, allocations: 1.376 MB / 1.528 GB, free: 1.379 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002785/0.4343, allocations: 0.9017 MB / 1.529 GB, free: 480 kB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.447e-05/0.4343, allocations: 4 kB / 1.529 GB, free: 476 kB / 0.6667 GB Notification: Performance of matching and sorting (n=262) (initialization): time 0.6642/1.099, allocations: 2.625 MB / 1.531 GB, free: 67.09 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 7.898e-05/1.099, allocations: 43.16 kB / 1.531 GB, free: 67.06 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.043e-05/1.099, allocations: 14.06 kB / 1.531 GB, free: 67.06 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.421e-05/1.099, allocations: 26.19 kB / 1.531 GB, free: 67.06 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002714/1.101, allocations: 321.8 kB / 1.532 GB, free: 67.04 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.919e-05/1.102, allocations: 34.33 kB / 1.532 GB, free: 67.03 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003104/1.105, allocations: 249.6 kB / 1.532 GB, free: 67.03 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000439/1.105, allocations: 90.78 kB / 1.532 GB, free: 67.03 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.003151/1.108, allocations: 1.134 MB / 1.533 GB, free: 66.59 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001271/1.11, allocations: 391.9 kB / 1.534 GB, free: 66.44 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007531/1.117, allocations: 2.295 MB / 1.536 GB, free: 65.58 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.277e-05/1.117, allocations: 10.31 kB / 1.536 GB, free: 65.58 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.905e-06/1.117, allocations: 4.812 kB / 1.536 GB, free: 65.58 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002443/1.12, allocations: 0.7537 MB / 1.537 GB, free: 65.1 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001095/1.121, allocations: 50.83 kB / 1.537 GB, free: 65.07 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002359/1.123, allocations: 92.09 kB / 1.537 GB, free: 65.05 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008193/1.124, allocations: 205.3 kB / 1.537 GB, free: 65 MB / 0.6667 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007171/1.131, allocations: 2.209 MB / 1.539 GB, free: 64.1 MB / 0.6667 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01068/1.142, allocations: 3.606 MB / 1.543 GB, free: 62.45 MB / 0.6667 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003059/1.145, allocations: 0.9739 MB / 1.544 GB, free: 62.07 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.009619/1.155, allocations: 3.303 MB / 1.547 GB, free: 60.89 MB / 0.6667 GB Notification: Performance of Backend: time 1.512e-06/1.155, allocations: 4 kB / 1.547 GB, free: 60.88 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.008279/1.163, allocations: 1.864 MB / 1.549 GB, free: 60.21 MB / 0.6667 GB Notification: Performance of SimCode: time 0.01903/1.182, allocations: 7.788 MB / 1.556 GB, free: 55.8 MB / 0.6667 GB Notification: Performance of Templates: time 0.1082/1.29, allocations: 35.01 MB / 1.59 GB, free: 32.93 MB / 0.6667 GB