Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.PowerConsumption.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.PowerConsumption,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.PowerConsumption") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.PowerConsumption,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.PowerConsumption") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.621/1.621, allocations: 287.4 MB / 303.2 MB, free: 8.297 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.001428/0.001428, allocations: 185.5 kB / 371.8 MB, free: 10.82 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.447/1.447, allocations: 205.4 MB / 0.6304 GB, free: 10.54 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.0008922/0.0008922, allocations: 99.03 kB / 0.7438 GB, free: 6.551 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005988/0.0005992, allocations: 15.69 kB / 0.8667 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2174/0.218, allocations: 115.3 MB / 0.9793 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.PowerConsumption): time 0.00431/0.2224, allocations: 4.112 MB / 0.9833 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.004354/0.2268, allocations: 2.888 MB / 0.9861 GB, free: 21.15 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009186/0.2277, allocations: 31.81 kB / 0.9861 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001534/0.2293, allocations: 0.5366 MB / 0.9867 GB, free: 20.58 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001104/0.2304, allocations: 316.2 kB / 0.987 GB, free: 20.27 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.00184/0.2322, allocations: 0.6374 MB / 0.9876 GB, free: 19.64 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.002104/0.2343, allocations: 1.76 MB / 0.9893 GB, free: 17.88 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001645/0.236, allocations: 1.038 MB / 0.9903 GB, free: 16.82 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008259/0.2368, allocations: 0.5017 MB / 0.9908 GB, free: 16.32 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007136/0.2376, allocations: 0.5479 MB / 0.9914 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0002438/0.2378, allocations: 56 kB / 0.9914 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004628/0.2383, allocations: 131.9 kB / 0.9915 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0003562/0.2387, allocations: 378.6 kB / 0.9919 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0002976/0.239, allocations: 312.7 kB / 0.9922 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001246/0.2402, allocations: 1.711 MB / 0.9939 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.2402, allocations: 0 / 0.9939 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.755e-06/0.2402, allocations: 3.984 kB / 0.9939 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 2.016e-05/0.2403, allocations: 0 / 0.9939 GB, free: 13.18 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 300 * Number of variables: 300 Notification: Performance of Generate backend data structure: time 0.00243/0.2427, allocations: 1.721 MB / 0.9955 GB, free: 11.37 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.864e-05/0.2428, allocations: 8.031 kB / 0.9956 GB, free: 11.36 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002442/0.243, allocations: 202.6 kB / 0.9957 GB, free: 11.16 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001255/0.2443, allocations: 1.102 MB / 0.9968 GB, free: 10.01 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001269/0.2444, allocations: 148.7 kB / 0.997 GB, free: 9.855 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001471/0.2446, allocations: 132 kB / 0.9971 GB, free: 9.727 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001809/0.2464, allocations: 1.386 MB / 0.9984 GB, free: 8.211 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.667e-05/0.2464, allocations: 3.938 kB / 0.9985 GB, free: 8.207 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.9e-05/0.2465, allocations: 52 kB / 0.9985 GB, free: 8.156 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.253e-05/0.2466, allocations: 36 kB / 0.9985 GB, free: 8.121 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001386/0.2479, allocations: 0.937 MB / 0.9994 GB, free: 7.176 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004702/0.2527, allocations: 5.638 MB / 1.005 GB, free: 1.359 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001116/0.2538, allocations: 0.7366 MB / 1.006 GB, free: 0.6133 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004586/0.2543, allocations: 374 kB / 1.006 GB, free: 256 kB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 5.47e-05/0.2543, allocations: 16.94 kB / 1.006 GB, free: 240 kB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008286/0.2552, allocations: 0.4983 MB / 1.007 GB, free: 15.72 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=97): time 3.957e-06/0.2552, allocations: 4 kB / 1.007 GB, free: 15.71 MB / 0.6355 GB Notification: Performance of matching and sorting (n=97): time 0.002075/0.2573, allocations: 1.127 MB / 1.008 GB, free: 14.58 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.788e-05/0.2574, allocations: 131.7 kB / 1.008 GB, free: 14.43 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001846/0.2592, allocations: 1.445 MB / 1.009 GB, free: 12.96 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001118/0.2593, allocations: 81.69 kB / 1.009 GB, free: 12.88 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005833/0.2599, allocations: 0.7277 MB / 1.01 GB, free: 12.15 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002067/0.2602, allocations: 241 kB / 1.01 GB, free: 11.91 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.174e-05/0.2602, allocations: 32 kB / 1.01 GB, free: 11.88 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001503/0.2604, allocations: 353.9 kB / 1.011 GB, free: 11.53 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006489/0.261, allocations: 375.8 kB / 1.011 GB, free: 11.16 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008929/0.2619, allocations: 0.7572 MB / 1.012 GB, free: 10.25 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001252/0.2632, allocations: 0.907 MB / 1.013 GB, free: 9.195 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.422e-06/0.2632, allocations: 0 / 1.013 GB, free: 9.195 MB / 0.6355 GB Notification: Performance of matching and sorting (n=179) (initialization): time 0.002011/0.2652, allocations: 1.23 MB / 1.014 GB, free: 7.957 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.864e-05/0.2653, allocations: 8 kB / 1.014 GB, free: 7.949 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.892e-05/0.2653, allocations: 16.09 kB / 1.014 GB, free: 7.934 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.759e-05/0.2653, allocations: 23.88 kB / 1.014 GB, free: 7.91 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005403/0.2659, allocations: 175.6 kB / 1.014 GB, free: 7.738 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.613e-05/0.2659, allocations: 19.94 kB / 1.014 GB, free: 7.719 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000692/0.2666, allocations: 146.8 kB / 1.014 GB, free: 7.574 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001024/0.2667, allocations: 67.98 kB / 1.014 GB, free: 7.508 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 120 ($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,$whenCondition10,$PRE.avaSig.combiTimeTable.nextTimeEvent,$whenCondition9,$PRE.runSig.combiTimeTable.nextTimeEvent,$whenCondition1,$PRE.mWat_flow.tab.nextTimeEvent,stateGraphRoot.resume,stateGraphRoot.suspend,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition2,$whenCondition3,$whenCondition4,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,$PRE.con.warUpCtr.timer.passed,con.warUpCtr.timer.passed,$PRE.con.warUpCtr.timer.entryTime,con.warUpCtr.timer.entryTime,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,powCon.staBy.y,powCon.cooDow.y,stateGraphRoot.activeSteps) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (179): * Single equations (assignments): 179 * Array equations: 0 * Algorithm blocks: 0 * 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.0008487/0.2676, allocations: 0.4933 MB / 1.015 GB, free: 7 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001811/0.2678, allocations: 146.2 kB / 1.015 GB, free: 6.855 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001648/0.2694, allocations: 0.9734 MB / 1.016 GB, free: 5.875 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.235e-05/0.2695, allocations: 7.922 kB / 1.016 GB, free: 5.867 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.2695, allocations: 4 kB / 1.016 GB, free: 5.863 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003104/0.2698, allocations: 239 kB / 1.016 GB, free: 5.609 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001547/0.27, allocations: 28 kB / 1.016 GB, free: 5.582 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003326/0.2703, allocations: 55.95 kB / 1.016 GB, free: 5.527 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003071/0.2706, allocations: 148.8 kB / 1.016 GB, free: 5.379 MB / 0.6355 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001515/0.2721, allocations: 0.9505 MB / 1.017 GB, free: 4.426 MB / 0.6355 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001467/0.2736, allocations: 1.114 MB / 1.018 GB, free: 3.285 MB / 0.6355 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006191/0.2742, allocations: 435.8 kB / 1.019 GB, free: 2.863 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001224/0.2755, allocations: 0.8972 MB / 1.02 GB, free: 1.965 MB / 0.6355 GB Notification: Performance of Backend: time 1.172e-06/0.2755, allocations: 0 / 1.02 GB, free: 1.965 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002736/0.2782, allocations: 1.101 MB / 1.021 GB, free: 1.02 MB / 0.6355 GB Notification: Performance of SimCode: time 0.004879/0.2831, allocations: 3.252 MB / 1.024 GB, free: 13.71 MB / 0.6511 GB Notification: Performance of Templates: time 0.03103/0.3142, allocations: 13.93 MB / 1.037 GB, free: 15.86 MB / 0.6667 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.PowerConsumption.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.PowerConsumption.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.PowerConsumption.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.PowerConsumption.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.PowerConsumption.sim & ./Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.PowerConsumption -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.PowerConsumption.pipe 2>&1)