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 1.788/1.788, allocations: 287.5 MB / 302.6 MB, free: 8.277 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.0009557/0.0009558, allocations: 189.4 kB / 371.2 MB, free: 10.8 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.33/1.33, allocations: 205.4 MB / 0.6298 GB, free: 10.54 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.0007768/0.0007769, allocations: 89.22 kB / 0.7432 GB, free: 6.543 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003685/0.0003686, allocations: 16.12 kB / 0.8661 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1869/0.1872, allocations: 115.3 MB / 0.9787 GB, free: 28.16 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.00116/0.1885, allocations: 1.002 MB / 0.9797 GB, free: 27.14 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0009582/0.1894, allocations: 0.6919 MB / 0.9804 GB, free: 26.44 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.281e-05/0.1895, allocations: 4 kB / 0.9804 GB, free: 26.44 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.86e-05/0.1895, allocations: 0 / 0.9804 GB, free: 26.44 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.265e-05/0.1896, allocations: 3.938 kB / 0.9804 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003199/0.1899, allocations: 79.75 kB / 0.9804 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.249e-05/0.19, allocations: 7.938 kB / 0.9804 GB, free: 26.35 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.735e-05/0.1901, allocations: 7.984 kB / 0.9804 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.319e-05/0.1901, allocations: 8 kB / 0.9805 GB, free: 26.33 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.751e-05/0.1902, allocations: 11.92 kB / 0.9805 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.162e-05/0.1902, allocations: 0 / 0.9805 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000292/0.1905, allocations: 155.8 kB / 0.9806 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.067e-06/0.1905, allocations: 0 / 0.9806 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.992e-05/0.1905, allocations: 33.7 kB / 0.9806 GB, free: 26.13 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001257/0.1907, allocations: 68.11 kB / 0.9807 GB, free: 26.06 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.1907, allocations: 0 / 0.9807 GB, free: 26.06 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.313e-06/0.1907, allocations: 0 / 0.9807 GB, free: 26.06 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.188e-06/0.1907, allocations: 4 kB / 0.9807 GB, free: 26.06 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.0002853/0.191, allocations: 319.6 kB / 0.981 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.191, allocations: 20.02 kB / 0.981 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.86e-05/0.1911, allocations: 8.781 kB / 0.9811 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.34e-05/0.1911, allocations: 164.3 kB / 0.9812 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.087e-05/0.1912, allocations: 8.312 kB / 0.9812 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.153e-05/0.1912, allocations: 8.062 kB / 0.9812 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.532e-05/0.1913, allocations: 37.69 kB / 0.9813 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.1913, allocations: 0 / 0.9813 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.596e-06/0.1913, allocations: 0 / 0.9813 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.1913, allocations: 0 / 0.9813 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.125e-05/0.1914, allocations: 8 kB / 0.9813 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001211/0.1915, allocations: 157.7 kB / 0.9814 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 6.894e-05/0.1916, allocations: 38.59 kB / 0.9815 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.309e-05/0.1916, allocations: 16.8 kB / 0.9815 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002107/0.1937, allocations: 1.031 MB / 0.9825 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.796e-05/0.1937, allocations: 34.56 kB / 0.9825 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.222e-06/0.1937, allocations: 4 kB / 0.9825 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0001315/0.1939, allocations: 49.62 kB / 0.9826 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.758e-05/0.1939, allocations: 51.41 kB / 0.9826 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.322e-05/0.194, allocations: 101.8 kB / 0.9827 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.662e-06/0.194, allocations: 25.7 kB / 0.9827 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.558e-05/0.194, allocations: 80.14 kB / 0.9828 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.056e-05/0.194, allocations: 8.031 kB / 0.9828 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.064e-06/0.194, allocations: 0 / 0.9828 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.007e-05/0.1941, allocations: 318.8 kB / 0.9831 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.132e-05/0.1941, allocations: 0 / 0.9831 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.113e-05/0.1941, allocations: 4 kB / 0.9831 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.875e-05/0.1941, allocations: 20.84 kB / 0.9831 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.1941, allocations: 0 / 0.9831 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.861e-05/0.1942, allocations: 57.47 kB / 0.9832 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/0.1942, allocations: 4 kB / 0.9832 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.137e-06/0.1942, allocations: 4 kB / 0.9832 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.1943, allocations: 0 / 0.9832 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.623e-05/0.1943, allocations: 4 kB / 0.9832 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.1943, allocations: 0 / 0.9832 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.413e-05/0.1943, allocations: 4 kB / 0.9832 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.638e-06/0.1943, allocations: 4 kB / 0.9832 GB, free: 23.21 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.141e-05/0.1944, allocations: 109.8 kB / 0.9833 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.366e-06/0.1944, allocations: 7.938 kB / 0.9833 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000108/0.1945, allocations: 65.11 kB / 0.9834 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.1945, allocations: 0 / 0.9834 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.1945, allocations: 7.875 kB / 0.9834 GB, free: 23 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.1946, allocations: 0 / 0.9834 GB, free: 23 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.641e-05/0.1946, allocations: 157.6 kB / 0.9835 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.1946, allocations: 0 / 0.9835 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.37e-05/0.1947, allocations: 4 kB / 0.9836 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.1947, allocations: 0 / 0.9836 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.332e-06/0.1947, allocations: 4 kB / 0.9836 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.1947, allocations: 0 / 0.9836 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.1947, allocations: 0 / 0.9836 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.981e-05/0.1948, allocations: 73.44 kB / 0.9836 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.814e-05/0.1948, allocations: 77.11 kB / 0.9837 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.102e-05/0.1948, allocations: 0 / 0.9837 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.23e-05/0.1948, allocations: 48 / 0.9837 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.881e-05/0.1948, allocations: 11.97 kB / 0.9837 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.527e-06/0.1949, allocations: 4 kB / 0.9837 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.841e-05/0.1949, allocations: 79.28 kB / 0.9838 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1949, allocations: 8.031 kB / 0.9838 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002103/0.1951, allocations: 27.94 kB / 0.9838 GB, free: 22.48 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.0002322/0.1953, allocations: 123.2 kB / 0.9839 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 7.534e-05/0.1954, allocations: 19.98 kB / 0.984 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.1954, allocations: 4 kB / 0.984 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.308e-05/0.1955, allocations: 4 kB / 0.984 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001906/0.1956, allocations: 11.92 kB / 0.984 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002426/0.1959, allocations: 126.5 kB / 0.9841 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001021/0.196, allocations: 0.6692 MB / 0.9848 GB, free: 21.47 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.163e-05/0.1961, allocations: 11.92 kB / 0.9848 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.509e-05/0.1961, allocations: 15.44 kB / 0.9848 GB, free: 21.44 MB / 0.6198 GB Notification: Performance of SimCode: time 2.51e-07/0.1961, allocations: 0 / 0.9848 GB, free: 21.44 MB / 0.6198 GB Notification: Performance of Templates: time 0.002637/0.1987, allocations: 0.8747 MB / 0.9856 GB, free: 20.58 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)