Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.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.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.38/1.38, allocations: 251.5 MB / 267.4 MB, free: 11.04 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.001037/0.001037, allocations: 169.6 kB / 326.5 MB, free: 2.676 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.479/1.479, allocations: 205 MB / 0.5766 GB, free: 20.99 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.0007092/0.0007093, allocations: 94.44 kB / 0.6804 GB, free: 14.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002932/0.0002932, allocations: 12.45 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1884/0.1887, allocations: 105.4 MB / 0.8968 GB, free: 68.14 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversion): time 0.007049/0.1958, allocations: 8.68 MB / 0.9052 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00769/0.2035, allocations: 4.336 MB / 0.9095 GB, free: 55.07 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002491/0.206, allocations: 43.81 kB / 0.9095 GB, free: 55.02 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.002163/0.2082, allocations: 0.723 MB / 0.9102 GB, free: 54.3 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.001902/0.2101, allocations: 0.5193 MB / 0.9107 GB, free: 53.78 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0026/0.2127, allocations: 1.247 MB / 0.9119 GB, free: 52.54 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0031/0.2158, allocations: 3.143 MB / 0.915 GB, free: 49.39 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002198/0.2181, allocations: 1.991 MB / 0.9169 GB, free: 47.33 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000949/0.219, allocations: 0.8741 MB / 0.9178 GB, free: 46.45 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008431/0.2199, allocations: 1.025 MB / 0.9188 GB, free: 45.42 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001957/0.2201, allocations: 95.94 kB / 0.9189 GB, free: 45.33 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007803/0.2209, allocations: 363.7 kB / 0.9192 GB, free: 44.97 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0005728/0.2214, allocations: 1.098 MB / 0.9203 GB, free: 43.87 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.001138/0.2226, allocations: 1.691 MB / 0.922 GB, free: 42.17 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.003195/0.2258, allocations: 5.366 MB / 0.9272 GB, free: 36.78 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.2258, allocations: 0 / 0.9272 GB, free: 36.78 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.994e-06/0.2258, allocations: 0 / 0.9272 GB, free: 36.78 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.058e-05/0.2259, allocations: 0 / 0.9272 GB, free: 36.78 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.004919/0.2308, allocations: 3.951 MB / 0.9311 GB, free: 32.72 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.633e-05/0.2309, allocations: 8.031 kB / 0.9311 GB, free: 32.71 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002302/0.2332, allocations: 0.7289 MB / 0.9318 GB, free: 31.98 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003827/0.237, allocations: 2.98 MB / 0.9347 GB, free: 28.92 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001515/0.2372, allocations: 218.7 kB / 0.9349 GB, free: 28.7 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002252/0.2374, allocations: 224 kB / 0.9351 GB, free: 28.48 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003526/0.241, allocations: 2.56 MB / 0.9376 GB, free: 25.77 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.818e-05/0.241, allocations: 3.938 kB / 0.9376 GB, free: 25.77 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001456/0.2412, allocations: 92 kB / 0.9377 GB, free: 25.68 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.799e-05/0.2412, allocations: 52 kB / 0.9378 GB, free: 25.62 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003338/0.2446, allocations: 2.19 MB / 0.9399 GB, free: 23.43 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01256/0.2571, allocations: 10.59 MB / 0.9502 GB, free: 12.63 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003004/0.2602, allocations: 2.027 MB / 0.9522 GB, free: 10.58 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001096/0.2613, allocations: 0.8419 MB / 0.953 GB, free: 9.738 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008028/0.2621, allocations: 462.2 kB / 0.9535 GB, free: 9.266 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001477/0.2636, allocations: 1.12 MB / 0.9546 GB, free: 8.121 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=158): time 3.857e-06/0.2636, allocations: 0 / 0.9546 GB, free: 8.121 MB / 0.6042 GB Notification: Performance of matching and sorting (n=158): time 0.004603/0.2682, allocations: 2.779 MB / 0.9573 GB, free: 5.328 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.681e-05/0.2683, allocations: 191.4 kB / 0.9575 GB, free: 5.102 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006221/0.2745, allocations: 4.922 MB / 0.9623 GB, free: 168 kB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0004218/0.275, allocations: 101.7 kB / 0.9624 GB, free: 60 kB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.001871/0.2769, allocations: 1.913 MB / 0.9642 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005519/0.2774, allocations: 442.1 kB / 0.9647 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003649/0.2778, allocations: 273.8 kB / 0.9649 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001093/0.2779, allocations: 301.1 kB / 0.9652 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001569/0.2795, allocations: 0.8591 MB / 0.966 GB, free: 12.26 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001892/0.2814, allocations: 1.405 MB / 0.9674 GB, free: 10.62 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00296/0.2844, allocations: 2.028 MB / 0.9694 GB, free: 8.395 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.09e-05/0.2844, allocations: 4 kB / 0.9694 GB, free: 8.391 MB / 0.6198 GB Notification: Performance of matching and sorting (n=265) (initialization): time 0.005098/0.2895, allocations: 2.677 MB / 0.972 GB, free: 5.691 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.069e-05/0.2896, allocations: 41.7 kB / 0.9721 GB, free: 5.645 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.06e-05/0.2896, allocations: 12 kB / 0.9721 GB, free: 5.633 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.699e-05/0.2896, allocations: 24 kB / 0.9721 GB, free: 5.609 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001143/0.2908, allocations: 315.6 kB / 0.9724 GB, free: 5.301 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.852e-05/0.2908, allocations: 27.94 kB / 0.9724 GB, free: 5.273 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001844/0.2927, allocations: 254.1 kB / 0.9727 GB, free: 5.023 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001456/0.2928, allocations: 87.98 kB / 0.9727 GB, free: 4.938 MB / 0.6198 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,con.timer.yAcc,$PRE.con.timer.yAcc,$PRE.mWat_flow.tab.nextTimeEvent,$whenCondition8,$PRE.runSig.combiTimeTable.nextTimeEvent,$whenCondition3,$PRE.avaSig.combiTimeTable.nextTimeEvent,$whenCondition2,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,con.timer.reset_internal,$PRE.con.timer.reset_internal,eneConEngTem.opeModWarUpEngTem.temChe.y,$PRE.eneConEngTem.opeModWarUpEngTem.temChe.y,stateGraphRoot.activeSteps,PEle.nextEventScaled,PEle.nextEvent,$PRE.PEle.nextEvent,PEle.last,PEle.b,PEle.a,avaSig.combiTimeTable.nextTimeEventScaled,$PRE.avaSig.combiTimeTable.nextTimeEventScaled,avaSig.combiTimeTable.nextTimeEvent,runSig.combiTimeTable.nextTimeEventScaled,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEvent,con.timer.entryTime,$PRE.con.timer.entryTime,con.timeDel.y,con.transition4.t_start,$PRE.con.transition4.t_start,con.transition4.fire,con.transition4.enableFire,con.transition4.localCondition,con.plaOff.oldActive,$PRE.con.plaOff.oldActive,con.plaOff.newActive,$PRE.con.plaOff.newActive,con.plaOff.inPort[3].occupied,con.plaOff.inPort[2].occupied,con.plaOff.localActive,$PRE.con.plaOff.localActive,con.plaOff.active,con.transition6.enableFire,con.transition6.localCondition,con.warUpCtr.pre.u,$PRE.con.warUpCtr.pre.u,con.warUpCtr.hysPow.y,$PRE.con.warUpCtr.hysPow.y,con.warUpCtr.hysTem.y,$PRE.con.warUpCtr.hysTem.y,con.warUpCtr.y,con.transition8.enableFire,con.nor.oldActive,$PRE.con.nor.oldActive,con.nor.newActive,$PRE.con.nor.newActive,con.nor.localActive,$PRE.con.nor.localActive,con.nor.active,con.transition2.enableFire,con.transition1.enableFire,con.assWatMas.hys.y,$PRE.con.assWatMas.hys.y,con.assWatMas.nand.y,con.transition10.enableFire,con.transition10.localCondition,con.transition7.enableFire,con.transition7.localCondition,con.transition9.enableFire,con.transition5.enableFire,con.transition3.enableFire,con.hys.y,$PRE.con.hys.y,con.cooDow.active,con.cooDow.oldActive,$PRE.con.cooDow.oldActive,con.cooDow.newActive,$PRE.con.cooDow.newActive,con.cooDow.outPort[2].available,con.cooDow.inPort[2].occupied,con.cooDow.localActive,$PRE.con.cooDow.localActive,con.warUp.active,con.warUp.oldActive,$PRE.con.warUp.oldActive,con.warUp.newActive,$PRE.con.warUp.newActive,con.warUp.outPort[2].available,con.warUp.inPort[2].occupied,con.warUp.localActive,$PRE.con.warUp.localActive,con.pumOn.oldActive,$PRE.con.pumOn.oldActive,con.pumOn.newActive,$PRE.con.pumOn.newActive,con.pumOn.outPort[2].available,con.pumOn.localActive,$PRE.con.pumOn.localActive,con.pumOn.active,con.staBy.oldActive,$PRE.con.staBy.oldActive,con.staBy.newActive,$PRE.con.staBy.newActive,con.staBy.outPort[2].available,con.staBy.localActive,$PRE.con.staBy.localActive,con.staBy.active,con.opeMod,con.runSig,con.avaSig,mWat_flow.tab.nextTimeEventScaled,$PRE.mWat_flow.tab.nextTimeEventScaled,mWat_flow.tab.nextTimeEvent,eneConTimDel.wamUpMod.y,eneConTimDel.booExp.y,eneConTimDel.assFue.hys.y,$PRE.eneConTimDel.assFue.hys.y,eneConEngTem.and1.y,eneConEngTem.booExp.y,eneConEngTem.assFue.hys.y,$PRE.eneConEngTem.assFue.hys.y,$whenCondition1,$whenCondition5,$whenCondition4,$whenCondition6,$whenCondition7) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001863/0.2947, allocations: 1.145 MB / 0.9739 GB, free: 3.773 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007909/0.2955, allocations: 394.9 kB / 0.9742 GB, free: 3.383 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003975/0.2995, allocations: 2.298 MB / 0.9765 GB, free: 1.07 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.64e-05/0.2995, allocations: 7.969 kB / 0.9765 GB, free: 1.062 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.2995, allocations: 4 kB / 0.9765 GB, free: 1.059 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001257/0.3008, allocations: 0.7455 MB / 0.9772 GB, free: 296 kB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003903/0.3012, allocations: 44 kB / 0.9773 GB, free: 252 kB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009095/0.3021, allocations: 95.92 kB / 0.9774 GB, free: 156 kB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003739/0.3025, allocations: 193.1 kB / 0.9775 GB, free: 15.96 MB / 0.6355 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00367/0.3062, allocations: 2.209 MB / 0.9797 GB, free: 13.73 MB / 0.6355 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.005472/0.3117, allocations: 3.619 MB / 0.9832 GB, free: 10.08 MB / 0.6355 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001451/0.3131, allocations: 0.9793 MB / 0.9842 GB, free: 9.098 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.005191/0.3183, allocations: 3.332 MB / 0.9874 GB, free: 5.766 MB / 0.6355 GB Notification: Performance of Backend: time 4.91e-07/0.3184, allocations: 0 / 0.9874 GB, free: 5.766 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.004703/0.3231, allocations: 1.894 MB / 0.9893 GB, free: 4.016 MB / 0.6355 GB Notification: Performance of SimCode: time 0.01076/0.3339, allocations: 8.159 MB / 0.9973 GB, free: 11.79 MB / 0.6511 GB Notification: Performance of Templates: time 0.06201/0.3959, allocations: 35.52 MB / 1.032 GB, free: 8.375 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversion.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversion.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversion.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversion.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversion.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversion.pipe 2>&1)