Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.694/1.694, allocations: 285.6 MB / 293.1 MB, free: 10.23 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.001675/0.001675, allocations: 184.9 kB / 361.4 MB, free: 6.855 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.899/1.899, allocations: 205.2 MB / 0.62 GB, free: 11.64 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.0009004/0.0008999, allocations: 87.28 kB / 0.733 GB, free: 44.12 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.837e-05/1.847e-05, allocations: 8 kB / 0.8518 GB, free: 2.699 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7383/0.7384, allocations: 115.3 MB / 0.9644 GB, free: 78.82 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1933/0.9317, allocations: 138.4 MB / 1.1 GB, free: 1.434 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002438/0.932, allocations: 89.39 kB / 1.1 GB, free: 1.348 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.007219/0.9393, allocations: 2.344 MB / 1.102 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.853e-06/0.9393, allocations: 0 / 1.102 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.524e-06/0.9393, allocations: 0 / 1.102 GB, free: 15.05 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.0002992/0.9396, allocations: 326.4 kB / 1.102 GB, free: 14.69 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/0.9397, allocations: 12.03 kB / 1.102 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.13e-05/0.9397, allocations: 1.031 kB / 1.102 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000142/0.9399, allocations: 171 kB / 1.102 GB, free: 14.47 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.402e-05/0.9399, allocations: 6.953 kB / 1.102 GB, free: 14.47 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.655e-06/0.9399, allocations: 0 / 1.102 GB, free: 14.47 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.845e-05/0.94, allocations: 11.98 kB / 1.102 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.753e-05/0.9401, allocations: 29.7 kB / 1.102 GB, free: 14.42 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.9401, allocations: 1.641 kB / 1.102 GB, free: 14.42 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.9401, allocations: 2.938 kB / 1.102 GB, free: 14.42 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.9401, allocations: 4 kB / 1.102 GB, free: 14.42 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001566/0.9403, allocations: 130.2 kB / 1.103 GB, free: 14.25 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.052e-05/0.9404, allocations: 42.47 kB / 1.103 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.713e-05/0.9404, allocations: 8.922 kB / 1.103 GB, free: 14.19 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001169/0.9416, allocations: 0.5511 MB / 1.103 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.611e-05/0.9416, allocations: 35.97 kB / 1.103 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/0.9416, allocations: 4 kB / 1.103 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.000169/0.9418, allocations: 41.59 kB / 1.103 GB, free: 13.47 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.198e-05/0.9418, allocations: 51.41 kB / 1.103 GB, free: 13.41 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.582e-05/0.9419, allocations: 93 kB / 1.103 GB, free: 13.31 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.408e-05/0.9419, allocations: 25.7 kB / 1.103 GB, free: 13.28 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.511e-05/0.942, allocations: 84.14 kB / 1.103 GB, free: 13.2 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.84e-05/0.942, allocations: 3.906 kB / 1.103 GB, free: 13.19 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.915e-06/0.942, allocations: 3.938 kB / 1.103 GB, free: 13.19 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001369/0.9422, allocations: 318.8 kB / 1.104 GB, free: 12.87 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.084e-05/0.9422, allocations: 0 / 1.104 GB, free: 12.87 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.165e-05/0.9422, allocations: 8.656 kB / 1.104 GB, free: 12.86 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.597e-05/0.9422, allocations: 4 kB / 1.104 GB, free: 12.86 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.9422, allocations: 4.125 kB / 1.104 GB, free: 12.85 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.704e-05/0.9423, allocations: 37.69 kB / 1.104 GB, free: 12.81 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.9424, allocations: 14.14 kB / 1.104 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.9424, allocations: 4.766 kB / 1.104 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/0.9424, allocations: 0 / 1.104 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.992e-05/0.9424, allocations: 4 kB / 1.104 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.9425, allocations: 0 / 1.104 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.366e-05/0.9425, allocations: 0 / 1.104 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.304e-06/0.9425, allocations: 4 kB / 1.104 GB, free: 12.79 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 8.201e-05/0.9426, allocations: 109 kB / 1.104 GB, free: 12.68 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.679e-06/0.9426, allocations: 7.906 kB / 1.104 GB, free: 12.67 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001319/0.9427, allocations: 59.39 kB / 1.104 GB, free: 12.6 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/0.9427, allocations: 0.5156 kB / 1.104 GB, free: 12.6 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.9428, allocations: 4 kB / 1.104 GB, free: 12.6 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.9428, allocations: 0 / 1.104 GB, free: 12.6 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.282e-05/0.9429, allocations: 130.2 kB / 1.104 GB, free: 12.43 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.9429, allocations: 0 / 1.104 GB, free: 12.43 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.247e-05/0.9429, allocations: 4 kB / 1.104 GB, free: 12.43 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.9429, allocations: 0 / 1.104 GB, free: 12.43 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.092e-06/0.9429, allocations: 4 kB / 1.104 GB, free: 12.43 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.9429, allocations: 2.906 kB / 1.104 GB, free: 12.43 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.9429, allocations: 5.922 kB / 1.104 GB, free: 12.42 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.471e-05/0.943, allocations: 72.31 kB / 1.104 GB, free: 12.34 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.355e-05/0.9431, allocations: 77.11 kB / 1.104 GB, free: 12.24 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.261e-05/0.9431, allocations: 4 kB / 1.104 GB, free: 12.24 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.125e-05/0.9431, allocations: 0 / 1.104 GB, free: 12.24 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.221e-05/0.9431, allocations: 11.94 kB / 1.104 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.404e-06/0.9431, allocations: 0 / 1.104 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.121e-05/0.9432, allocations: 83.28 kB / 1.104 GB, free: 12.14 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9432, allocations: 0 / 1.104 GB, free: 12.14 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002004/0.9434, allocations: 23.94 kB / 1.104 GB, free: 12.12 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.0002698/0.9437, allocations: 143 kB / 1.105 GB, free: 11.97 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 6.529e-05/0.9438, allocations: 11.98 kB / 1.105 GB, free: 11.96 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.9438, allocations: 0 / 1.105 GB, free: 11.96 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.661e-05/0.9438, allocations: 15.94 kB / 1.105 GB, free: 11.95 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001557/0.9439, allocations: 2.562 kB / 1.105 GB, free: 11.95 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001829/0.9441, allocations: 59.94 kB / 1.105 GB, free: 11.86 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002769/0.9444, allocations: 0.6789 MB / 1.105 GB, free: 11.16 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.703e-05/0.9445, allocations: 8.656 kB / 1.105 GB, free: 11.15 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.579e-05/0.9445, allocations: 7.438 kB / 1.105 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of SimCode: time 2.51e-07/0.9445, allocations: 3.188 kB / 1.105 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of Templates: time 0.002796/0.9473, allocations: 0.7793 MB / 1.106 GB, free: 10.4 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe 2>&1)