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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009564/0.0009563, allocations: 91.84 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001143/0.001143, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.785/1.785, allocations: 205.4 MB / 222.1 MB, free: 5.492 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.6753/0.6753, allocations: 95.62 MB / 366 MB, free: 10.34 MB / 302.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005758/0.000576, allocations: 12 kB / 446.9 MB, free: 9.316 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4361/0.4367, allocations: 70.34 MB / 0.5051 GB, free: 16.47 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.001155/0.4379, allocations: 0.983 MB / 0.506 GB, free: 15.48 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001043/0.439, allocations: 0.8166 MB / 0.5068 GB, free: 14.66 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.146e-05/0.439, allocations: 0 / 0.5068 GB, free: 14.66 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.932e-05/0.439, allocations: 0 / 0.5068 GB, free: 14.66 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.78e-05/0.4391, allocations: 3.938 kB / 0.5068 GB, free: 14.65 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003208/0.4394, allocations: 103.7 kB / 0.5069 GB, free: 14.55 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.905e-05/0.4395, allocations: 19.88 kB / 0.507 GB, free: 14.53 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.627e-05/0.4395, allocations: 4 kB / 0.507 GB, free: 14.53 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.378e-05/0.4396, allocations: 11.97 kB / 0.507 GB, free: 14.52 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.075e-05/0.4397, allocations: 4 kB / 0.507 GB, free: 14.51 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.055e-05/0.4397, allocations: 0 / 0.507 GB, free: 14.51 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003425/0.44, allocations: 223.7 kB / 0.5072 GB, free: 14.29 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.334e-06/0.4401, allocations: 0 / 0.5072 GB, free: 14.29 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.231e-05/0.4401, allocations: 29.7 kB / 0.5072 GB, free: 14.26 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001433/0.4402, allocations: 89.83 kB / 0.5073 GB, free: 14.17 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.4402, allocations: 4 kB / 0.5073 GB, free: 14.17 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.4403, allocations: 0 / 0.5073 GB, free: 14.17 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.482e-06/0.4403, allocations: 0 / 0.5073 GB, free: 14.17 MB / 382.1 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.0002817/0.4406, allocations: 351.2 kB / 0.5077 GB, free: 13.78 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.4406, allocations: 11.98 kB / 0.5077 GB, free: 13.77 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.834e-05/0.4406, allocations: 0 / 0.5077 GB, free: 13.77 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.348e-05/0.4407, allocations: 171 kB / 0.5078 GB, free: 13.56 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.283e-05/0.4407, allocations: 0 / 0.5078 GB, free: 13.56 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.142e-05/0.4408, allocations: 0 / 0.5078 GB, free: 13.56 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001021/0.4409, allocations: 41.69 kB / 0.5079 GB, free: 13.51 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.4409, allocations: 0 / 0.5079 GB, free: 13.51 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-06/0.4409, allocations: 0 / 0.5079 GB, free: 13.51 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.4409, allocations: 4 kB / 0.5079 GB, free: 13.51 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.222e-05/0.441, allocations: 4 kB / 0.5079 GB, free: 13.5 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001293/0.4411, allocations: 161.6 kB / 0.508 GB, free: 13.3 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.892e-05/0.4412, allocations: 38.55 kB / 0.5081 GB, free: 13.25 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.366e-05/0.4412, allocations: 16.92 kB / 0.5081 GB, free: 13.23 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001899/0.4431, allocations: 1.035 MB / 0.5091 GB, free: 12.12 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.475e-05/0.4431, allocations: 30.56 kB / 0.5091 GB, free: 12.08 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.4431, allocations: 0 / 0.5091 GB, free: 12.08 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.000142/0.4433, allocations: 45.69 kB / 0.5092 GB, free: 12.03 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.37e-05/0.4433, allocations: 55.34 kB / 0.5092 GB, free: 11.96 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.893e-05/0.4434, allocations: 105.8 kB / 0.5093 GB, free: 11.85 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.062e-06/0.4434, allocations: 25.7 kB / 0.5093 GB, free: 11.82 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.372e-05/0.4434, allocations: 80.14 kB / 0.5094 GB, free: 11.74 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.547e-05/0.4434, allocations: 11.81 kB / 0.5094 GB, free: 11.73 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.258e-06/0.4434, allocations: 4 kB / 0.5094 GB, free: 11.72 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.877e-05/0.4435, allocations: 310.8 kB / 0.5097 GB, free: 11.41 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.293e-05/0.4435, allocations: 4 kB / 0.5097 GB, free: 11.41 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.548e-06/0.4435, allocations: 4.172 kB / 0.5097 GB, free: 11.4 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.908e-05/0.4436, allocations: 16.2 kB / 0.5098 GB, free: 11.39 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.4436, allocations: 0 / 0.5098 GB, free: 11.39 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.367e-05/0.4436, allocations: 45.64 kB / 0.5098 GB, free: 11.34 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.4437, allocations: 4 kB / 0.5098 GB, free: 11.33 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.4437, allocations: 0 / 0.5098 GB, free: 11.33 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.4437, allocations: 4 kB / 0.5098 GB, free: 11.33 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.323e-05/0.4437, allocations: 11.94 kB / 0.5098 GB, free: 11.32 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.4438, allocations: 3.938 kB / 0.5098 GB, free: 11.31 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.303e-05/0.4438, allocations: 3.938 kB / 0.5098 GB, free: 11.31 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.379e-06/0.4438, allocations: 0 / 0.5098 GB, free: 11.31 MB / 382.1 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 4.963e-05/0.4438, allocations: 113.8 kB / 0.5099 GB, free: 11.19 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.073e-06/0.4438, allocations: 3.953 kB / 0.5099 GB, free: 11.18 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001033/0.444, allocations: 57.17 kB / 0.51 GB, free: 11.12 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.444, allocations: 0 / 0.51 GB, free: 11.12 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.444, allocations: 0 / 0.51 GB, free: 11.12 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.444, allocations: 0 / 0.51 GB, free: 11.12 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.153e-05/0.4441, allocations: 153.6 kB / 0.5101 GB, free: 10.92 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.4441, allocations: 4 kB / 0.5101 GB, free: 10.91 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.098e-05/0.4441, allocations: 8 kB / 0.5101 GB, free: 10.91 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.4441, allocations: 7.891 kB / 0.5102 GB, free: 10.9 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.502e-06/0.4441, allocations: 0 / 0.5102 GB, free: 10.9 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.4441, allocations: 0 / 0.5102 GB, free: 10.9 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.4441, allocations: 7.984 kB / 0.5102 GB, free: 10.89 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.352e-05/0.4442, allocations: 73.03 kB / 0.5102 GB, free: 10.8 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.749e-05/0.4442, allocations: 81.11 kB / 0.5103 GB, free: 10.7 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.097e-05/0.4442, allocations: 3.953 kB / 0.5103 GB, free: 10.7 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.068e-05/0.4442, allocations: 4 kB / 0.5103 GB, free: 10.7 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.622e-05/0.4443, allocations: 3.984 kB / 0.5103 GB, free: 10.69 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.275e-06/0.4443, allocations: 0 / 0.5103 GB, free: 10.69 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.045e-05/0.4443, allocations: 79.28 kB / 0.5104 GB, free: 10.61 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4443, allocations: 0 / 0.5104 GB, free: 10.61 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002154/0.4445, allocations: 32 kB / 0.5104 GB, free: 10.58 MB / 382.1 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.0002007/0.4447, allocations: 131.3 kB / 0.5106 GB, free: 10.45 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 9.237e-05/0.4448, allocations: 19.92 kB / 0.5106 GB, free: 10.43 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.532e-06/0.4448, allocations: 0 / 0.5106 GB, free: 10.43 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.169e-05/0.4449, allocations: 8 kB / 0.5106 GB, free: 10.42 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001787/0.445, allocations: 3.984 kB / 0.5106 GB, free: 10.41 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002203/0.4453, allocations: 115.2 kB / 0.5107 GB, free: 10.28 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001337/0.4454, allocations: 0.677 MB / 0.5114 GB, free: 9.574 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.799e-05/0.4454, allocations: 4 kB / 0.5114 GB, free: 9.57 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.413e-05/0.4455, allocations: 7.438 kB / 0.5114 GB, free: 9.562 MB / 382.1 MB Notification: Performance of SimCode: time 1.012e-06/0.4455, allocations: 3.938 kB / 0.5114 GB, free: 9.559 MB / 382.1 MB Notification: Performance of Templates: time 0.00277/0.4482, allocations: 0.8555 MB / 0.5122 GB, free: 8.711 MB / 382.1 MB make -j1 -f Buildings_1.6_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: