Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.PowerConsumption.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.PowerConsumption,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.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.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.PowerConsumption") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.827/1.827, allocations: 288.4 MB / 304.3 MB, free: 8.082 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.000959/0.0009591, allocations: 188.5 kB / 372.9 MB, free: 10.16 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.626/1.626, allocations: 205.4 MB / 0.6316 GB, free: 9.922 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.0007471/0.0007473, allocations: 98.09 kB / 0.745 GB, free: 5.828 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003878/0.0003881, allocations: 16.06 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2407/0.2411, allocations: 115.3 MB / 0.9807 GB, free: 27.37 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.PowerConsumption): time 0.004386/0.2456, allocations: 4.115 MB / 0.9848 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.004197/0.2498, allocations: 2.884 MB / 0.9876 GB, free: 20.33 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008447/0.2507, allocations: 35.75 kB / 0.9876 GB, free: 20.3 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001396/0.2521, allocations: 0.5327 MB / 0.9881 GB, free: 19.76 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0007918/0.2529, allocations: 310.5 kB / 0.9884 GB, free: 19.46 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001714/0.2546, allocations: 0.6354 MB / 0.9891 GB, free: 18.83 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001782/0.2564, allocations: 1.772 MB / 0.9908 GB, free: 17.05 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001523/0.2579, allocations: 1.03 MB / 0.9918 GB, free: 16 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005821/0.2585, allocations: 0.5056 MB / 0.9923 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005022/0.259, allocations: 0.548 MB / 0.9928 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001133/0.2592, allocations: 52 kB / 0.9929 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003548/0.2595, allocations: 131.9 kB / 0.993 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0002725/0.2598, allocations: 390.6 kB / 0.9934 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0004666/0.2603, allocations: 0.6695 MB / 0.994 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001094/0.2614, allocations: 1.714 MB / 0.9957 GB, free: 11.98 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.2614, allocations: 0 / 0.9957 GB, free: 11.98 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.663e-06/0.2614, allocations: 0 / 0.9957 GB, free: 11.98 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.638e-05/0.2614, allocations: 0 / 0.9957 GB, free: 11.98 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.002386/0.2638, allocations: 1.725 MB / 0.9974 GB, free: 10.17 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.722e-05/0.2639, allocations: 8.031 kB / 0.9974 GB, free: 10.16 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002484/0.2641, allocations: 198.6 kB / 0.9976 GB, free: 9.965 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001286/0.2654, allocations: 1.102 MB / 0.9986 GB, free: 8.809 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001259/0.2656, allocations: 148.6 kB / 0.9988 GB, free: 8.656 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001364/0.2657, allocations: 136 kB / 0.9989 GB, free: 8.523 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001839/0.2676, allocations: 1.378 MB / 1 GB, free: 7.016 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.52e-05/0.2676, allocations: 7.938 kB / 1 GB, free: 7.008 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.534e-05/0.2677, allocations: 55.98 kB / 1 GB, free: 6.953 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.143e-05/0.2677, allocations: 32 kB / 1 GB, free: 6.922 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001383/0.2691, allocations: 0.9331 MB / 1.001 GB, free: 5.98 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004872/0.274, allocations: 5.642 MB / 1.007 GB, free: 164 kB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001336/0.2754, allocations: 0.7421 MB / 1.008 GB, free: 15.41 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005712/0.276, allocations: 375.7 kB / 1.008 GB, free: 15.05 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 5.293e-05/0.276, allocations: 10.25 kB / 1.008 GB, free: 15.04 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008468/0.2769, allocations: 0.4971 MB / 1.008 GB, free: 14.53 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=97): time 3.567e-06/0.2769, allocations: 0 / 1.008 GB, free: 14.53 MB / 0.6355 GB Notification: Performance of matching and sorting (n=97): time 0.002101/0.279, allocations: 1.131 MB / 1.009 GB, free: 13.39 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.037e-05/0.2791, allocations: 119.8 kB / 1.01 GB, free: 13.25 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001901/0.281, allocations: 1.453 MB / 1.011 GB, free: 11.78 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001268/0.2812, allocations: 77.69 kB / 1.011 GB, free: 11.7 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006302/0.2818, allocations: 0.7317 MB / 1.012 GB, free: 10.96 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002137/0.282, allocations: 245 kB / 1.012 GB, free: 10.71 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.178e-05/0.2821, allocations: 28 kB / 1.012 GB, free: 10.69 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001422/0.2822, allocations: 357.9 kB / 1.012 GB, free: 10.33 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006536/0.2829, allocations: 375.8 kB / 1.013 GB, free: 9.965 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008901/0.2838, allocations: 0.7572 MB / 1.013 GB, free: 9.051 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001233/0.285, allocations: 0.9031 MB / 1.014 GB, free: 8.004 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.225e-06/0.2851, allocations: 4 kB / 1.014 GB, free: 8 MB / 0.6355 GB Notification: Performance of matching and sorting (n=179) (initialization): time 0.002018/0.2871, allocations: 1.222 MB / 1.016 GB, free: 6.77 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.652e-05/0.2872, allocations: 20.2 kB / 1.016 GB, free: 6.75 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.975e-05/0.2872, allocations: 8 kB / 1.016 GB, free: 6.742 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.224e-05/0.2872, allocations: 23.94 kB / 1.016 GB, free: 6.719 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005718/0.2878, allocations: 167.6 kB / 1.016 GB, free: 6.555 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.321e-05/0.2879, allocations: 27.92 kB / 1.016 GB, free: 6.527 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007904/0.2887, allocations: 146.8 kB / 1.016 GB, free: 6.383 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001003/0.2888, allocations: 67.92 kB / 1.016 GB, free: 6.316 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.0009487/0.2897, allocations: 0.5051 MB / 1.016 GB, free: 5.797 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002097/0.2899, allocations: 142.2 kB / 1.017 GB, free: 5.656 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001675/0.2916, allocations: 0.9773 MB / 1.018 GB, free: 4.672 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.038e-05/0.2916, allocations: 3.984 kB / 1.018 GB, free: 4.668 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.2917, allocations: 0 / 1.018 GB, free: 4.668 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000303/0.292, allocations: 243 kB / 1.018 GB, free: 4.41 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001587/0.2921, allocations: 27.98 kB / 1.018 GB, free: 4.383 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003413/0.2925, allocations: 63.89 kB / 1.018 GB, free: 4.32 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002766/0.2928, allocations: 136.8 kB / 1.018 GB, free: 4.184 MB / 0.6355 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001543/0.2943, allocations: 0.9584 MB / 1.019 GB, free: 3.223 MB / 0.6355 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001487/0.2958, allocations: 1.106 MB / 1.02 GB, free: 2.09 MB / 0.6355 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006057/0.2964, allocations: 447.7 kB / 1.02 GB, free: 1.656 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001245/0.2977, allocations: 0.8972 MB / 1.021 GB, free: 0.7578 MB / 0.6355 GB Notification: Performance of Backend: time 2.91e-07/0.2977, allocations: 0 / 1.021 GB, free: 0.7578 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0028/0.3005, allocations: 1.098 MB / 1.022 GB, free: 15.81 MB / 0.6511 GB Notification: Performance of SimCode: time 0.004144/0.3047, allocations: 3.246 MB / 1.026 GB, free: 12.51 MB / 0.6511 GB Notification: Performance of Templates: time 0.02818/0.3329, allocations: 14.03 MB / 1.039 GB, free: 14.54 MB / 0.6667 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.PowerConsumption.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.PowerConsumption.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.PowerConsumption.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.PowerConsumption.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.PowerConsumption.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.PowerConsumption -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.PowerConsumption.pipe 2>&1)