Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.659/1.659, allocations: 297.8 MB / 313.8 MB, free: 128 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009275/0.0009276, allocations: 175.5 kB / 384.6 MB, free: 10.86 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.338/1.338, allocations: 223.2 MB / 0.6626 GB, free: 4.344 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008037/0.000804, allocations: 98.75 kB / 0.7808 GB, free: 43.63 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.000476/0.000476, allocations: 12 kB / 0.9088 GB, free: 0.6953 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5318/0.5323, allocations: 120.3 MB / 1.026 GB, free: 56.36 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1805/0.7129, allocations: 145.9 MB / 1.169 GB, free: 12.29 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000266/0.7132, allocations: 83.95 kB / 1.169 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.02918/0.7424, allocations: 12.42 MB / 1.181 GB, free: 15.76 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.284e-06/0.7424, allocations: 0 / 1.181 GB, free: 15.76 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 2.632e-05/0.7425, allocations: 12 kB / 1.181 GB, free: 15.75 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.001487/0.744, allocations: 1.03 MB / 1.182 GB, free: 14.66 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.744, allocations: 8.031 kB / 1.182 GB, free: 14.66 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001079/0.7451, allocations: 243.4 kB / 1.182 GB, free: 14.42 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007514/0.7459, allocations: 0.5936 MB / 1.183 GB, free: 13.77 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.006e-05/0.7459, allocations: 21.03 kB / 1.183 GB, free: 13.75 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.966e-05/0.746, allocations: 32.38 kB / 1.183 GB, free: 13.71 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009553/0.7469, allocations: 462.4 kB / 1.183 GB, free: 13.26 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.747, allocations: 192 / 1.183 GB, free: 13.26 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.8e-05/0.747, allocations: 19.94 kB / 1.183 GB, free: 13.24 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.455e-06/0.747, allocations: 4 kB / 1.183 GB, free: 13.23 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001255/0.7483, allocations: 0.5451 MB / 1.184 GB, free: 12.69 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004385/0.7527, allocations: 2.236 MB / 1.186 GB, free: 10.36 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001029/0.7537, allocations: 348.1 kB / 1.186 GB, free: 10.02 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004739/0.7542, allocations: 164.7 kB / 1.187 GB, free: 9.852 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 4.308e-05/0.7543, allocations: 12.28 kB / 1.187 GB, free: 9.84 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.222e-05/0.7543, allocations: 34.56 kB / 1.187 GB, free: 9.797 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=20): time 1.553e-06/0.7543, allocations: 0 / 1.187 GB, free: 9.797 MB / 0.7605 GB Notification: Performance of matching and sorting (n=20): time 0.001616/0.7559, allocations: 0.5681 MB / 1.187 GB, free: 9.223 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.566e-05/0.756, allocations: 55.41 kB / 1.187 GB, free: 9.156 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001759/0.7577, allocations: 1.262 MB / 1.188 GB, free: 7.875 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 3.58e-05/0.7578, allocations: 29.7 kB / 1.189 GB, free: 7.84 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003564/0.7582, allocations: 424.6 kB / 1.189 GB, free: 7.422 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 6.035e-05/0.7582, allocations: 67.09 kB / 1.189 GB, free: 7.355 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.832e-05/0.7582, allocations: 0 / 1.189 GB, free: 7.355 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001063/0.7584, allocations: 314 kB / 1.189 GB, free: 7.043 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005644/0.7589, allocations: 239.8 kB / 1.189 GB, free: 6.809 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005665/0.7595, allocations: 259.2 kB / 1.19 GB, free: 6.551 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009727/0.7605, allocations: 393.9 kB / 1.19 GB, free: 6.164 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.7605, allocations: 0 / 1.19 GB, free: 6.164 MB / 0.7605 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001283/0.7618, allocations: 0.6049 MB / 1.191 GB, free: 5.555 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/0.7618, allocations: 8 kB / 1.191 GB, free: 5.547 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.7618, allocations: 0 / 1.191 GB, free: 5.547 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.7619, allocations: 3.938 kB / 1.191 GB, free: 5.543 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004033/0.7623, allocations: 83.86 kB / 1.191 GB, free: 5.461 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.815e-06/0.7623, allocations: 0 / 1.191 GB, free: 5.461 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003909/0.7627, allocations: 67.64 kB / 1.191 GB, free: 5.395 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.905e-05/0.7627, allocations: 23.98 kB / 1.191 GB, free: 5.371 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($PRE.opeModWarUpEngTem.temChe.y,opeModWarUpEngTem.temChe.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 24 * 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.0003205/0.7631, allocations: 266.2 kB / 1.191 GB, free: 5.102 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001067/0.7632, allocations: 86.88 kB / 1.191 GB, free: 5.016 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001178/0.7644, allocations: 466.2 kB / 1.192 GB, free: 4.551 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.601e-06/0.7644, allocations: 3.984 kB / 1.192 GB, free: 4.547 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.7644, allocations: 0 / 1.192 GB, free: 4.547 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.7644, allocations: 3.938 kB / 1.192 GB, free: 4.543 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002108/0.7665, allocations: 1.246 MB / 1.193 GB, free: 3.223 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.7665, allocations: 0 / 1.193 GB, free: 3.223 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003395/0.7669, allocations: 76.03 kB / 1.193 GB, free: 3.148 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.519e-06/0.7669, allocations: 0 / 1.193 GB, free: 3.148 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.339e-05/0.7669, allocations: 8 kB / 1.193 GB, free: 3.141 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.55e-06/0.7669, allocations: 7.984 kB / 1.193 GB, free: 3.133 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.7669, allocations: 0 / 1.193 GB, free: 3.133 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00108/0.768, allocations: 0.5599 MB / 1.194 GB, free: 2.539 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002937/0.7683, allocations: 243.8 kB / 1.194 GB, free: 2.281 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.77e-05/0.7684, allocations: 4 kB / 1.194 GB, free: 2.277 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003985/0.7688, allocations: 55.88 kB / 1.194 GB, free: 2.223 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.425e-05/0.7689, allocations: 23.92 kB / 1.194 GB, free: 2.199 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.659e-05/0.7689, allocations: 7.984 kB / 1.194 GB, free: 2.191 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.001212/0.7702, allocations: 0.9122 MB / 1.195 GB, free: 1.27 MB / 0.7605 GB Notification: Performance of sort global known variables: time 2.61e-07/0.7702, allocations: 4 kB / 1.195 GB, free: 1.266 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.000517/0.7707, allocations: 115.8 kB / 1.195 GB, free: 1.152 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 1 (opeModWarUpEngTem.temChe.y) * Number of discrete states: 1 (opeModWarUpEngTem.temChe.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * 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 Backend phase and start with SimCode phase: time 0.0003808/0.7711, allocations: 168.2 kB / 1.195 GB, free: 0.9805 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.001085/0.7722, allocations: 395.7 kB / 1.195 GB, free: 0.5938 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.7722, allocations: 0 / 1.195 GB, free: 0.5938 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0004977/0.7727, allocations: 174 kB / 1.196 GB, free: 436 kB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007527/0.7734, allocations: 72.67 kB / 1.196 GB, free: 364 kB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002764/0.7762, allocations: 1.659 MB / 1.197 GB, free: 14.65 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006106/0.7769, allocations: 0.995 MB / 1.198 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0003592/0.7772, allocations: 103 kB / 1.198 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001529/0.7774, allocations: 47.42 kB / 1.198 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of SimCode: time 4.71e-07/0.7774, allocations: 0 / 1.198 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of Templates: time 0.01372/0.7911, allocations: 6.791 MB / 1.205 GB, free: 6.711 MB / 0.7761 GB make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.makefile (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.sim & ./Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe 2>&1)