Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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_1.6_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5187/0.5187, allocations: 94.7 MB / 107.3 MB, free: 5.176 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001885/0.001885, allocations: 167.2 kB / 130.7 MB, free: 7.547 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.695/1.695, allocations: 170.5 MB / 324.5 MB, free: 3.996 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001579/0.001579, allocations: 105.3 kB / 386.6 MB, free: 16.2 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.075e-05/4.077e-05, allocations: 7.938 kB / 456 MB, free: 11.74 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5791/0.5791, allocations: 61.52 MB / 0.5054 GB, free: 49.39 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1641/0.7433, allocations: 95.41 MB / 0.5986 GB, free: 180 kB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004174/0.7438, allocations: 88.59 kB / 0.5987 GB, free: 92 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01091/0.7548, allocations: 2.932 MB / 0.6015 GB, free: 13.24 MB / 426.7 MB Notification: Performance of FrontEnd: time 5.36e-06/0.7548, allocations: 4 kB / 0.6015 GB, free: 13.23 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.029e-05/0.7549, allocations: 0 / 0.6015 GB, free: 13.23 MB / 426.7 MB 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.0004846/0.7554, allocations: 351.5 kB / 0.6019 GB, free: 12.85 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.434e-05/0.7554, allocations: 8.031 kB / 0.6019 GB, free: 12.84 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.963e-05/0.7555, allocations: 0 / 0.6019 GB, free: 12.84 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001822/0.7557, allocations: 167 kB / 0.602 GB, free: 12.64 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.204e-05/0.7557, allocations: 0 / 0.602 GB, free: 12.64 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.48e-05/0.7557, allocations: 0.5156 kB / 0.602 GB, free: 12.64 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001505/0.7559, allocations: 49.58 kB / 0.6021 GB, free: 12.58 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.7559, allocations: 2.844 kB / 0.6021 GB, free: 12.58 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.255e-05/0.7559, allocations: 0 / 0.6021 GB, free: 12.58 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.231e-05/0.756, allocations: 7.75 kB / 0.6021 GB, free: 12.58 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.748e-05/0.756, allocations: 4 kB / 0.6021 GB, free: 12.57 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002268/0.7562, allocations: 154.3 kB / 0.6022 GB, free: 12.38 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001033/0.7564, allocations: 31.14 kB / 0.6023 GB, free: 12.34 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.763e-05/0.7564, allocations: 12.92 kB / 0.6023 GB, free: 12.32 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001323/0.7577, allocations: 0.5589 MB / 0.6028 GB, free: 11.69 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.049e-05/0.7578, allocations: 34.56 kB / 0.6029 GB, free: 11.64 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.7578, allocations: 0 / 0.6029 GB, free: 11.64 MB / 426.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001767/0.758, allocations: 49.55 kB / 0.6029 GB, free: 11.59 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.405e-05/0.758, allocations: 58.12 kB / 0.603 GB, free: 11.52 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.566e-05/0.7581, allocations: 85 kB / 0.603 GB, free: 11.43 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.81e-05/0.7582, allocations: 25.7 kB / 0.6031 GB, free: 11.4 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.092e-05/0.7582, allocations: 80.14 kB / 0.6031 GB, free: 11.32 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.863e-05/0.7583, allocations: 20.02 kB / 0.6032 GB, free: 11.3 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.407e-06/0.7583, allocations: 0 / 0.6032 GB, free: 11.3 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001561/0.7584, allocations: 310.8 kB / 0.6035 GB, free: 10.99 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.57e-05/0.7585, allocations: 4 kB / 0.6035 GB, free: 10.98 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.908e-06/0.7585, allocations: 4 kB / 0.6035 GB, free: 10.98 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.65e-05/0.7585, allocations: 11.94 kB / 0.6035 GB, free: 10.97 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.7585, allocations: 0 / 0.6035 GB, free: 10.97 MB / 426.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.555e-05/0.7586, allocations: 41.69 kB / 0.6035 GB, free: 10.92 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.7586, allocations: 4 kB / 0.6035 GB, free: 10.92 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.7586, allocations: 1.719 kB / 0.6035 GB, free: 10.92 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.7586, allocations: 4 kB / 0.6035 GB, free: 10.91 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.424e-05/0.7587, allocations: 10.69 kB / 0.6035 GB, free: 10.91 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.218e-06/0.7587, allocations: 0 / 0.6035 GB, free: 10.91 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.553e-05/0.7588, allocations: 2.625 kB / 0.6035 GB, free: 10.91 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.867e-06/0.7588, allocations: 7.984 kB / 0.6035 GB, free: 10.9 MB / 426.7 MB 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 8.516e-05/0.7589, allocations: 108.8 kB / 0.6036 GB, free: 10.79 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.412e-06/0.7589, allocations: 0 / 0.6036 GB, free: 10.79 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001676/0.759, allocations: 67.09 kB / 0.6037 GB, free: 10.71 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.7591, allocations: 0 / 0.6037 GB, free: 10.71 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.285e-06/0.7591, allocations: 3.953 kB / 0.6037 GB, free: 10.71 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.7591, allocations: 0 / 0.6037 GB, free: 10.71 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001345/0.7592, allocations: 153.7 kB / 0.6039 GB, free: 10.51 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.7592, allocations: 0 / 0.6039 GB, free: 10.51 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.432e-05/0.7593, allocations: 4 kB / 0.6039 GB, free: 10.51 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.7593, allocations: 0 / 0.6039 GB, free: 10.51 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.278e-06/0.7593, allocations: 0 / 0.6039 GB, free: 10.51 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.7593, allocations: 4 kB / 0.6039 GB, free: 10.5 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.7593, allocations: 1.734 kB / 0.6039 GB, free: 10.5 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001005/0.7594, allocations: 77.02 kB / 0.6039 GB, free: 10.41 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.756e-05/0.7595, allocations: 81.09 kB / 0.604 GB, free: 10.31 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.297e-05/0.7595, allocations: 0 / 0.604 GB, free: 10.31 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.171e-05/0.7595, allocations: 0 / 0.604 GB, free: 10.31 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.854e-05/0.7595, allocations: 4 kB / 0.604 GB, free: 10.31 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.508e-06/0.7595, allocations: 4 kB / 0.604 GB, free: 10.3 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.383e-05/0.7596, allocations: 79.28 kB / 0.6041 GB, free: 10.23 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.743e-06/0.7596, allocations: 4.094 kB / 0.6041 GB, free: 10.22 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002506/0.7599, allocations: 35.83 kB / 0.6041 GB, free: 10.19 MB / 426.7 MB 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.0003132/0.7602, allocations: 136.8 kB / 0.6043 GB, free: 10.05 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 9.507e-05/0.7603, allocations: 12.61 kB / 0.6043 GB, free: 10.04 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.7603, allocations: 0 / 0.6043 GB, free: 10.04 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 1.742e-05/0.7603, allocations: 15.94 kB / 0.6043 GB, free: 10.02 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001921/0.7605, allocations: 7.906 kB / 0.6043 GB, free: 10.02 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002425/0.7608, allocations: 55.69 kB / 0.6044 GB, free: 9.941 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002702/0.7611, allocations: 0.677 MB / 0.605 GB, free: 9.238 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 3.215e-05/0.7611, allocations: 4.938 kB / 0.605 GB, free: 9.234 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.976e-05/0.7611, allocations: 7.438 kB / 0.605 GB, free: 9.23 MB / 426.7 MB Notification: Performance of SimCode: time 2.7e-07/0.7611, allocations: 4 kB / 0.605 GB, free: 9.227 MB / 426.7 MB Notification: Performance of Templates: time 0.003334/0.7645, allocations: 0.7885 MB / 0.6058 GB, free: 8.484 MB / 426.7 MB make -j1 -f Buildings_1.6_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.makefile (rm -f Buildings_1.6_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe >> ../files/Buildings_1.6_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.sim & ./Buildings_1.6_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe 2>&1)