Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.619/2.619, allocations: 287.3 MB / 302.3 MB, free: 8.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.001576/0.001576, allocations: 182.4 kB / 370.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.059/2.059, allocations: 205.4 MB / 0.6295 GB, free: 10.62 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.001259/0.001259, allocations: 96.14 kB / 0.7428 GB, free: 6.621 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006868/0.0006869, allocations: 13.75 kB / 0.8656 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2195/0.2202, allocations: 115.3 MB / 0.9782 GB, free: 28.38 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.001503/0.2217, allocations: 1.002 MB / 0.9792 GB, free: 27.36 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001269/0.2231, allocations: 0.6852 MB / 0.9798 GB, free: 26.68 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.071e-05/0.2231, allocations: 0 / 0.9798 GB, free: 26.68 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.45e-05/0.2231, allocations: 3.938 kB / 0.9799 GB, free: 26.67 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.828e-05/0.2232, allocations: 7.984 kB / 0.9799 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003538/0.2236, allocations: 71.8 kB / 0.9799 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.362e-05/0.2237, allocations: 11.98 kB / 0.9799 GB, free: 26.58 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.311e-05/0.2237, allocations: 0 / 0.9799 GB, free: 26.58 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.258e-05/0.2238, allocations: 11.94 kB / 0.98 GB, free: 26.57 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.072e-05/0.2238, allocations: 11.98 kB / 0.98 GB, free: 26.56 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.415e-05/0.2238, allocations: 3.984 kB / 0.98 GB, free: 26.55 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004035/0.2243, allocations: 151.8 kB / 0.9801 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.817e-06/0.2243, allocations: 0 / 0.9801 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.49e-05/0.2243, allocations: 33.64 kB / 0.9801 GB, free: 26.37 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000185/0.2245, allocations: 68.11 kB / 0.9802 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.2245, allocations: 0 / 0.9802 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.563e-06/0.2245, allocations: 4 kB / 0.9802 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.2246, allocations: 4 kB / 0.9802 GB, free: 26.29 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.0003514/0.2249, allocations: 331.4 kB / 0.9805 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.225, allocations: 12.02 kB / 0.9805 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.783e-05/0.225, allocations: 3.906 kB / 0.9805 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.872e-05/0.2251, allocations: 170.9 kB / 0.9807 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.378e-05/0.2251, allocations: 4 kB / 0.9807 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.818e-06/0.2252, allocations: 0 / 0.9807 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.691e-05/0.2253, allocations: 37.69 kB / 0.9808 GB, free: 25.65 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.2253, allocations: 0 / 0.9808 GB, free: 25.65 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.073e-05/0.2253, allocations: 4 kB / 0.9808 GB, free: 25.65 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.2253, allocations: 3.938 kB / 0.9808 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.785e-05/0.2254, allocations: 15.92 kB / 0.9808 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001495/0.2255, allocations: 153.6 kB / 0.9809 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001011/0.2257, allocations: 34.67 kB / 0.981 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003868/0.2295, allocations: 1.031 MB / 0.982 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.528e-05/0.2296, allocations: 34.56 kB / 0.982 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.973e-06/0.2296, allocations: 0 / 0.982 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0002104/0.2299, allocations: 53.62 kB / 0.982 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.957e-05/0.2299, allocations: 51.41 kB / 0.9821 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.119e-05/0.23, allocations: 93.84 kB / 0.9822 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.171e-05/0.23, allocations: 29.7 kB / 0.9822 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.142e-05/0.23, allocations: 84.27 kB / 0.9823 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.935e-05/0.2301, allocations: 7.906 kB / 0.9823 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.727e-06/0.2301, allocations: 0 / 0.9823 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.405e-05/0.2301, allocations: 314.8 kB / 0.9826 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.955e-05/0.2302, allocations: 4 kB / 0.9826 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.828e-05/0.2302, allocations: 7.984 kB / 0.9826 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.802e-05/0.2302, allocations: 8 kB / 0.9826 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.2303, allocations: 0 / 0.9826 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.389e-05/0.2303, allocations: 41.64 kB / 0.9827 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/0.2304, allocations: 11.98 kB / 0.9827 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.2304, allocations: 4 kB / 0.9827 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.2304, allocations: 336 / 0.9827 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.676e-05/0.2305, allocations: 4 kB / 0.9827 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.2305, allocations: 0 / 0.9827 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.451e-05/0.2305, allocations: 3.906 kB / 0.9827 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.725e-06/0.2306, allocations: 4 kB / 0.9827 GB, free: 23.48 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 6.134e-05/0.2306, allocations: 109.8 kB / 0.9828 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.678e-06/0.2307, allocations: 0 / 0.9828 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001499/0.2308, allocations: 65.11 kB / 0.9829 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.9e-06/0.2308, allocations: 11.92 kB / 0.9829 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.668e-06/0.2308, allocations: 0 / 0.9829 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.2309, allocations: 3.938 kB / 0.9829 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.658e-05/0.231, allocations: 149.6 kB / 0.983 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.231, allocations: 0 / 0.983 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.049e-05/0.231, allocations: 7.984 kB / 0.983 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.231, allocations: 0 / 0.983 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.386e-06/0.2311, allocations: 4 kB / 0.983 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.2311, allocations: 4 kB / 0.983 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.2311, allocations: 4 kB / 0.983 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.441e-05/0.2312, allocations: 65.12 kB / 0.9831 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.707e-05/0.2312, allocations: 81.06 kB / 0.9832 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.595e-05/0.2312, allocations: 4 kB / 0.9832 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.987e-05/0.2313, allocations: 0 / 0.9832 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.636e-05/0.2313, allocations: 4 kB / 0.9832 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.383e-06/0.2313, allocations: 3.984 kB / 0.9832 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.483e-05/0.2313, allocations: 87.22 kB / 0.9833 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.51e-07/0.2314, allocations: 0 / 0.9833 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003242/0.2317, allocations: 31.94 kB / 0.9833 GB, free: 22.75 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.0002969/0.232, allocations: 123.2 kB / 0.9834 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 9.805e-05/0.2321, allocations: 20.08 kB / 0.9834 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.2321, allocations: 4 kB / 0.9834 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.172e-05/0.2322, allocations: 4 kB / 0.9834 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001942/0.2324, allocations: 4 kB / 0.9834 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002919/0.2327, allocations: 122.4 kB / 0.9836 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001258/0.2328, allocations: 0.6809 MB / 0.9842 GB, free: 21.74 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.774e-05/0.2329, allocations: 15.89 kB / 0.9842 GB, free: 21.72 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.949e-05/0.2329, allocations: 11.44 kB / 0.9842 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of SimCode: time 5.91e-07/0.2329, allocations: 0 / 0.9842 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of Templates: time 0.003849/0.2368, allocations: 0.869 MB / 0.9851 GB, free: 20.85 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe 2>&1)