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.735/1.735, allocations: 292.6 MB / 307.5 MB, free: 5.258 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.001278/0.001278, allocations: 189 kB / 377.1 MB, free: 1.555 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.631/1.631, allocations: 205.4 MB / 0.6367 GB, free: 8.629 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.0008857/0.0008857, allocations: 87.58 kB / 0.751 GB, free: 63.23 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003614/0.0003615, allocations: 12 kB / 0.8748 GB, free: 11.21 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3071/0.3074, allocations: 116.3 MB / 0.9884 GB, free: 6.754 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7485/1.056, allocations: 140.1 MB / 1.125 GB, free: 34.86 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002943/1.056, allocations: 90.77 kB / 1.125 GB, free: 34.79 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.007633/1.064, allocations: 2.35 MB / 1.128 GB, free: 33.02 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.767e-06/1.064, allocations: 0 / 1.128 GB, free: 33.02 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 9.919e-06/1.064, allocations: 0 / 1.128 GB, free: 33.02 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003196/1.064, allocations: 336.7 kB / 1.128 GB, free: 32.65 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/1.064, allocations: 12.02 kB / 1.128 GB, free: 32.64 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.433e-05/1.064, allocations: 7.5 kB / 1.128 GB, free: 32.64 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001166/1.065, allocations: 163.6 kB / 1.128 GB, free: 32.44 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.903e-05/1.065, allocations: 3 kB / 1.128 GB, free: 32.44 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.253e-05/1.065, allocations: 4 kB / 1.128 GB, free: 32.43 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001131/1.065, allocations: 33.64 kB / 1.128 GB, free: 32.4 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/1.065, allocations: 3.328 kB / 1.128 GB, free: 32.4 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.663e-05/1.065, allocations: 4.516 kB / 1.128 GB, free: 32.39 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/1.065, allocations: 4.938 kB / 1.128 GB, free: 32.39 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.002e-05/1.065, allocations: 8 kB / 1.128 GB, free: 32.38 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000189/1.065, allocations: 153 kB / 1.128 GB, free: 32.19 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 9.457e-05/1.065, allocations: 39.19 kB / 1.128 GB, free: 32.14 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001152/1.066, allocations: 0.5558 MB / 1.129 GB, free: 31.57 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.378e-05/1.066, allocations: 31.44 kB / 1.129 GB, free: 31.53 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=3): time 1.893e-06/1.066, allocations: 0 / 1.129 GB, free: 31.53 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3): time 0.0002019/1.067, allocations: 55.89 kB / 1.129 GB, free: 31.48 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.431e-05/1.067, allocations: 59.34 kB / 1.129 GB, free: 31.41 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.566e-05/1.067, allocations: 85 kB / 1.129 GB, free: 31.32 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.592e-05/1.067, allocations: 30.55 kB / 1.129 GB, free: 31.28 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.635e-05/1.067, allocations: 84.14 kB / 1.129 GB, free: 31.2 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.558e-05/1.067, allocations: 7.422 kB / 1.129 GB, free: 31.19 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.146e-06/1.067, allocations: 0 / 1.129 GB, free: 31.19 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001123/1.067, allocations: 310.8 kB / 1.129 GB, free: 30.88 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.671e-05/1.067, allocations: 8 kB / 1.13 GB, free: 30.87 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.169e-05/1.067, allocations: 8.125 kB / 1.13 GB, free: 30.86 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.09e-05/1.067, allocations: 5.406 kB / 1.13 GB, free: 30.86 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/1.067, allocations: 0 / 1.13 GB, free: 30.86 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.53e-05/1.067, allocations: 45.55 kB / 1.13 GB, free: 30.81 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.209e-05/1.067, allocations: 8.625 kB / 1.13 GB, free: 30.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.979e-06/1.067, allocations: 3.422 kB / 1.13 GB, free: 30.8 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.065e-05/1.067, allocations: 3.938 kB / 1.13 GB, free: 30.8 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.931e-05/1.067, allocations: 4 kB / 1.13 GB, free: 30.8 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/1.067, allocations: 0 / 1.13 GB, free: 30.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.574e-05/1.067, allocations: 0.6562 kB / 1.13 GB, free: 30.8 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.684e-06/1.067, allocations: 8.812 kB / 1.13 GB, free: 30.79 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 () * Number of clocked 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.319e-05/1.067, allocations: 109.8 kB / 1.13 GB, free: 30.67 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.251e-05/1.067, allocations: 7.859 kB / 1.13 GB, free: 30.66 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000136/1.068, allocations: 53.64 kB / 1.13 GB, free: 30.61 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/1.068, allocations: 4.516 kB / 1.13 GB, free: 30.61 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/1.068, allocations: 0 / 1.13 GB, free: 30.61 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/1.068, allocations: 0 / 1.13 GB, free: 30.61 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.978e-05/1.068, allocations: 153.2 kB / 1.13 GB, free: 30.41 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/1.068, allocations: 4.562 kB / 1.13 GB, free: 30.41 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.915e-05/1.068, allocations: 7.938 kB / 1.13 GB, free: 30.4 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.928e-06/1.068, allocations: 0 / 1.13 GB, free: 30.4 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.156e-05/1.068, allocations: 4.703 kB / 1.13 GB, free: 30.4 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.849e-06/1.068, allocations: 4.938 kB / 1.13 GB, free: 30.39 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/1.068, allocations: 0 / 1.13 GB, free: 30.39 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.834e-05/1.068, allocations: 68.73 kB / 1.13 GB, free: 30.32 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.983e-05/1.068, allocations: 85.05 kB / 1.13 GB, free: 30.21 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.582e-05/1.068, allocations: 5.031 kB / 1.13 GB, free: 30.21 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.492e-05/1.068, allocations: 3.953 kB / 1.13 GB, free: 30.21 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.188e-05/1.068, allocations: 7.938 kB / 1.13 GB, free: 30.2 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.897e-06/1.068, allocations: 0.5625 kB / 1.13 GB, free: 30.2 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.258e-05/1.068, allocations: 78.66 kB / 1.13 GB, free: 30.12 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.11e-07/1.068, allocations: 0 / 1.13 GB, free: 30.12 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002749/1.068, allocations: 28 kB / 1.13 GB, free: 30.1 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 () * Number of clocked 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.0002937/1.069, allocations: 139.6 kB / 1.13 GB, free: 29.96 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 8.698e-05/1.069, allocations: 17.11 kB / 1.13 GB, free: 29.95 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.107e-06/1.069, allocations: 2.562 kB / 1.13 GB, free: 29.95 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.286e-05/1.069, allocations: 4 kB / 1.13 GB, free: 29.94 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002193/1.069, allocations: 12.08 kB / 1.13 GB, free: 29.93 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002729/1.069, allocations: 118.7 kB / 1.13 GB, free: 29.81 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001257/1.069, allocations: 0.6804 MB / 1.131 GB, free: 29.11 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.245e-05/1.069, allocations: 5.688 kB / 1.131 GB, free: 29.1 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.834e-05/1.069, allocations: 7.438 kB / 1.131 GB, free: 29.1 MB / 0.7292 GB Notification: Performance of SimCode: time 4.01e-07/1.069, allocations: 0 / 1.131 GB, free: 29.1 MB / 0.7292 GB Notification: Performance of Templates: time 0.002986/1.072, allocations: 0.7755 MB / 1.132 GB, free: 28.65 MB / 0.7292 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)