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.576/2.576, allocations: 287.5 MB / 302.4 MB, free: 8.309 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.001418/0.001418, allocations: 180.4 kB / 371 MB, free: 10.86 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.124/2.124, allocations: 205.4 MB / 0.6297 GB, free: 10.59 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.0009499/0.0009498, allocations: 89.33 kB / 0.743 GB, free: 6.582 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004994/0.0004997, allocations: 11.34 kB / 0.8658 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2108/0.2113, allocations: 115.3 MB / 0.9784 GB, free: 28.34 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.001407/0.2128, allocations: 1.006 MB / 0.9794 GB, free: 27.32 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001267/0.2141, allocations: 0.6927 MB / 0.98 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.498e-05/0.2142, allocations: 4 kB / 0.98 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.456e-05/0.2142, allocations: 0 / 0.98 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.171e-05/0.2142, allocations: 0 / 0.98 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003519/0.2146, allocations: 79.73 kB / 0.9801 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.109e-05/0.2147, allocations: 15.94 kB / 0.9801 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.386e-05/0.2147, allocations: 0 / 0.9801 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.225e-05/0.2148, allocations: 7.938 kB / 0.9801 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.458e-05/0.2148, allocations: 11.97 kB / 0.9801 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.212e-05/0.2148, allocations: 0 / 0.9801 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003997/0.2153, allocations: 159.8 kB / 0.9803 GB, free: 26.35 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.947e-06/0.2153, allocations: 0 / 0.9803 GB, free: 26.35 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.102e-05/0.2153, allocations: 29.7 kB / 0.9803 GB, free: 26.31 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001699/0.2155, allocations: 76.11 kB / 0.9804 GB, free: 26.24 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.2155, allocations: 0 / 0.9804 GB, free: 26.24 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.094e-06/0.2155, allocations: 0 / 0.9804 GB, free: 26.24 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.298e-06/0.2155, allocations: 0 / 0.9804 GB, free: 26.24 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.0003013/0.2158, allocations: 326 kB / 0.9807 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.2159, allocations: 12.02 kB / 0.9807 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.235e-05/0.2159, allocations: 7.906 kB / 0.9807 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.523e-05/0.216, allocations: 171 kB / 0.9809 GB, free: 25.65 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.534e-05/0.2161, allocations: 4 kB / 0.9809 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.325e-05/0.2161, allocations: 0 / 0.9809 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.659e-05/0.2162, allocations: 37.62 kB / 0.9809 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.2162, allocations: 3.938 kB / 0.9809 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.368e-06/0.2162, allocations: 0 / 0.9809 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.2162, allocations: 4 kB / 0.9809 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.297e-05/0.2163, allocations: 15.92 kB / 0.981 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001449/0.2165, allocations: 157.7 kB / 0.9811 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 9.013e-05/0.2166, allocations: 30.58 kB / 0.9811 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.371e-05/0.2166, allocations: 12.92 kB / 0.9811 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003866/0.2205, allocations: 1.039 MB / 0.9822 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.875e-05/0.2206, allocations: 42.5 kB / 0.9822 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 2.675e-06/0.2206, allocations: 0 / 0.9822 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0002063/0.2208, allocations: 45.69 kB / 0.9822 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.303e-05/0.2208, allocations: 51.41 kB / 0.9823 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.048e-05/0.2209, allocations: 93.86 kB / 0.9824 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.066e-05/0.2209, allocations: 25.7 kB / 0.9824 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.012e-05/0.221, allocations: 80.14 kB / 0.9825 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.757e-05/0.221, allocations: 11.91 kB / 0.9825 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.186e-06/0.221, allocations: 4.125 kB / 0.9825 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.895e-05/0.2211, allocations: 318.8 kB / 0.9828 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.032e-05/0.2211, allocations: 4 kB / 0.9828 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.765e-05/0.2211, allocations: 0 / 0.9828 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.958e-05/0.2212, allocations: 8 kB / 0.9828 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.2212, allocations: 3.938 kB / 0.9828 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.726e-05/0.2213, allocations: 45.69 kB / 0.9829 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.2213, allocations: 4 kB / 0.9829 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.2213, allocations: 0 / 0.9829 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.2213, allocations: 8 kB / 0.9829 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.216e-05/0.2214, allocations: 4 kB / 0.9829 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.2215, allocations: 0 / 0.9829 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.5e-05/0.2215, allocations: 3.906 kB / 0.9829 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.395e-06/0.2215, allocations: 4 kB / 0.9829 GB, free: 23.4 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.678e-05/0.2216, allocations: 117.8 kB / 0.983 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.071e-05/0.2216, allocations: 0 / 0.983 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001536/0.2218, allocations: 57.12 kB / 0.9831 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.2218, allocations: 4 kB / 0.9831 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.2218, allocations: 0 / 0.9831 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.2218, allocations: 7.875 kB / 0.9831 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.645e-05/0.2219, allocations: 157.6 kB / 0.9832 GB, free: 23 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.2219, allocations: 4 kB / 0.9832 GB, free: 23 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.254e-05/0.222, allocations: 4 kB / 0.9832 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.222, allocations: 0 / 0.9832 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.564e-06/0.222, allocations: 0 / 0.9832 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.222, allocations: 0 / 0.9832 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.222, allocations: 0 / 0.9832 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.409e-05/0.2221, allocations: 77.02 kB / 0.9833 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.455e-05/0.2222, allocations: 85.09 kB / 0.9834 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.383e-05/0.2222, allocations: 0 / 0.9834 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.833e-05/0.2222, allocations: 0 / 0.9834 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.555e-05/0.2223, allocations: 432 / 0.9834 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.791e-06/0.2223, allocations: 4 kB / 0.9834 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.547e-05/0.2223, allocations: 79.28 kB / 0.9835 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.71e-07/0.2223, allocations: 0 / 0.9835 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002972/0.2226, allocations: 36.03 kB / 0.9835 GB, free: 22.68 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.0002909/0.2229, allocations: 131.2 kB / 0.9836 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001051/0.2231, allocations: 12 kB / 0.9836 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.2231, allocations: 0 / 0.9836 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.452e-05/0.2231, allocations: 15.94 kB / 0.9836 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002532/0.2234, allocations: 3.984 kB / 0.9836 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002794/0.2237, allocations: 122.5 kB / 0.9838 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001283/0.2238, allocations: 0.677 MB / 0.9844 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.662e-05/0.2239, allocations: 4 kB / 0.9844 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.904e-05/0.2239, allocations: 11.38 kB / 0.9844 GB, free: 21.65 MB / 0.6198 GB Notification: Performance of SimCode: time 8.61e-07/0.2239, allocations: 4 kB / 0.9844 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of Templates: time 0.00381/0.2277, allocations: 0.8775 MB / 0.9853 GB, free: 20.78 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)