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.0008907/0.0008903, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.005664/0.005665, allocations: 168.9 kB / 16.26 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.662/1.662, allocations: 205.4 MB / 222.5 MB, free: 5.566 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.5914/0.5914, allocations: 95.63 MB / 366.4 MB, free: 10.23 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.0006588/0.0006585, allocations: 16 kB / 447.5 MB, free: 8.945 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3759/0.3766, allocations: 70.33 MB / 0.5057 GB, free: 16.33 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.00137/0.378, allocations: 0.9868 MB / 0.5066 GB, free: 15.34 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001539/0.3796, allocations: 0.8982 MB / 0.5075 GB, free: 14.43 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.097e-05/0.3796, allocations: 0 / 0.5075 GB, free: 14.43 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.912e-05/0.3796, allocations: 0 / 0.5075 GB, free: 14.43 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 7.051e-05/0.3797, allocations: 7.922 kB / 0.5075 GB, free: 14.42 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003525/0.3801, allocations: 104 kB / 0.5076 GB, free: 14.32 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.005e-05/0.3802, allocations: 15.88 kB / 0.5076 GB, free: 14.3 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.846e-05/0.3802, allocations: 7.984 kB / 0.5076 GB, free: 14.3 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.93e-05/0.3803, allocations: 8 kB / 0.5077 GB, free: 14.29 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.481e-05/0.3803, allocations: 7.938 kB / 0.5077 GB, free: 14.28 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.219e-05/0.3804, allocations: 0 / 0.5077 GB, free: 14.28 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003491/0.3807, allocations: 216.9 kB / 0.5079 GB, free: 14.07 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.243e-05/0.3807, allocations: 7.984 kB / 0.5079 GB, free: 14.06 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.776e-05/0.3808, allocations: 33.69 kB / 0.5079 GB, free: 14.02 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002031/0.381, allocations: 134.2 kB / 0.508 GB, free: 13.89 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.381, allocations: 0 / 0.508 GB, free: 13.89 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.226e-06/0.381, allocations: 3.984 kB / 0.508 GB, free: 13.89 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.09e-06/0.381, allocations: 0 / 0.508 GB, free: 13.89 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.0003286/0.3813, allocations: 351.4 kB / 0.5084 GB, free: 13.5 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/0.3814, allocations: 11.98 kB / 0.5084 GB, free: 13.49 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.072e-05/0.3814, allocations: 0.9375 kB / 0.5084 GB, free: 13.49 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.025e-05/0.3815, allocations: 164.4 kB / 0.5085 GB, free: 13.29 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.601e-05/0.3816, allocations: 7.938 kB / 0.5086 GB, free: 13.28 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.22e-05/0.3816, allocations: 0 / 0.5086 GB, free: 13.28 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001039/0.3817, allocations: 33.69 kB / 0.5086 GB, free: 13.24 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.3817, allocations: 0 / 0.5086 GB, free: 13.24 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.728e-06/0.3817, allocations: 0 / 0.5086 GB, free: 13.24 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.3817, allocations: 11.88 kB / 0.5086 GB, free: 13.23 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.988e-05/0.3818, allocations: 8 kB / 0.5086 GB, free: 13.22 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001437/0.3819, allocations: 157.6 kB / 0.5088 GB, free: 13.02 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.725e-05/0.382, allocations: 42.55 kB / 0.5088 GB, free: 12.97 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.594e-05/0.382, allocations: 8.922 kB / 0.5088 GB, free: 12.96 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002173/0.3842, allocations: 1.035 MB / 0.5098 GB, free: 11.85 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.134e-05/0.3843, allocations: 30.56 kB / 0.5098 GB, free: 11.81 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.3843, allocations: 4 kB / 0.5098 GB, free: 11.8 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001644/0.3845, allocations: 53.61 kB / 0.5099 GB, free: 11.75 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.164e-05/0.3845, allocations: 55.41 kB / 0.51 GB, free: 11.68 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.138e-05/0.3846, allocations: 93.84 kB / 0.51 GB, free: 11.58 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.048e-05/0.3846, allocations: 25.7 kB / 0.5101 GB, free: 11.55 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.466e-05/0.3846, allocations: 84.14 kB / 0.5101 GB, free: 11.46 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.828e-05/0.3847, allocations: 15.8 kB / 0.5102 GB, free: 11.45 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.998e-05/0.3847, allocations: 9.719 kB / 0.5102 GB, free: 11.43 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.502e-05/0.3847, allocations: 315 kB / 0.5105 GB, free: 11.11 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.338e-05/0.3848, allocations: 8 kB / 0.5105 GB, free: 11.11 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.137e-05/0.3848, allocations: 7.984 kB / 0.5105 GB, free: 11.1 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.283e-05/0.3848, allocations: 20.8 kB / 0.5105 GB, free: 11.07 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.3848, allocations: 0 / 0.5105 GB, free: 11.07 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.558e-05/0.3849, allocations: 49.62 kB / 0.5106 GB, free: 11.02 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.3849, allocations: 6.188 kB / 0.5106 GB, free: 11.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.3849, allocations: 0 / 0.5106 GB, free: 11.02 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.3849, allocations: 0 / 0.5106 GB, free: 11.02 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.878e-05/0.385, allocations: 4 kB / 0.5106 GB, free: 11.01 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.385, allocations: 4 kB / 0.5106 GB, free: 11.01 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.364e-05/0.385, allocations: 3.938 kB / 0.5106 GB, free: 11 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.579e-06/0.385, allocations: 4 kB / 0.5106 GB, free: 11 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.724e-05/0.3851, allocations: 109.8 kB / 0.5107 GB, free: 10.88 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.444e-06/0.3851, allocations: 3.984 kB / 0.5107 GB, free: 10.88 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001075/0.3852, allocations: 61.12 kB / 0.5107 GB, free: 10.81 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.3852, allocations: 0 / 0.5107 GB, free: 10.81 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.3852, allocations: 7.938 kB / 0.5107 GB, free: 10.8 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.055e-06/0.3853, allocations: 0 / 0.5107 GB, free: 10.8 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.165e-05/0.3853, allocations: 153.6 kB / 0.5109 GB, free: 10.6 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.3853, allocations: 0 / 0.5109 GB, free: 10.6 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.077e-05/0.3854, allocations: 7.938 kB / 0.5109 GB, free: 10.59 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.392e-06/0.3854, allocations: 0 / 0.5109 GB, free: 10.59 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.095e-06/0.3854, allocations: 8 kB / 0.5109 GB, free: 10.59 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.093e-06/0.3854, allocations: 0 / 0.5109 GB, free: 10.59 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/0.3854, allocations: 7.984 kB / 0.5109 GB, free: 10.58 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.905e-05/0.3855, allocations: 76.97 kB / 0.511 GB, free: 10.48 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.815e-05/0.3855, allocations: 77.11 kB / 0.5111 GB, free: 10.39 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.074e-05/0.3855, allocations: 3.984 kB / 0.5111 GB, free: 10.39 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.065e-05/0.3855, allocations: 0 / 0.5111 GB, free: 10.39 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.281e-05/0.3856, allocations: 4 kB / 0.5111 GB, free: 10.38 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.815e-06/0.3856, allocations: 0 / 0.5111 GB, free: 10.38 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.074e-05/0.3856, allocations: 87.22 kB / 0.5112 GB, free: 10.3 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3856, allocations: 0 / 0.5112 GB, free: 10.3 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002071/0.3858, allocations: 28 kB / 0.5112 GB, free: 10.27 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000215/0.386, allocations: 135.7 kB / 0.5113 GB, free: 10.13 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 9.879e-05/0.3861, allocations: 16 kB / 0.5113 GB, free: 10.11 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.3861, allocations: 0 / 0.5113 GB, free: 10.11 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.193e-05/0.3862, allocations: 7.984 kB / 0.5113 GB, free: 10.11 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000184/0.3863, allocations: 11.94 kB / 0.5113 GB, free: 10.09 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002147/0.3866, allocations: 114.6 kB / 0.5115 GB, free: 9.957 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001148/0.3867, allocations: 0.677 MB / 0.5121 GB, free: 9.254 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.687e-05/0.3867, allocations: 7.875 kB / 0.5121 GB, free: 9.246 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.289e-05/0.3867, allocations: 11.44 kB / 0.5121 GB, free: 9.234 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3868, allocations: 0 / 0.5121 GB, free: 9.234 MB / 382.1 MB Notification: Performance of Templates: time 0.002941/0.3897, allocations: 0.8532 MB / 0.513 GB, free: 8.391 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: