Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.PowerConsumption.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.PowerConsumption,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.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_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.PowerConsumption") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.335/2.335, allocations: 251.1 MB / 266.7 MB, free: 11.62 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.001405/0.001396, allocations: 182.5 kB / 326.3 MB, free: 2.859 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.466/2.466, allocations: 205.4 MB / 0.5772 GB, free: 20.8 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.0009589/0.0009586, allocations: 102.1 kB / 0.6817 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007519/0.0007521, allocations: 11.88 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2691/0.2699, allocations: 106.3 MB / 0.8995 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.PowerConsumption): time 0.006822/0.2768, allocations: 4.187 MB / 0.9036 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00644/0.2833, allocations: 2.781 MB / 0.9063 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001263/0.2846, allocations: 31.81 kB / 0.9063 GB, free: 58.48 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.002291/0.2869, allocations: 0.5383 MB / 0.9069 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.00182/0.2888, allocations: 322.5 kB / 0.9072 GB, free: 57.63 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.002899/0.2917, allocations: 0.631 MB / 0.9078 GB, free: 57 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.003017/0.2947, allocations: 1.761 MB / 0.9095 GB, free: 55.24 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001973/0.2968, allocations: 1.019 MB / 0.9105 GB, free: 54.2 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007887/0.2976, allocations: 0.5017 MB / 0.911 GB, free: 53.7 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006811/0.2983, allocations: 0.5479 MB / 0.9115 GB, free: 53.14 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001712/0.2985, allocations: 56 kB / 0.9116 GB, free: 53.09 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003984/0.2989, allocations: 104 kB / 0.9117 GB, free: 52.99 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0003638/0.2993, allocations: 390.6 kB / 0.9121 GB, free: 52.61 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0003802/0.2997, allocations: 304.7 kB / 0.9124 GB, free: 52.3 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.002066/0.3017, allocations: 1.715 MB / 0.914 GB, free: 50.58 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/0.3018, allocations: 0 / 0.914 GB, free: 50.58 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.765e-06/0.3018, allocations: 0 / 0.914 GB, free: 50.58 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.8e-05/0.3019, allocations: 0 / 0.914 GB, free: 50.58 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.003768/0.3056, allocations: 1.733 MB / 0.9157 GB, free: 48.77 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.13e-05/0.3057, allocations: 12.03 kB / 0.9157 GB, free: 48.75 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004502/0.3062, allocations: 206.5 kB / 0.9159 GB, free: 48.55 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00225/0.3084, allocations: 1.037 MB / 0.9169 GB, free: 47.46 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001675/0.3086, allocations: 144.7 kB / 0.9171 GB, free: 47.31 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00024/0.3089, allocations: 136 kB / 0.9172 GB, free: 47.18 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003004/0.3119, allocations: 1.387 MB / 0.9186 GB, free: 45.66 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.538e-05/0.312, allocations: 7.938 kB / 0.9186 GB, free: 45.66 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001571/0.3122, allocations: 55.98 kB / 0.9186 GB, free: 45.6 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.347e-05/0.3122, allocations: 35.94 kB / 0.9187 GB, free: 45.57 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002491/0.3147, allocations: 0.945 MB / 0.9196 GB, free: 44.61 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007678/0.3224, allocations: 5.615 MB / 0.9251 GB, free: 38.82 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001931/0.3244, allocations: 0.728 MB / 0.9258 GB, free: 38.08 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008927/0.3253, allocations: 371.7 kB / 0.9261 GB, free: 37.72 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 7.824e-05/0.3254, allocations: 9 kB / 0.9261 GB, free: 37.71 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001201/0.3267, allocations: 0.4983 MB / 0.9266 GB, free: 37.2 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=99): time 5.29e-06/0.3267, allocations: 4 kB / 0.9266 GB, free: 37.2 MB / 0.6042 GB Notification: Performance of matching and sorting (n=99): time 0.003059/0.3298, allocations: 1.1 MB / 0.9277 GB, free: 36.09 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.05e-05/0.3299, allocations: 127.8 kB / 0.9278 GB, free: 35.94 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0025/0.3324, allocations: 1.449 MB / 0.9292 GB, free: 34.47 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0002764/0.3327, allocations: 77.69 kB / 0.9293 GB, free: 34.39 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007403/0.3335, allocations: 0.7317 MB / 0.93 GB, free: 33.65 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003213/0.3338, allocations: 248.9 kB / 0.9303 GB, free: 33.41 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.438e-05/0.3339, allocations: 36 kB / 0.9303 GB, free: 33.37 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001097/0.334, allocations: 365.8 kB / 0.9307 GB, free: 33.01 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001065/0.3351, allocations: 379.8 kB / 0.931 GB, free: 32.64 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001247/0.3364, allocations: 0.7784 MB / 0.9318 GB, free: 31.69 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001022/0.3374, allocations: 382.3 kB / 0.9321 GB, free: 31.32 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.078e-05/0.3374, allocations: 4 kB / 0.9321 GB, free: 31.31 MB / 0.6042 GB Notification: Performance of matching and sorting (n=185) (initialization): time 0.003127/0.3406, allocations: 1.256 MB / 0.9334 GB, free: 30.05 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.555e-05/0.3407, allocations: 16.95 kB / 0.9334 GB, free: 30.03 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.329e-05/0.3407, allocations: 8 kB / 0.9334 GB, free: 30.02 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.024e-05/0.3408, allocations: 24 kB / 0.9334 GB, free: 30 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001063/0.3418, allocations: 179.5 kB / 0.9336 GB, free: 29.82 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.931e-05/0.3419, allocations: 23.94 kB / 0.9336 GB, free: 29.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001191/0.3431, allocations: 150.6 kB / 0.9338 GB, free: 29.65 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001455/0.3433, allocations: 67.98 kB / 0.9338 GB, free: 29.59 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,$PRE.con.timer.yAcc,con.timer.yAcc,$PRE.con.warUpCtr.timer.yAcc,con.warUpCtr.timer.yAcc,$whenCondition10,$PRE.avaSig.combiTimeTable.nextTimeEvent,$whenCondition9,$PRE.runSig.combiTimeTable.nextTimeEvent,$whenCondition1,$PRE.mWat_flow.tab.nextTimeEvent,stateGraphRoot.resume,stateGraphRoot.suspend,$whenCondition8,$whenCondition6,$whenCondition7,$whenCondition5,$whenCondition4,$whenCondition2,$whenCondition3,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.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,con.timeDel.y,$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,$PRE.con.warUpCtr.timer.reset_internal,con.warUpCtr.timer.reset_internal,$PRE.con.timer.reset_internal,con.timer.reset_internal) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001116/0.3444, allocations: 0.5096 MB / 0.9343 GB, free: 29.06 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003316/0.3447, allocations: 146.2 kB / 0.9345 GB, free: 28.92 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002417/0.3472, allocations: 0.9541 MB / 0.9354 GB, free: 27.95 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.816e-05/0.3472, allocations: 3.984 kB / 0.9354 GB, free: 27.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.454e-06/0.3473, allocations: 4 kB / 0.9354 GB, free: 27.95 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005588/0.3478, allocations: 243 kB / 0.9356 GB, free: 27.69 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002728/0.3481, allocations: 28 kB / 0.9357 GB, free: 27.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006408/0.3488, allocations: 55.95 kB / 0.9357 GB, free: 27.61 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004089/0.3492, allocations: 136.8 kB / 0.9358 GB, free: 27.47 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002365/0.3516, allocations: 0.9427 MB / 0.9368 GB, free: 26.52 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002361/0.354, allocations: 1.075 MB / 0.9378 GB, free: 25.43 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009576/0.355, allocations: 439.7 kB / 0.9382 GB, free: 25 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.001812/0.3569, allocations: 0.8973 MB / 0.9391 GB, free: 24.1 MB / 0.6042 GB Notification: Performance of Backend: time 1.072e-06/0.3569, allocations: 0 / 0.9391 GB, free: 24.1 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.003901/0.3608, allocations: 1.097 MB / 0.9402 GB, free: 23.16 MB / 0.6042 GB Notification: Performance of SimCode: time 0.006367/0.3672, allocations: 3.278 MB / 0.9434 GB, free: 19.82 MB / 0.6042 GB Notification: Performance of Templates: time 0.04193/0.4092, allocations: 13.77 MB / 0.9568 GB, free: 6.125 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.PowerConsumption.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.PowerConsumption.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.PowerConsumption.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.PowerConsumption.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.PowerConsumption.sim & ./Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.PowerConsumption -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.PowerConsumption.pipe 2>&1)