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.711/1.711, allocations: 288.4 MB / 303.4 MB, free: 8.145 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.001298/0.001299, allocations: 186.8 kB / 372 MB, free: 10.25 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.638/1.638, allocations: 205.4 MB / 0.6307 GB, free: 10 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007193/0.0007194, allocations: 86.41 kB / 0.7441 GB, free: 5.93 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000388/0.000388, allocations: 15.56 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1964/0.1968, allocations: 115.3 MB / 0.9796 GB, free: 27.65 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.001071/0.1979, allocations: 1.002 MB / 0.9806 GB, free: 26.63 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0008129/0.1987, allocations: 0.7081 MB / 0.9813 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.659e-05/0.1987, allocations: 0 / 0.9813 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.288e-05/0.1988, allocations: 0 / 0.9813 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 3.707e-05/0.1988, allocations: 3.984 kB / 0.9813 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002235/0.199, allocations: 75.77 kB / 0.9813 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 3.499e-05/0.1991, allocations: 11.92 kB / 0.9814 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.773e-05/0.1991, allocations: 4 kB / 0.9814 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 1.403e-05/0.1992, allocations: 15.92 kB / 0.9814 GB, free: 25.81 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.515e-05/0.1992, allocations: 4 kB / 0.9814 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 9.758e-06/0.1992, allocations: 4 kB / 0.9814 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002336/0.1995, allocations: 151.8 kB / 0.9815 GB, free: 25.65 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.933e-06/0.1995, allocations: 3.938 kB / 0.9815 GB, free: 25.65 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.422e-05/0.1995, allocations: 25.7 kB / 0.9816 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001066/0.1996, allocations: 76.11 kB / 0.9816 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.1996, allocations: 0 / 0.9816 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.503e-06/0.1996, allocations: 0 / 0.9816 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.005e-06/0.1996, allocations: 4 kB / 0.9816 GB, free: 25.54 MB / 0.6198 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.0002117/0.1998, allocations: 332.4 kB / 0.9819 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.152e-05/0.1999, allocations: 16.02 kB / 0.982 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.459e-05/0.1999, allocations: 3.906 kB / 0.982 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.13e-05/0.2, allocations: 167 kB / 0.9821 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.062e-05/0.2, allocations: 0 / 0.9821 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.814e-06/0.2, allocations: 4 kB / 0.9821 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.853e-05/0.2001, allocations: 33.69 kB / 0.9822 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.282e-06/0.2001, allocations: 0 / 0.9822 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.745e-06/0.2001, allocations: 8 kB / 0.9822 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.2001, allocations: 0 / 0.9822 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.219e-05/0.2002, allocations: 15.92 kB / 0.9822 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.534e-05/0.2003, allocations: 149.6 kB / 0.9823 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 6.006e-05/0.2003, allocations: 34.61 kB / 0.9824 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.046e-05/0.2004, allocations: 12.92 kB / 0.9824 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002026/0.2024, allocations: 1.035 MB / 0.9834 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.407e-05/0.2024, allocations: 30.56 kB / 0.9834 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.2024, allocations: 0 / 0.9834 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0001146/0.2025, allocations: 53.62 kB / 0.9835 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.857e-05/0.2026, allocations: 51.41 kB / 0.9835 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.61e-05/0.2026, allocations: 93.94 kB / 0.9836 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.162e-06/0.2026, allocations: 33.73 kB / 0.9836 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.15e-05/0.2026, allocations: 84.14 kB / 0.9837 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.695e-05/0.2027, allocations: 3.906 kB / 0.9837 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.915e-06/0.2027, allocations: 0 / 0.9837 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 3.702e-05/0.2027, allocations: 314.8 kB / 0.984 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.346e-05/0.2027, allocations: 15.92 kB / 0.984 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.247e-06/0.2027, allocations: 4 kB / 0.984 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.59e-05/0.2028, allocations: 4 kB / 0.984 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.2028, allocations: 0 / 0.984 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.307e-05/0.2028, allocations: 53.62 kB / 0.9841 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.058e-05/0.2028, allocations: 4 kB / 0.9841 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.2029, allocations: 0 / 0.9841 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.157e-06/0.2029, allocations: 0 / 0.9841 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.248e-05/0.2029, allocations: 4 kB / 0.9841 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.137e-06/0.2029, allocations: 0 / 0.9841 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.473e-05/0.2029, allocations: 3.906 kB / 0.9841 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.917e-06/0.203, allocations: 8.266 kB / 0.9841 GB, free: 22.71 MB / 0.6198 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 4.047e-05/0.203, allocations: 113.8 kB / 0.9842 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.722e-06/0.203, allocations: 4 kB / 0.9842 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.278e-05/0.2031, allocations: 65.09 kB / 0.9843 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-06/0.2031, allocations: 0 / 0.9843 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.2031, allocations: 0 / 0.9843 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.2031, allocations: 0 / 0.9843 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.255e-05/0.2032, allocations: 161.6 kB / 0.9844 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.2032, allocations: 0 / 0.9844 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.155e-05/0.2032, allocations: 4 kB / 0.9844 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.2032, allocations: 0 / 0.9844 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.149e-06/0.2032, allocations: 4 kB / 0.9844 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.2032, allocations: 4 kB / 0.9844 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.22e-07/0.2033, allocations: 0 / 0.9844 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.763e-05/0.2033, allocations: 65.12 kB / 0.9845 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.474e-05/0.2033, allocations: 85 kB / 0.9846 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.538e-06/0.2034, allocations: 4 kB / 0.9846 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.256e-05/0.2034, allocations: 4 kB / 0.9846 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.011e-05/0.2034, allocations: 7.984 kB / 0.9846 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.394e-06/0.2034, allocations: 4 kB / 0.9846 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.389e-05/0.2034, allocations: 75.28 kB / 0.9847 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1e-07/0.2034, allocations: 3.938 kB / 0.9847 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001902/0.2036, allocations: 31.94 kB / 0.9847 GB, free: 21.98 MB / 0.6198 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.0001842/0.2038, allocations: 124.7 kB / 0.9848 GB, free: 21.85 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 5.812e-05/0.2039, allocations: 19.98 kB / 0.9849 GB, free: 21.83 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.482e-06/0.2039, allocations: 0 / 0.9849 GB, free: 21.83 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.239e-05/0.2039, allocations: 7.938 kB / 0.9849 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001609/0.2041, allocations: 11.98 kB / 0.9849 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001753/0.2042, allocations: 118.5 kB / 0.985 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.229e-05/0.2043, allocations: 0.677 MB / 0.9856 GB, free: 20.97 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.424e-05/0.2044, allocations: 4 kB / 0.9857 GB, free: 20.96 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.183e-05/0.2044, allocations: 11.44 kB / 0.9857 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of SimCode: time 2.4e-07/0.2044, allocations: 0 / 0.9857 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of Templates: time 0.002329/0.2067, allocations: 0.8865 MB / 0.9865 GB, free: 20.1 MB / 0.6198 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)