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 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: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.PowerConsumption,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_CHPs_BaseClasses_Validation_PowerConsumption",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.173/2.173, allocations: 248.7 MB / 256.2 MB, free: 7.023 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00144/0.00144, allocations: 171.7 kB / 315.4 MB, free: 4.023 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.053/2.053, allocations: 205.3 MB / 0.5662 GB, free: 0.6094 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001051/0.00105, allocations: 102 kB / 0.6704 GB, free: 5.809 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.157e-05/3.157e-05, allocations: 8 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2062/0.2063, allocations: 106.3 MB / 0.8841 GB, free: 12.97 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.87/1.076, allocations: 144.9 MB / 1.026 GB, free: 10.06 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003529/1.077, allocations: 98.48 kB / 1.026 GB, free: 10.01 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.1394/1.216, allocations: 33.26 MB / 1.058 GB, free: 14.52 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.164e-06/1.216, allocations: 0 / 1.058 GB, free: 14.52 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0002068/1.216, allocations: 48.16 kB / 1.058 GB, free: 14.48 MB / 0.6823 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.004608/1.221, allocations: 1.562 MB / 1.06 GB, free: 12.96 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.855e-05/1.221, allocations: 12.02 kB / 1.06 GB, free: 12.95 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007869/1.222, allocations: 201.6 kB / 1.06 GB, free: 12.75 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003185/1.225, allocations: 1.01 MB / 1.061 GB, free: 11.89 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000195/1.225, allocations: 95.72 kB / 1.061 GB, free: 11.8 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002953/1.226, allocations: 80 kB / 1.061 GB, free: 11.72 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002621/1.228, allocations: 0.8177 MB / 1.062 GB, free: 11.23 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003175/1.232, allocations: 1.2 MB / 1.063 GB, free: 10.23 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.825e-05/1.232, allocations: 7.938 kB / 1.063 GB, free: 10.22 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001426/1.232, allocations: 7.984 kB / 1.063 GB, free: 10.21 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-05/1.232, allocations: 32 kB / 1.063 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01005/1.242, allocations: 5.381 MB / 1.068 GB, free: 5.613 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001748/1.244, allocations: 0.6702 MB / 1.069 GB, free: 5.195 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00074/1.244, allocations: 334.4 kB / 1.069 GB, free: 5.004 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 6.329e-05/1.245, allocations: 16.77 kB / 1.069 GB, free: 4.988 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001124/1.246, allocations: 466.2 kB / 1.07 GB, free: 4.652 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=99): time 3.366e-06/1.246, allocations: 7.938 kB / 1.07 GB, free: 4.645 MB / 0.6823 GB Notification: Performance of matching and sorting (n=99): time 0.002162/1.248, allocations: 0.7515 MB / 1.071 GB, free: 4.051 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.496e-05/1.248, allocations: 124 kB / 1.071 GB, free: 3.91 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002698/1.251, allocations: 1.253 MB / 1.072 GB, free: 2.969 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0003279/1.251, allocations: 54 kB / 1.072 GB, free: 2.922 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009274/1.252, allocations: 0.7318 MB / 1.073 GB, free: 2.488 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004141/1.253, allocations: 231.3 kB / 1.073 GB, free: 2.297 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.916e-05/1.253, allocations: 3.938 kB / 1.073 GB, free: 2.293 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001783/1.253, allocations: 360.7 kB / 1.073 GB, free: 1.957 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009222/1.254, allocations: 349.8 kB / 1.074 GB, free: 1.758 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001291/1.255, allocations: 0.7156 MB / 1.074 GB, free: 1.051 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009339/1.256, allocations: 357.4 kB / 1.075 GB, free: 0.8164 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.055e-05/1.256, allocations: 0 / 1.075 GB, free: 0.8164 MB / 0.6823 GB Notification: Performance of matching and sorting (n=183) (initialization): time 0.003091/1.259, allocations: 1.101 MB / 1.076 GB, free: 15.95 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 5.297e-05/1.259, allocations: 19.94 kB / 1.076 GB, free: 15.93 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.751e-05/1.259, allocations: 8 kB / 1.076 GB, free: 15.92 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.201e-05/1.259, allocations: 20 kB / 1.076 GB, free: 15.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001322/1.261, allocations: 177.6 kB / 1.076 GB, free: 15.73 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.932e-05/1.261, allocations: 19.94 kB / 1.076 GB, free: 15.71 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001484/1.262, allocations: 87.66 kB / 1.076 GB, free: 15.63 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00041/1.263, allocations: 69.55 kB / 1.076 GB, free: 15.57 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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.runSig,con.opeMod,$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.staBy.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,con.pumOn.active,$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.and1.u2,con.and1.y,con.transition3.enableFire,con.transition5.enableFire,con.transition9.enableFire,con.transition7.enableFire,con.and3.y,con.transition10.enableFire,con.and4.u1,con.and4.u2,con.and4.y,con.assWatMas.assMes.u,$PRE.con.assWatMas.hys.y,con.assWatMas.hys.y,con.transition1.enableFire,con.transition2.enableFire,$PRE.con.nor.localActive,con.nor.localActive,$PRE.con.nor.newActive,con.nor.newActive,$PRE.con.nor.oldActive,con.nor.oldActive,con.nor.active,con.transition8.enableFire,$PRE.con.warUpCtr.timer.entryTime,con.warUpCtr.timer.entryTime,con.transition6.enableFire,$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.plaOff.active,con.transition4.enableFire,con.transition4.fire,$PRE.con.transition4.t_start,con.transition4.t_start,$PRE.con.timer.entryTime,con.timer.entryTime,runSig.combiTimeTable.nextTimeEvent,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEventScaled,avaSig.y,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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (183): * Single equations (assignments): 183 * 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.0005139/1.263, allocations: 212.1 kB / 1.076 GB, free: 15.37 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002258/1.266, allocations: 0.7507 MB / 1.077 GB, free: 14.77 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004594/1.266, allocations: 142.2 kB / 1.077 GB, free: 14.63 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002673/1.269, allocations: 0.892 MB / 1.078 GB, free: 13.98 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.552e-05/1.269, allocations: 15.94 kB / 1.078 GB, free: 13.96 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/1.269, allocations: 4 kB / 1.078 GB, free: 13.96 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.574e-05/1.269, allocations: 3.984 kB / 1.078 GB, free: 13.96 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00562/1.274, allocations: 2.217 MB / 1.08 GB, free: 12.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.725e-06/1.275, allocations: 3.938 kB / 1.08 GB, free: 12.29 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005179/1.275, allocations: 70.45 kB / 1.08 GB, free: 12.23 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.629e-05/1.275, allocations: 8 kB / 1.08 GB, free: 12.22 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.132e-05/1.275, allocations: 11.98 kB / 1.08 GB, free: 12.21 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.164e-05/1.275, allocations: 7.984 kB / 1.08 GB, free: 12.2 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/1.275, allocations: 0 / 1.08 GB, free: 12.2 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002342/1.278, allocations: 0.9447 MB / 1.081 GB, free: 11.43 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004789/1.278, allocations: 236.4 kB / 1.081 GB, free: 11.2 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002527/1.278, allocations: 11.94 kB / 1.081 GB, free: 11.19 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007365/1.279, allocations: 39.52 kB / 1.081 GB, free: 11.16 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004648/1.28, allocations: 139.6 kB / 1.082 GB, free: 11.05 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001185/1.28, allocations: 41.66 kB / 1.082 GB, free: 11.02 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.00177/1.282, allocations: 0.8323 MB / 1.082 GB, free: 10.42 MB / 0.698 GB Notification: Performance of sort global known variables: time 6.82e-07/1.282, allocations: 0 / 1.082 GB, free: 10.42 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.00169/1.283, allocations: 242.7 kB / 1.083 GB, free: 10.19 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 90 (con.transition4.enableFire,con.plaOff.active,con.nor.active,con.cooDow.active,con.cooDow.localActive,con.warUp.active,con.warUp.localActive,con.pumOn.localActive,con.staBy.localActive,$cse3,$cse4,$cse5,$cse6,$cse7,$cse8,$cse9,$cse10,$cse11,$cse12,$cse13,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition6,$whenCondition7,$whenCondition5,$whenCondition4,$whenCondition2,$whenCondition3,$whenCondition1,mWat_flow.tab.nextTimeEvent,mWat_flow.tab.nextTimeEventScaled,con.runSig,con.opeMod,con.staBy.outPort[2].available,con.staBy.newActive,con.staBy.oldActive,con.staBy.active,con.pumOn.outPort[2].available,con.pumOn.newActive,con.pumOn.oldActive,con.pumOn.active,con.warUp.inPort[2].occupied,con.warUp.outPort[2].available,con.warUp.newActive,con.warUp.oldActive,con.cooDow.inPort[2].occupied,con.cooDow.outPort[2].available,con.cooDow.newActive,con.cooDow.oldActive,con.hys.y,con.and1.u2,con.and1.y,con.transition3.enableFire,con.transition5.enableFire,con.transition9.enableFire,con.transition7.enableFire,con.and3.y,con.transition10.enableFire,con.and4.u1,con.and4.u2,con.and4.y,con.assWatMas.assMes.u,con.assWatMas.hys.y,con.transition1.enableFire,con.transition2.enableFire,con.nor.localActive,con.nor.newActive,con.nor.oldActive,con.transition8.enableFire,con.warUpCtr.timer.entryTime,con.warUpCtr.timer.yAcc,con.transition6.enableFire,con.plaOff.localActive,con.plaOff.inPort[2].occupied,con.plaOff.inPort[3].occupied,con.plaOff.newActive,con.plaOff.oldActive,con.transition4.fire,con.transition4.t_start,con.timer.entryTime,con.timer.yAcc,runSig.combiTimeTable.nextTimeEvent,runSig.combiTimeTable.nextTimeEventScaled,avaSig.y,avaSig.combiTimeTable.nextTimeEvent,avaSig.combiTimeTable.nextTimeEventScaled,powCon.staBy.y,powCon.cooDow.y,stateGraphRoot.activeSteps) * Number of discrete states: 16 (avaSig.combiTimeTable.nextTimeEvent,runSig.combiTimeTable.nextTimeEvent,mWat_flow.tab.nextTimeEvent,con.staBy.newActive,con.pumOn.newActive,con.warUp.newActive,con.cooDow.newActive,con.nor.newActive,con.plaOff.newActive,avaSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEventScaled,con.timer.y,con.warUpCtr.timer.y,mWat_flow.tab.nextTimeEventScaled,con.assWatMas.hys.y,con.hys.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (113): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 17 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004079/1.287, allocations: 1.884 MB / 1.085 GB, free: 8.57 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002388/1.29, allocations: 0.9025 MB / 1.085 GB, free: 7.949 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/1.29, allocations: 192 / 1.085 GB, free: 7.949 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001029/1.291, allocations: 432.5 kB / 1.086 GB, free: 7.664 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001643/1.293, allocations: 184.9 kB / 1.086 GB, free: 7.531 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01118/1.304, allocations: 2.182 MB / 1.088 GB, free: 5.602 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002367/1.306, allocations: 1.333 MB / 1.089 GB, free: 4.273 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002006/1.308, allocations: 218 kB / 1.09 GB, free: 4.062 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002336/1.311, allocations: 0.6332 MB / 1.09 GB, free: 3.57 MB / 0.698 GB Notification: Performance of SimCode: time 2.595e-06/1.311, allocations: 0 / 1.09 GB, free: 3.57 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.115/1.426, allocations: 27.21 MB / 1.117 GB, free: 8.434 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000256/1.426, allocations: 192.5 kB / 1.117 GB, free: 8.23 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.717/5.143, allocations: 0 / 1.117 GB, free: 8.23 MB / 0.7292 GB