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.657/1.657, allocations: 289.7 MB / 302.3 MB, free: 2.227 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.001217/0.001217, allocations: 185.2 kB / 371.6 MB, free: 3.375 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.904/1.904, allocations: 205.1 MB / 0.6309 GB, free: 11.78 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.001011/0.001011, allocations: 91.27 kB / 0.745 GB, free: 54.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.199e-05/4.202e-05, allocations: 4 kB / 0.8662 GB, free: 15.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3494/0.3494, allocations: 116.3 MB / 0.9798 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9519/1.301, allocations: 140 MB / 1.117 GB, free: 44.01 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003109/1.302, allocations: 88.38 kB / 1.117 GB, free: 43.97 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.007196/1.309, allocations: 2.339 MB / 1.119 GB, free: 42.37 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.755e-06/1.309, allocations: 4 kB / 1.119 GB, free: 42.37 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 8.816e-06/1.309, allocations: 4 kB / 1.119 GB, free: 42.36 MB / 0.7448 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.0002791/1.309, allocations: 328.9 kB / 1.119 GB, free: 42.01 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.437e-05/1.309, allocations: 8.688 kB / 1.119 GB, free: 42 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.338e-05/1.309, allocations: 1.719 kB / 1.119 GB, free: 42 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001083/1.31, allocations: 165 kB / 1.119 GB, free: 41.8 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.79e-05/1.31, allocations: 7.5 kB / 1.119 GB, free: 41.8 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.448e-05/1.31, allocations: 3.266 kB / 1.119 GB, free: 41.8 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001038/1.31, allocations: 38 kB / 1.119 GB, free: 41.76 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/1.31, allocations: 4 kB / 1.119 GB, free: 41.75 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.235e-05/1.31, allocations: 0.75 kB / 1.119 GB, free: 41.75 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/1.31, allocations: 0 / 1.119 GB, free: 41.75 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.411e-05/1.31, allocations: 11.14 kB / 1.119 GB, free: 41.75 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001613/1.31, allocations: 161.3 kB / 1.12 GB, free: 41.55 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 8.725e-05/1.31, allocations: 39.31 kB / 1.12 GB, free: 41.51 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.131e-05/1.31, allocations: 12.91 kB / 1.12 GB, free: 41.5 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001073/1.311, allocations: 0.5492 MB / 1.12 GB, free: 40.93 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.835e-05/1.311, allocations: 41.75 kB / 1.12 GB, free: 40.88 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/1.311, allocations: 3.953 kB / 1.12 GB, free: 40.88 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0001411/1.311, allocations: 37.12 kB / 1.12 GB, free: 40.84 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.931e-05/1.311, allocations: 58.91 kB / 1.12 GB, free: 40.77 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.985e-05/1.312, allocations: 85 kB / 1.12 GB, free: 40.68 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.241e-05/1.312, allocations: 25.7 kB / 1.12 GB, free: 40.65 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 2.426e-05/1.312, allocations: 83.61 kB / 1.121 GB, free: 40.57 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.473e-05/1.312, allocations: 14.69 kB / 1.121 GB, free: 40.56 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.635e-06/1.312, allocations: 4 kB / 1.121 GB, free: 40.56 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 6.602e-05/1.312, allocations: 310.8 kB / 1.121 GB, free: 40.25 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.442e-05/1.312, allocations: 7.938 kB / 1.121 GB, free: 40.24 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.316e-05/1.312, allocations: 7.891 kB / 1.121 GB, free: 40.23 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.979e-05/1.312, allocations: 7.516 kB / 1.121 GB, free: 40.23 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/1.312, allocations: 0.75 kB / 1.121 GB, free: 40.23 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.768e-05/1.312, allocations: 42.05 kB / 1.121 GB, free: 40.19 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/1.312, allocations: 8 kB / 1.121 GB, free: 40.18 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/1.312, allocations: 3.469 kB / 1.121 GB, free: 40.18 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/1.312, allocations: 4 kB / 1.121 GB, free: 40.18 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.088e-05/1.312, allocations: 4 kB / 1.121 GB, free: 40.17 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/1.312, allocations: 0 / 1.121 GB, free: 40.17 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.632e-05/1.312, allocations: 1.422 kB / 1.121 GB, free: 40.17 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.242e-06/1.312, allocations: 5.5 kB / 1.121 GB, free: 40.17 MB / 0.7448 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 5.392e-05/1.312, allocations: 101 kB / 1.121 GB, free: 40.06 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.307e-06/1.312, allocations: 3.953 kB / 1.121 GB, free: 40.06 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001395/1.312, allocations: 64.61 kB / 1.121 GB, free: 40 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/1.312, allocations: 4 kB / 1.121 GB, free: 39.99 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.84e-06/1.312, allocations: 0 / 1.121 GB, free: 39.99 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/1.312, allocations: 0.6562 kB / 1.121 GB, free: 39.99 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001062/1.312, allocations: 153.5 kB / 1.121 GB, free: 39.8 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/1.312, allocations: 0 / 1.121 GB, free: 39.8 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.082e-05/1.312, allocations: 4 kB / 1.121 GB, free: 39.8 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/1.312, allocations: 3.953 kB / 1.121 GB, free: 39.79 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.656e-06/1.312, allocations: 5.891 kB / 1.121 GB, free: 39.79 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/1.312, allocations: 4 kB / 1.121 GB, free: 39.79 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/1.312, allocations: 1.406 kB / 1.121 GB, free: 39.79 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.431e-05/1.313, allocations: 75.62 kB / 1.121 GB, free: 39.71 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.679e-05/1.313, allocations: 77.11 kB / 1.121 GB, free: 39.61 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.639e-05/1.313, allocations: 4.453 kB / 1.121 GB, free: 39.61 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.211e-05/1.313, allocations: 2 kB / 1.121 GB, free: 39.61 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.689e-05/1.313, allocations: 4.703 kB / 1.121 GB, free: 39.61 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.474e-06/1.313, allocations: 0 / 1.121 GB, free: 39.61 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.401e-05/1.313, allocations: 79.28 kB / 1.121 GB, free: 39.53 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.31e-07/1.313, allocations: 4.094 kB / 1.121 GB, free: 39.52 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002166/1.313, allocations: 30.3 kB / 1.122 GB, free: 39.5 MB / 0.7448 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.0002826/1.313, allocations: 135.1 kB / 1.122 GB, free: 39.37 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 8.758e-05/1.313, allocations: 18.7 kB / 1.122 GB, free: 39.36 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/1.313, allocations: 0 / 1.122 GB, free: 39.36 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.326e-05/1.313, allocations: 12 kB / 1.122 GB, free: 39.34 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000183/1.314, allocations: 4.75 kB / 1.122 GB, free: 39.34 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002078/1.314, allocations: 58.98 kB / 1.122 GB, free: 39.27 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000177/1.314, allocations: 0.6797 MB / 1.122 GB, free: 38.57 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.27e-05/1.314, allocations: 5.312 kB / 1.122 GB, free: 38.57 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.563e-05/1.314, allocations: 7.438 kB / 1.122 GB, free: 38.56 MB / 0.7448 GB Notification: Performance of SimCode: time 2.31e-07/1.314, allocations: 8 kB / 1.122 GB, free: 38.55 MB / 0.7448 GB Notification: Performance of Templates: time 0.003376/1.317, allocations: 0.782 MB / 1.123 GB, free: 38.12 MB / 0.7448 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)