Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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_1.6_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5643/0.5643, allocations: 95.62 MB / 110.6 MB, free: 9.367 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001057/0.001057, allocations: 160.2 kB / 134.2 MB, free: 2.266 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.422/1.422, allocations: 170.7 MB / 328.4 MB, free: 12.25 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001895/0.001895, allocations: 107.4 kB / 390.7 MB, free: 13.93 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003977/0.0003979, allocations: 12 kB / 462.7 MB, free: 35.66 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1441/0.1445, allocations: 61.54 MB / 0.512 GB, free: 6.059 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4324/0.577, allocations: 95.49 MB / 0.6052 GB, free: 11.85 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002955/0.5774, allocations: 85.25 kB / 0.6053 GB, free: 11.8 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009425/0.5868, allocations: 2.942 MB / 0.6082 GB, free: 9.098 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.425e-06/0.5869, allocations: 0 / 0.6082 GB, free: 9.098 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.283e-06/0.5869, allocations: 0 / 0.6082 GB, free: 9.098 MB / 410.7 MB 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.0003445/0.5872, allocations: 355 kB / 0.6085 GB, free: 8.707 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.969e-05/0.5873, allocations: 19.98 kB / 0.6086 GB, free: 8.688 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.291e-05/0.5873, allocations: 2.844 kB / 0.6086 GB, free: 8.688 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001284/0.5875, allocations: 163.7 kB / 0.6087 GB, free: 8.488 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.314e-05/0.5875, allocations: 0 / 0.6087 GB, free: 8.488 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.468e-05/0.5875, allocations: 4 kB / 0.6087 GB, free: 8.484 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001023/0.5876, allocations: 37.47 kB / 0.6088 GB, free: 8.445 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.347e-06/0.5876, allocations: 3.938 kB / 0.6088 GB, free: 8.441 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.5876, allocations: 0 / 0.6088 GB, free: 8.441 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.5877, allocations: 0 / 0.6088 GB, free: 8.441 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.08e-05/0.5877, allocations: 11.98 kB / 0.6088 GB, free: 8.43 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001839/0.5879, allocations: 164 kB / 0.6089 GB, free: 8.227 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.84e-05/0.588, allocations: 25.77 kB / 0.609 GB, free: 8.195 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001137/0.5891, allocations: 0.5511 MB / 0.6095 GB, free: 7.57 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.68e-05/0.5892, allocations: 41.5 kB / 0.6095 GB, free: 7.523 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 2.464e-06/0.5892, allocations: 0 / 0.6095 GB, free: 7.523 MB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001614/0.5893, allocations: 56.42 kB / 0.6096 GB, free: 7.465 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.472e-05/0.5894, allocations: 51.41 kB / 0.6096 GB, free: 7.402 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.286e-05/0.5895, allocations: 95.81 kB / 0.6097 GB, free: 7.305 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.617e-05/0.5895, allocations: 25.7 kB / 0.6098 GB, free: 7.273 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.201e-05/0.5895, allocations: 80.14 kB / 0.6098 GB, free: 7.191 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.818e-05/0.5896, allocations: 7.891 kB / 0.6098 GB, free: 7.184 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.715e-06/0.5896, allocations: 0 / 0.6098 GB, free: 7.184 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001338/0.5897, allocations: 320.4 kB / 0.6101 GB, free: 6.867 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.265e-05/0.5897, allocations: 0 / 0.6101 GB, free: 6.867 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.008e-05/0.5897, allocations: 4 kB / 0.6101 GB, free: 6.863 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.009e-05/0.5898, allocations: 7.781 kB / 0.6102 GB, free: 6.859 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.5898, allocations: 4 kB / 0.6102 GB, free: 6.855 MB / 410.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.35e-05/0.5899, allocations: 57.36 kB / 0.6102 GB, free: 6.797 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.5899, allocations: 4 kB / 0.6102 GB, free: 6.793 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.5899, allocations: 3.438 kB / 0.6102 GB, free: 6.793 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.5899, allocations: 0 / 0.6102 GB, free: 6.793 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.07e-05/0.59, allocations: 7.984 kB / 0.6102 GB, free: 6.785 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.253e-06/0.59, allocations: 7.953 kB / 0.6102 GB, free: 6.777 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.351e-05/0.59, allocations: 0 / 0.6102 GB, free: 6.777 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.039e-06/0.59, allocations: 0 / 0.6102 GB, free: 6.777 MB / 410.7 MB 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.861e-05/0.5901, allocations: 109.8 kB / 0.6103 GB, free: 6.66 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.168e-05/0.5901, allocations: 11.28 kB / 0.6103 GB, free: 6.652 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001222/0.5902, allocations: 53.06 kB / 0.6104 GB, free: 6.598 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.5902, allocations: 0 / 0.6104 GB, free: 6.598 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.5902, allocations: 0 / 0.6104 GB, free: 6.598 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.5903, allocations: 3.953 kB / 0.6104 GB, free: 6.594 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001076/0.5904, allocations: 153.5 kB / 0.6106 GB, free: 6.398 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.5904, allocations: 0 / 0.6106 GB, free: 6.398 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.238e-05/0.5904, allocations: 4 kB / 0.6106 GB, free: 6.395 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.5904, allocations: 11.98 kB / 0.6106 GB, free: 6.383 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.054e-06/0.5904, allocations: 3.938 kB / 0.6106 GB, free: 6.379 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.5904, allocations: 0 / 0.6106 GB, free: 6.379 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.5904, allocations: 0 / 0.6106 GB, free: 6.379 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.031e-05/0.5905, allocations: 75.89 kB / 0.6106 GB, free: 6.293 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.784e-05/0.5906, allocations: 81.05 kB / 0.6107 GB, free: 6.195 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.194e-05/0.5906, allocations: 0 / 0.6107 GB, free: 6.195 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.187e-05/0.5906, allocations: 4 kB / 0.6107 GB, free: 6.191 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.586e-05/0.5906, allocations: 4 kB / 0.6107 GB, free: 6.188 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.575e-06/0.5906, allocations: 0 / 0.6107 GB, free: 6.188 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.568e-05/0.5907, allocations: 79.28 kB / 0.6108 GB, free: 6.109 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.5907, allocations: 0 / 0.6108 GB, free: 6.109 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002176/0.5909, allocations: 30.8 kB / 0.6108 GB, free: 6.082 MB / 410.7 MB 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.0002412/0.5912, allocations: 139.2 kB / 0.611 GB, free: 5.938 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 7.863e-05/0.5912, allocations: 15.48 kB / 0.611 GB, free: 5.926 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.5913, allocations: 3.938 kB / 0.611 GB, free: 5.922 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.585e-05/0.5913, allocations: 11.94 kB / 0.611 GB, free: 5.91 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001579/0.5914, allocations: 0 / 0.611 GB, free: 5.91 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000264/0.5917, allocations: 114.5 kB / 0.6111 GB, free: 5.773 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002411/0.592, allocations: 0.6886 MB / 0.6118 GB, free: 5.062 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 2.935e-05/0.592, allocations: 4 kB / 0.6118 GB, free: 5.059 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.474e-05/0.592, allocations: 7.438 kB / 0.6118 GB, free: 5.051 MB / 410.7 MB Notification: Performance of SimCode: time 2.21e-07/0.592, allocations: 0 / 0.6118 GB, free: 5.051 MB / 410.7 MB Notification: Performance of Templates: time 0.002971/0.595, allocations: 0.7854 MB / 0.6126 GB, free: 4.281 MB / 410.7 MB make -j1 -f Buildings_1.6_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.makefile (rm -f Buildings_1.6_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe >> ../files/Buildings_1.6_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.sim & ./Buildings_1.6_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe 2>&1)