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.6044/0.6044, allocations: 94.77 MB / 102.2 MB, free: 14.08 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.001403/0.001403, allocations: 171.5 kB / 125.6 MB, free: 7.934 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.773/1.773, allocations: 170.6 MB / 319.4 MB, free: 1.156 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001742/0.001742, allocations: 110.5 kB / 381.4 MB, free: 3.152 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.937e-05/1.936e-05, allocations: 4 kB / 449.1 MB, free: 44.83 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1875/0.1875, allocations: 61.52 MB / 0.4987 GB, free: 15.26 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6477/0.8353, allocations: 95.12 MB / 0.5916 GB, free: 1.414 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004074/0.8359, allocations: 84.5 kB / 0.5916 GB, free: 1.363 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01031/0.8462, allocations: 2.922 MB / 0.5945 GB, free: 14.7 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.596e-06/0.8463, allocations: 0 / 0.5945 GB, free: 14.7 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.241e-05/0.8463, allocations: 0 / 0.5945 GB, free: 14.7 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.0005245/0.8468, allocations: 345.7 kB / 0.5948 GB, free: 14.32 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.457e-05/0.8469, allocations: 12.03 kB / 0.5948 GB, free: 14.3 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.741e-05/0.847, allocations: 0 / 0.5948 GB, free: 14.3 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002266/0.8472, allocations: 166.9 kB / 0.595 GB, free: 14.11 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.09e-05/0.8473, allocations: 0 / 0.595 GB, free: 14.11 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.683e-05/0.8473, allocations: 7.984 kB / 0.595 GB, free: 14.1 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001007/0.8474, allocations: 4 kB / 0.595 GB, free: 14.09 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001037/0.8475, allocations: 37.34 kB / 0.595 GB, free: 14.05 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.51e-05/0.8475, allocations: 0 / 0.595 GB, free: 14.05 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.965e-05/0.8475, allocations: 4.859 kB / 0.595 GB, free: 14.05 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.388e-06/0.8476, allocations: 4 kB / 0.595 GB, free: 14.05 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002301/0.8478, allocations: 126.2 kB / 0.5952 GB, free: 13.89 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001104/0.8479, allocations: 41.53 kB / 0.5952 GB, free: 13.84 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.026e-05/0.848, allocations: 12.48 kB / 0.5952 GB, free: 13.83 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001337/0.8493, allocations: 0.5472 MB / 0.5958 GB, free: 13.21 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.892e-05/0.8494, allocations: 31.69 kB / 0.5958 GB, free: 13.17 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.8494, allocations: 0 / 0.5958 GB, free: 13.17 MB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002624/0.8497, allocations: 57.55 kB / 0.5958 GB, free: 13.11 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.078e-05/0.8497, allocations: 51.41 kB / 0.5959 GB, free: 13.05 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.384e-05/0.8498, allocations: 89 kB / 0.596 GB, free: 12.96 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.982e-05/0.8498, allocations: 25.7 kB / 0.596 GB, free: 12.93 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.376e-05/0.8499, allocations: 87.44 kB / 0.5961 GB, free: 12.84 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.799e-05/0.85, allocations: 3.906 kB / 0.5961 GB, free: 12.84 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.268e-06/0.85, allocations: 0 / 0.5961 GB, free: 12.84 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001545/0.8501, allocations: 310.8 kB / 0.5964 GB, free: 12.52 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.936e-05/0.8502, allocations: 10.81 kB / 0.5964 GB, free: 12.52 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.215e-05/0.8502, allocations: 7.938 kB / 0.5964 GB, free: 12.51 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.551e-05/0.8502, allocations: 10.47 kB / 0.5964 GB, free: 12.5 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.8502, allocations: 0 / 0.5964 GB, free: 12.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 8.473e-05/0.8503, allocations: 41 kB / 0.5964 GB, free: 12.46 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.8504, allocations: 8 kB / 0.5965 GB, free: 12.45 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.8504, allocations: 0 / 0.5965 GB, free: 12.45 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.934e-05/0.8504, allocations: 0 / 0.5965 GB, free: 12.45 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.286e-05/0.8505, allocations: 11.11 kB / 0.5965 GB, free: 12.44 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.8505, allocations: 0 / 0.5965 GB, free: 12.44 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.787e-05/0.8505, allocations: 8.141 kB / 0.5965 GB, free: 12.43 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.397e-06/0.8505, allocations: 4 kB / 0.5965 GB, free: 12.43 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 () * 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 9.863e-05/0.8506, allocations: 101 kB / 0.5966 GB, free: 12.32 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.518e-06/0.8507, allocations: 3.984 kB / 0.5966 GB, free: 12.32 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001813/0.8508, allocations: 57.03 kB / 0.5966 GB, free: 12.26 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.8509, allocations: 0 / 0.5966 GB, free: 12.26 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/0.8509, allocations: 0 / 0.5966 GB, free: 12.26 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.496e-06/0.8509, allocations: 4 kB / 0.5966 GB, free: 12.25 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001331/0.851, allocations: 138.1 kB / 0.5968 GB, free: 12.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.851, allocations: 0 / 0.5968 GB, free: 12.09 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.336e-05/0.8511, allocations: 11.17 kB / 0.5968 GB, free: 12.08 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.8511, allocations: 0 / 0.5968 GB, free: 12.08 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.518e-06/0.8511, allocations: 0 / 0.5968 GB, free: 12.08 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.31e-07/0.8511, allocations: 0 / 0.5968 GB, free: 12.08 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.8511, allocations: 0 / 0.5968 GB, free: 12.08 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001273/0.8512, allocations: 72.95 kB / 0.5968 GB, free: 11.99 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.827e-05/0.8513, allocations: 81.09 kB / 0.5969 GB, free: 11.89 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.843e-05/0.8513, allocations: 8 kB / 0.5969 GB, free: 11.89 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.134e-05/0.8514, allocations: 0 / 0.5969 GB, free: 11.89 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.268e-05/0.8514, allocations: 0 / 0.5969 GB, free: 11.89 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.425e-06/0.8514, allocations: 0 / 0.5969 GB, free: 11.89 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.384e-05/0.8514, allocations: 79.28 kB / 0.597 GB, free: 11.81 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.8514, allocations: 0 / 0.597 GB, free: 11.81 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002468/0.8517, allocations: 39.55 kB / 0.597 GB, free: 11.77 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 () * 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.0003563/0.8521, allocations: 139.2 kB / 0.5972 GB, free: 11.63 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 9.261e-05/0.8522, allocations: 8 kB / 0.5972 GB, free: 11.62 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.8522, allocations: 0 / 0.5972 GB, free: 11.62 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.715e-05/0.8522, allocations: 11.5 kB / 0.5972 GB, free: 11.61 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002509/0.8525, allocations: 11.94 kB / 0.5972 GB, free: 11.6 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002811/0.8528, allocations: 48.08 kB / 0.5973 GB, free: 11.53 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005223/0.8533, allocations: 0.6845 MB / 0.5979 GB, free: 10.82 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.501e-05/0.8533, allocations: 0 / 0.5979 GB, free: 10.82 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.277e-05/0.8534, allocations: 14.75 kB / 0.5979 GB, free: 10.81 MB / 410.7 MB Notification: Performance of SimCode: time 2.91e-07/0.8534, allocations: 0 / 0.5979 GB, free: 10.81 MB / 410.7 MB Notification: Performance of Templates: time 0.003909/0.8573, allocations: 0.7809 MB / 0.5987 GB, free: 10.05 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)