Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.PowerConsumption.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.PowerConsumption,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.PowerConsumption") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.PowerConsumption,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.PowerConsumption") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.377/1.377, allocations: 251.5 MB / 267.4 MB, free: 11.05 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.001143/0.001143, allocations: 174.7 kB / 326.5 MB, free: 2.664 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.669/1.669, allocations: 205 MB / 0.5767 GB, free: 20.89 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.0007209/0.0007211, allocations: 88.94 kB / 0.6804 GB, free: 14.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000365/0.0003651, allocations: 11.47 kB / 0.7938 GB, free: 136.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2112/0.2116, allocations: 105.4 MB / 0.8968 GB, free: 68.13 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.PowerConsumption): time 0.004302/0.216, allocations: 4.543 MB / 0.9012 GB, free: 63.56 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003784/0.2198, allocations: 2.901 MB / 0.904 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006664/0.2205, allocations: 23.88 kB / 0.9041 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001293/0.2218, allocations: 0.5523 MB / 0.9046 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0006776/0.2225, allocations: 346.5 kB / 0.9049 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001464/0.2239, allocations: 0.8105 MB / 0.9057 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0014/0.2253, allocations: 1.886 MB / 0.9076 GB, free: 57.04 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009958/0.2264, allocations: 1.02 MB / 0.9086 GB, free: 55.99 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003827/0.2267, allocations: 0.5131 MB / 0.9091 GB, free: 55.48 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003755/0.2271, allocations: 0.571 MB / 0.9096 GB, free: 54.9 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001021/0.2272, allocations: 56 kB / 0.9097 GB, free: 54.85 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000248/0.2275, allocations: 108 kB / 0.9098 GB, free: 54.74 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0002208/0.2277, allocations: 394.4 kB / 0.9101 GB, free: 54.36 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0003666/0.2281, allocations: 0.6984 MB / 0.9108 GB, free: 53.65 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.001187/0.2293, allocations: 2.074 MB / 0.9129 GB, free: 51.57 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.85e-06/0.2293, allocations: 0 / 0.9129 GB, free: 51.57 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.863e-06/0.2293, allocations: 0 / 0.9129 GB, free: 51.57 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.803e-05/0.2293, allocations: 0 / 0.9129 GB, free: 51.57 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: 306 * Number of variables: 306 Notification: Performance of Generate backend data structure: time 0.001973/0.2313, allocations: 1.721 MB / 0.9145 GB, free: 49.76 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.2314, allocations: 12.03 kB / 0.9145 GB, free: 49.75 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002303/0.2316, allocations: 206.5 kB / 0.9147 GB, free: 49.55 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001146/0.2328, allocations: 1.098 MB / 0.9158 GB, free: 48.39 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001157/0.2329, allocations: 148.7 kB / 0.916 GB, free: 48.24 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001181/0.233, allocations: 128 kB / 0.9161 GB, free: 48.12 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001638/0.2347, allocations: 1.398 MB / 0.9174 GB, free: 46.59 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.809e-05/0.2347, allocations: 3.938 kB / 0.9174 GB, free: 46.59 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.044e-05/0.2348, allocations: 55.98 kB / 0.9175 GB, free: 46.53 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.823e-05/0.2348, allocations: 28 kB / 0.9175 GB, free: 46.5 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001302/0.2361, allocations: 0.949 MB / 0.9185 GB, free: 45.55 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004037/0.2402, allocations: 5.611 MB / 0.9239 GB, free: 39.76 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001059/0.2413, allocations: 0.7433 MB / 0.9247 GB, free: 39 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004456/0.2417, allocations: 371.7 kB / 0.925 GB, free: 38.64 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 5.298e-05/0.2418, allocations: 10.41 kB / 0.925 GB, free: 38.62 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006793/0.2425, allocations: 0.5047 MB / 0.9255 GB, free: 38.11 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=99): time 3.687e-06/0.2425, allocations: 0 / 0.9255 GB, free: 38.11 MB / 0.6042 GB Notification: Performance of matching and sorting (n=99): time 0.001587/0.2441, allocations: 1.116 MB / 0.9266 GB, free: 36.99 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.06e-05/0.2441, allocations: 127.8 kB / 0.9267 GB, free: 36.84 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001299/0.2454, allocations: 1.465 MB / 0.9282 GB, free: 35.35 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.107e-05/0.2455, allocations: 77.7 kB / 0.9282 GB, free: 35.27 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003918/0.2459, allocations: 0.7318 MB / 0.9289 GB, free: 34.53 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001348/0.2461, allocations: 248.9 kB / 0.9292 GB, free: 34.29 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001606/0.2462, allocations: 205.6 kB / 0.9294 GB, free: 34.08 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.873e-05/0.2463, allocations: 305.1 kB / 0.9297 GB, free: 33.78 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006054/0.2469, allocations: 387.8 kB / 0.93 GB, free: 33.4 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006701/0.2476, allocations: 0.7746 MB / 0.9308 GB, free: 32.46 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009582/0.2485, allocations: 0.9477 MB / 0.9317 GB, free: 31.37 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.552e-06/0.2485, allocations: 4 kB / 0.9317 GB, free: 31.36 MB / 0.6042 GB Notification: Performance of matching and sorting (n=185) (initialization): time 0.001629/0.2502, allocations: 1.268 MB / 0.933 GB, free: 30.09 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/0.2502, allocations: 8 kB / 0.933 GB, free: 30.08 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.341e-05/0.2502, allocations: 12 kB / 0.933 GB, free: 30.07 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.689e-05/0.2503, allocations: 23.98 kB / 0.933 GB, free: 30.04 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004678/0.2507, allocations: 171.6 kB / 0.9332 GB, free: 29.88 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.888e-05/0.2508, allocations: 23.92 kB / 0.9332 GB, free: 29.85 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005676/0.2513, allocations: 155.2 kB / 0.9333 GB, free: 29.7 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.925e-05/0.2514, allocations: 67.92 kB / 0.9334 GB, free: 29.63 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 126 ($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,con.warUpCtr.timer.yAcc,$PRE.con.warUpCtr.timer.yAcc,$PRE.avaSig.combiTimeTable.nextTimeEvent,$whenCondition10,$PRE.runSig.combiTimeTable.nextTimeEvent,$whenCondition9,$PRE.mWat_flow.tab.nextTimeEvent,$whenCondition1,stateGraphRoot.resume,stateGraphRoot.suspend,con.timer.reset_internal,$PRE.con.timer.reset_internal,con.warUpCtr.timer.reset_internal,$PRE.con.warUpCtr.timer.reset_internal,stateGraphRoot.activeSteps,powCon.cooDow.y,powCon.staBy.y,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.timer.entryTime,$PRE.con.warUpCtr.timer.entryTime,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,$whenCondition3,$whenCondition2,$whenCondition4,$whenCondition5,$whenCondition7,$whenCondition6,$whenCondition8) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (185): * Single equations (assignments): 185 * Array equations: 0 * Algorithm blocks: 0 * 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.000647/0.2521, allocations: 0.5056 MB / 0.9339 GB, free: 29.11 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001564/0.2522, allocations: 154.1 kB / 0.934 GB, free: 28.96 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001364/0.2536, allocations: 0.9543 MB / 0.935 GB, free: 27.99 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.015e-05/0.2536, allocations: 3.984 kB / 0.935 GB, free: 27.99 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/0.2536, allocations: 8 kB / 0.935 GB, free: 27.98 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002031/0.2539, allocations: 231 kB / 0.9352 GB, free: 27.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001441/0.254, allocations: 31.98 kB / 0.9352 GB, free: 27.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003021/0.2543, allocations: 43.97 kB / 0.9353 GB, free: 27.66 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000223/0.2545, allocations: 128.8 kB / 0.9354 GB, free: 27.54 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001204/0.2558, allocations: 0.9428 MB / 0.9363 GB, free: 26.59 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001155/0.2569, allocations: 1.095 MB / 0.9374 GB, free: 25.47 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004944/0.2574, allocations: 431.8 kB / 0.9378 GB, free: 25.05 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0008929/0.2583, allocations: 0.9091 MB / 0.9387 GB, free: 24.14 MB / 0.6042 GB Notification: Performance of Backend: time 1.182e-06/0.2583, allocations: 0 / 0.9387 GB, free: 24.14 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002454/0.2608, allocations: 1.128 MB / 0.9398 GB, free: 23.16 MB / 0.6042 GB Notification: Performance of SimCode: time 0.003988/0.2648, allocations: 3.408 MB / 0.9431 GB, free: 19.7 MB / 0.6042 GB Notification: Performance of Templates: time 0.02248/0.2873, allocations: 14.16 MB / 0.957 GB, free: 5.613 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.PowerConsumption.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.PowerConsumption.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.PowerConsumption.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.PowerConsumption.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.PowerConsumption.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.PowerConsumption -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.PowerConsumption.pipe 2>&1)