Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.497/1.497, allocations: 289.9 MB / 297.4 MB, free: 6.328 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.0009578/0.0009578, allocations: 184.9 kB / 366.7 MB, free: 1.645 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.349/1.349, allocations: 205.2 MB / 0.626 GB, free: 7.172 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008479/0.000848, allocations: 91.28 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.832e-05/1.825e-05, allocations: 4 kB / 0.8597 GB, free: 13.05 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5648/0.5648, allocations: 116.3 MB / 0.9733 GB, free: 76.33 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1646/0.7294, allocations: 141.1 MB / 1.111 GB, free: 9.059 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00024/0.7297, allocations: 87.94 kB / 1.111 GB, free: 8.973 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.0234/0.7531, allocations: 9.779 MB / 1.121 GB, free: 15.15 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.905e-06/0.7532, allocations: 0 / 1.121 GB, free: 15.15 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.96e-05/0.7532, allocations: 11.94 kB / 1.121 GB, free: 15.14 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0009047/0.7541, allocations: 0.7306 MB / 1.121 GB, free: 14.36 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.7542, allocations: 8.031 kB / 1.121 GB, free: 14.36 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005456/0.7547, allocations: 118.9 kB / 1.122 GB, free: 14.24 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006714/0.7554, allocations: 0.5151 MB / 1.122 GB, free: 13.68 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.745e-05/0.7554, allocations: 11.03 kB / 1.122 GB, free: 13.68 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.335e-05/0.7555, allocations: 4 kB / 1.122 GB, free: 13.67 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003531/0.7558, allocations: 247.9 kB / 1.122 GB, free: 13.43 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002864/0.7561, allocations: 189.6 kB / 1.122 GB, free: 13.24 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.7561, allocations: 4 kB / 1.122 GB, free: 13.23 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.505e-05/0.7562, allocations: 4 kB / 1.122 GB, free: 13.23 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.7562, allocations: 0 / 1.122 GB, free: 13.23 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001284/0.7575, allocations: 0.9337 MB / 1.123 GB, free: 12.26 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004821/0.758, allocations: 350.4 kB / 1.124 GB, free: 11.91 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001544/0.7582, allocations: 120.9 kB / 1.124 GB, free: 11.79 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006931/0.7589, allocations: 328.8 kB / 1.124 GB, free: 11.45 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.502e-05/0.7589, allocations: 34.56 kB / 1.124 GB, free: 11.4 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=9): time 1.694e-06/0.7589, allocations: 0 / 1.124 GB, free: 11.4 MB / 0.7292 GB Notification: Performance of matching and sorting (n=9): time 0.001025/0.7599, allocations: 416.6 kB / 1.125 GB, free: 10.99 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.995e-05/0.76, allocations: 69.34 kB / 1.125 GB, free: 10.91 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009596/0.761, allocations: 0.8288 MB / 1.125 GB, free: 10.08 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.547e-05/0.761, allocations: 25.7 kB / 1.126 GB, free: 10.05 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002475/0.7612, allocations: 344 kB / 1.126 GB, free: 9.703 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.639e-05/0.7613, allocations: 27.64 kB / 1.126 GB, free: 9.676 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.285e-05/0.7613, allocations: 0 / 1.126 GB, free: 9.676 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.276e-05/0.7614, allocations: 309.9 kB / 1.126 GB, free: 9.367 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001367/0.7615, allocations: 107.9 kB / 1.126 GB, free: 9.262 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001274/0.7617, allocations: 115.1 kB / 1.126 GB, free: 9.152 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006316/0.7623, allocations: 203.8 kB / 1.127 GB, free: 8.953 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.7623, allocations: 0 / 1.127 GB, free: 8.953 MB / 0.7292 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0008888/0.7632, allocations: 420.4 kB / 1.127 GB, free: 8.535 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/0.7633, allocations: 5.406 kB / 1.127 GB, free: 8.531 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.7633, allocations: 0 / 1.127 GB, free: 8.531 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.7633, allocations: 0 / 1.127 GB, free: 8.531 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000207/0.7635, allocations: 31.97 kB / 1.127 GB, free: 8.5 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.7635, allocations: 0 / 1.127 GB, free: 8.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001766/0.7637, allocations: 27.83 kB / 1.127 GB, free: 8.473 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.702e-05/0.7637, allocations: 8 kB / 1.127 GB, free: 8.465 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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 8.113e-05/0.7638, allocations: 104.9 kB / 1.127 GB, free: 8.355 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.337e-05/0.7639, allocations: 74.56 kB / 1.127 GB, free: 8.285 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001121/0.765, allocations: 490.2 kB / 1.128 GB, free: 7.801 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.586e-06/0.7651, allocations: 0 / 1.128 GB, free: 7.801 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.7651, allocations: 0 / 1.128 GB, free: 7.801 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.7651, allocations: 0 / 1.128 GB, free: 7.801 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005143/0.7656, allocations: 0.5173 MB / 1.128 GB, free: 7.246 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.7656, allocations: 0 / 1.128 GB, free: 7.246 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001882/0.7658, allocations: 35.97 kB / 1.128 GB, free: 7.211 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.7658, allocations: 3.938 kB / 1.128 GB, free: 7.207 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.723e-05/0.7658, allocations: 7.938 kB / 1.128 GB, free: 7.199 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.7658, allocations: 0 / 1.128 GB, free: 7.199 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.7659, allocations: 0 / 1.128 GB, free: 7.199 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000912/0.7668, allocations: 0.5041 MB / 1.129 GB, free: 6.68 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002166/0.767, allocations: 204.1 kB / 1.129 GB, free: 6.461 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.696e-05/0.7671, allocations: 0 / 1.129 GB, free: 6.461 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001926/0.7673, allocations: 11.98 kB / 1.129 GB, free: 6.449 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.22e-05/0.7673, allocations: 19.91 kB / 1.129 GB, free: 6.43 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.28e-05/0.7673, allocations: 12 kB / 1.129 GB, free: 6.418 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0007283/0.7681, allocations: 0.6631 MB / 1.13 GB, free: 5.762 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7681, allocations: 0 / 1.13 GB, free: 5.762 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003526/0.7684, allocations: 71.84 kB / 1.13 GB, free: 5.691 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * 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.0002802/0.7687, allocations: 164.2 kB / 1.13 GB, free: 5.523 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002433/0.769, allocations: 187.9 kB / 1.13 GB, free: 5.34 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.769, allocations: 3.562 kB / 1.13 GB, free: 5.34 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001014/0.7691, allocations: 91.97 kB / 1.13 GB, free: 5.25 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003168/0.7694, allocations: 51.3 kB / 1.13 GB, free: 5.195 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001272/0.7707, allocations: 0.8403 MB / 1.131 GB, free: 4.332 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005012/0.7712, allocations: 0.9573 MB / 1.132 GB, free: 3.352 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001963/0.7714, allocations: 73.25 kB / 1.132 GB, free: 3.281 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.945e-05/0.7715, allocations: 27.44 kB / 1.132 GB, free: 3.254 MB / 0.7292 GB Notification: Performance of SimCode: time 3.4e-07/0.7715, allocations: 0 / 1.132 GB, free: 3.254 MB / 0.7292 GB Notification: Performance of Templates: time 0.008764/0.7803, allocations: 3.697 MB / 1.136 GB, free: 15.62 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.makefile (rm -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; mkfifo Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe >> ../files/Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.sim & ./Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe 2>&1)