Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.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.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc") translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.614/1.614, allocations: 289.9 MB / 297.4 MB, free: 6.383 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.001127/0.001127, allocations: 172.9 kB / 366.7 MB, free: 1.688 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.645/1.645, allocations: 205.3 MB / 0.626 GB, free: 7.156 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.0008394/0.0008394, allocations: 97.34 kB / 0.74 GB, free: 39.56 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.098e-05/2.102e-05, allocations: 4 kB / 0.8597 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7213/0.7214, allocations: 116.3 MB / 0.9733 GB, free: 76.25 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2206/0.942, allocations: 139.4 MB / 1.109 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002469/0.9423, allocations: 86.09 kB / 1.109 GB, free: 10.77 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.007445/0.9498, allocations: 2.336 MB / 1.112 GB, free: 8.477 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.003e-06/0.9498, allocations: 0 / 1.112 GB, free: 8.477 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.133e-05/0.9499, allocations: 4 kB / 1.112 GB, free: 8.473 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003151/0.9502, allocations: 327 kB / 1.112 GB, free: 8.109 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.881e-05/0.9503, allocations: 8.031 kB / 1.112 GB, free: 8.102 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.157e-05/0.9503, allocations: 4 kB / 1.112 GB, free: 8.098 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001337/0.9504, allocations: 174.8 kB / 1.112 GB, free: 7.891 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.527e-05/0.9505, allocations: 0 / 1.112 GB, free: 7.891 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.156e-05/0.9505, allocations: 0 / 1.112 GB, free: 7.891 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.239e-05/0.9505, allocations: 14 kB / 1.112 GB, free: 7.879 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.444e-05/0.9506, allocations: 33.69 kB / 1.112 GB, free: 7.84 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.9506, allocations: 4 kB / 1.112 GB, free: 7.836 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/0.9507, allocations: 0 / 1.112 GB, free: 7.836 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.9507, allocations: 0 / 1.112 GB, free: 7.836 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001517/0.9508, allocations: 133.8 kB / 1.112 GB, free: 7.672 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.275e-05/0.9509, allocations: 38.62 kB / 1.112 GB, free: 7.625 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.969e-05/0.951, allocations: 8.859 kB / 1.112 GB, free: 7.613 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001178/0.9522, allocations: 0.555 MB / 1.113 GB, free: 6.984 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.658e-05/0.9522, allocations: 34.5 kB / 1.113 GB, free: 6.941 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.9522, allocations: 4 kB / 1.113 GB, free: 6.938 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0001836/0.9524, allocations: 45.59 kB / 1.113 GB, free: 6.887 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.023e-05/0.9524, allocations: 51.41 kB / 1.113 GB, free: 6.824 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.671e-05/0.9525, allocations: 92.98 kB / 1.113 GB, free: 6.727 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.486e-05/0.9525, allocations: 25.7 kB / 1.113 GB, free: 6.695 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.986e-05/0.9526, allocations: 80.14 kB / 1.113 GB, free: 6.613 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.665e-05/0.9526, allocations: 7.906 kB / 1.113 GB, free: 6.605 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.946e-06/0.9526, allocations: 0 / 1.113 GB, free: 6.605 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001197/0.9527, allocations: 319 kB / 1.114 GB, free: 6.285 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.402e-05/0.9528, allocations: 4 kB / 1.114 GB, free: 6.281 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.855e-06/0.9528, allocations: 0 / 1.114 GB, free: 6.281 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.774e-05/0.9528, allocations: 7.984 kB / 1.114 GB, free: 6.273 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.9528, allocations: 0 / 1.114 GB, free: 6.273 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.113e-05/0.9529, allocations: 45.64 kB / 1.114 GB, free: 6.223 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.9529, allocations: 7.953 kB / 1.114 GB, free: 6.215 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.9529, allocations: 3.984 kB / 1.114 GB, free: 6.211 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.953, allocations: 4 kB / 1.114 GB, free: 6.207 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.311e-05/0.953, allocations: 4 kB / 1.114 GB, free: 6.203 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.953, allocations: 4 kB / 1.114 GB, free: 6.199 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.581e-05/0.9531, allocations: 0 / 1.114 GB, free: 6.199 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.3e-06/0.9531, allocations: 0 / 1.114 GB, free: 6.199 MB / 0.7136 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 (3): * Single equations (assignments): 3 * 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 7.334e-05/0.9531, allocations: 105 kB / 1.114 GB, free: 6.09 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.305e-06/0.9532, allocations: 6.859 kB / 1.114 GB, free: 6.086 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001533/0.9533, allocations: 59.11 kB / 1.114 GB, free: 6.016 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.9533, allocations: 0 / 1.114 GB, free: 6.016 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.9533, allocations: 0 / 1.114 GB, free: 6.016 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.9534, allocations: 7.984 kB / 1.114 GB, free: 6.008 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.948e-05/0.9534, allocations: 129 kB / 1.114 GB, free: 5.848 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.9535, allocations: 0 / 1.114 GB, free: 5.848 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.379e-05/0.9535, allocations: 4 kB / 1.114 GB, free: 5.844 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.9535, allocations: 3.984 kB / 1.114 GB, free: 5.84 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.983e-06/0.9535, allocations: 4 kB / 1.114 GB, free: 5.836 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.9535, allocations: 0 / 1.114 GB, free: 5.836 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/0.9535, allocations: 3.953 kB / 1.114 GB, free: 5.832 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001029/0.9536, allocations: 73.12 kB / 1.114 GB, free: 5.742 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.58e-05/0.9537, allocations: 77.11 kB / 1.114 GB, free: 5.648 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.314e-05/0.9537, allocations: 0 / 1.114 GB, free: 5.648 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.391e-05/0.9537, allocations: 0 / 1.114 GB, free: 5.648 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.752e-05/0.9537, allocations: 9.922 kB / 1.114 GB, free: 5.641 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.565e-06/0.9537, allocations: 0 / 1.114 GB, free: 5.641 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.849e-05/0.9538, allocations: 75.28 kB / 1.114 GB, free: 5.566 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.014e-06/0.9538, allocations: 0 / 1.114 GB, free: 5.566 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002755/0.9541, allocations: 39.86 kB / 1.114 GB, free: 5.527 MB / 0.7136 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 (3): * Single equations (assignments): 3 * 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.0002795/0.9544, allocations: 135.2 kB / 1.114 GB, free: 5.387 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.253e-05/0.9544, allocations: 12.28 kB / 1.114 GB, free: 5.375 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.9544, allocations: 0 / 1.114 GB, free: 5.375 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.108e-05/0.9545, allocations: 4 kB / 1.114 GB, free: 5.371 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000186/0.9546, allocations: 10.55 kB / 1.114 GB, free: 5.363 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002007/0.9549, allocations: 60.14 kB / 1.114 GB, free: 5.281 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002705/0.9551, allocations: 0.6806 MB / 1.115 GB, free: 4.574 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.458e-05/0.9552, allocations: 11.73 kB / 1.115 GB, free: 4.566 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.897e-05/0.9552, allocations: 11.44 kB / 1.115 GB, free: 4.555 MB / 0.7136 GB Notification: Performance of SimCode: time 2.51e-07/0.9552, allocations: 0 / 1.115 GB, free: 4.555 MB / 0.7136 GB Notification: Performance of Templates: time 0.002825/0.958, allocations: 0.7779 MB / 1.116 GB, free: 3.816 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.makefile (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe 2>&1)