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.601/1.601, allocations: 288.4 MB / 303.7 MB, free: 8.098 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.0009097/0.0009096, allocations: 179.6 kB / 372.3 MB, free: 10.13 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.516/1.516, allocations: 205.4 MB / 0.631 GB, free: 9.91 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.0006832/0.0006832, allocations: 93.45 kB / 0.7444 GB, free: 5.82 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003742/0.0003746, allocations: 16.83 kB / 0.8675 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1801/0.1805, allocations: 115.3 MB / 0.9801 GB, free: 27.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.001116/0.1816, allocations: 1.006 MB / 0.9811 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0008211/0.1825, allocations: 0.7004 MB / 0.9818 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.602e-05/0.1825, allocations: 4 kB / 0.9818 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.353e-05/0.1825, allocations: 0 / 0.9818 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.591e-05/0.1826, allocations: 7.922 kB / 0.9818 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002516/0.1828, allocations: 71.75 kB / 0.9819 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.044e-05/0.1829, allocations: 15.94 kB / 0.9819 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.741e-05/0.1829, allocations: 4 kB / 0.9819 GB, free: 25.53 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 1.835e-05/0.183, allocations: 7.984 kB / 0.9819 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.568e-05/0.183, allocations: 3.938 kB / 0.9819 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 9.909e-06/0.183, allocations: 4 kB / 0.9819 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002401/0.1833, allocations: 151.8 kB / 0.9821 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.967e-06/0.1833, allocations: 3.984 kB / 0.9821 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.354e-05/0.1833, allocations: 37.62 kB / 0.9821 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001312/0.1835, allocations: 72.14 kB / 0.9822 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.1835, allocations: 0 / 0.9822 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.483e-06/0.1835, allocations: 3.938 kB / 0.9822 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.927e-06/0.1835, allocations: 0 / 0.9822 GB, free: 25.25 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.0002362/0.1837, allocations: 323.6 kB / 0.9825 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.127e-05/0.1838, allocations: 8.031 kB / 0.9825 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.582e-05/0.1838, allocations: 4.844 kB / 0.9825 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.808e-05/0.1839, allocations: 180.3 kB / 0.9827 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.149e-05/0.1839, allocations: 4.312 kB / 0.9827 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.055e-05/0.1839, allocations: 8.125 kB / 0.9827 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.203e-05/0.184, allocations: 37.67 kB / 0.9827 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.823e-06/0.184, allocations: 0 / 0.9827 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.392e-06/0.184, allocations: 0 / 0.9827 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.184, allocations: 0 / 0.9827 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.435e-05/0.1841, allocations: 15.94 kB / 0.9827 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001057/0.1842, allocations: 157.7 kB / 0.9829 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 6.197e-05/0.1842, allocations: 34.62 kB / 0.9829 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.14e-05/0.1843, allocations: 16.84 kB / 0.9829 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002033/0.1863, allocations: 1.031 MB / 0.9839 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.661e-05/0.1863, allocations: 34.56 kB / 0.984 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.1863, allocations: 0 / 0.984 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0001242/0.1865, allocations: 49.62 kB / 0.984 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.125e-05/0.1865, allocations: 55.41 kB / 0.9841 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.99e-05/0.1866, allocations: 93.86 kB / 0.9842 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.392e-06/0.1866, allocations: 25.7 kB / 0.9842 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.223e-05/0.1866, allocations: 80.14 kB / 0.9843 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.167e-05/0.1866, allocations: 15.89 kB / 0.9843 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.585e-06/0.1866, allocations: 0 / 0.9843 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 3.769e-05/0.1867, allocations: 310.8 kB / 0.9846 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.122e-05/0.1867, allocations: 128 / 0.9846 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.418e-06/0.1867, allocations: 12 kB / 0.9846 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.771e-05/0.1867, allocations: 20.84 kB / 0.9846 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.1867, allocations: 3.938 kB / 0.9846 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.214e-05/0.1868, allocations: 45.55 kB / 0.9847 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.1868, allocations: 4 kB / 0.9847 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.1868, allocations: 3.984 kB / 0.9847 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.1868, allocations: 0 / 0.9847 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.742e-05/0.1869, allocations: 8 kB / 0.9847 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.1869, allocations: 0 / 0.9847 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.424e-05/0.1869, allocations: 4 kB / 0.9847 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.318e-06/0.1869, allocations: 4 kB / 0.9847 GB, free: 22.39 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.288e-05/0.187, allocations: 113.8 kB / 0.9848 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.883e-06/0.187, allocations: 3.938 kB / 0.9848 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.595e-05/0.1871, allocations: 57.39 kB / 0.9848 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.1871, allocations: 7.922 kB / 0.9848 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.1871, allocations: 0 / 0.9848 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.075e-06/0.1871, allocations: 4.031 kB / 0.9849 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.794e-05/0.1872, allocations: 157.6 kB / 0.985 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.1872, allocations: 0 / 0.985 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.431e-05/0.1872, allocations: 11.98 kB / 0.985 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.1872, allocations: 0 / 0.985 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.861e-06/0.1872, allocations: 0 / 0.985 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.1872, allocations: 0 / 0.985 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1872, allocations: 3.984 kB / 0.985 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.983e-05/0.1873, allocations: 77 kB / 0.9851 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.518e-05/0.1873, allocations: 77.11 kB / 0.9852 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.151e-05/0.1873, allocations: 8 kB / 0.9852 GB, free: 21.78 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.209e-05/0.1874, allocations: 0 / 0.9852 GB, free: 21.78 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.302e-05/0.1874, allocations: 0 / 0.9852 GB, free: 21.78 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.767e-06/0.1874, allocations: 3.984 kB / 0.9852 GB, free: 21.78 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.571e-05/0.1874, allocations: 79.28 kB / 0.9853 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1e-07/0.1874, allocations: 0 / 0.9853 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002027/0.1876, allocations: 31.94 kB / 0.9853 GB, free: 21.67 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.0002001/0.1878, allocations: 133 kB / 0.9854 GB, free: 21.53 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 6.743e-05/0.1879, allocations: 11.98 kB / 0.9854 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.1879, allocations: 0 / 0.9854 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.342e-05/0.1879, allocations: 15.94 kB / 0.9854 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000175/0.1881, allocations: 7.938 kB / 0.9854 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002005/0.1883, allocations: 122.5 kB / 0.9856 GB, free: 21.35 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.772e-05/0.1884, allocations: 0.6731 MB / 0.9862 GB, free: 20.65 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.698e-05/0.1885, allocations: 7.938 kB / 0.9862 GB, free: 20.64 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.385e-05/0.1885, allocations: 11.42 kB / 0.9862 GB, free: 20.63 MB / 0.6198 GB Notification: Performance of SimCode: time 2.2e-07/0.1885, allocations: 0 / 0.9862 GB, free: 20.63 MB / 0.6198 GB Notification: Performance of Templates: time 0.002408/0.1909, allocations: 0.8888 MB / 0.9871 GB, free: 19.78 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)