Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/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.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.634/1.634, allocations: 293 MB / 309 MB, free: 4.812 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.00104/0.00104, allocations: 176.6 kB / 378.7 MB, free: 1.039 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.471/1.471, allocations: 205.4 MB / 0.6383 GB, free: 8.23 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000772/0.000772, allocations: 94.33 kB / 0.7527 GB, free: 63.01 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003854/0.0003857, allocations: 12 kB / 0.8768 GB, free: 10.44 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2925/0.2929, allocations: 116.4 MB / 0.9905 GB, free: 5.883 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5912/0.8842, allocations: 140.2 MB / 1.127 GB, free: 33.95 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00023/0.8845, allocations: 87 kB / 1.127 GB, free: 33.88 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.006453/0.8909, allocations: 2.36 MB / 1.13 GB, free: 32.11 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.763e-06/0.891, allocations: 8 kB / 1.13 GB, free: 32.1 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.891, allocations: 0 / 1.13 GB, free: 32.1 MB / 0.7292 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.000236/0.8912, allocations: 327.1 kB / 1.13 GB, free: 31.73 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.8913, allocations: 8.031 kB / 1.13 GB, free: 31.73 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.028e-05/0.8913, allocations: 1.719 kB / 1.13 GB, free: 31.73 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.534e-05/0.8914, allocations: 169.5 kB / 1.13 GB, free: 31.52 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.082e-05/0.8914, allocations: 4.312 kB / 1.13 GB, free: 31.52 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.896e-06/0.8914, allocations: 384 / 1.13 GB, free: 31.52 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.454e-05/0.8915, allocations: 42.84 kB / 1.13 GB, free: 31.48 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-06/0.8915, allocations: 4.188 kB / 1.13 GB, free: 31.48 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.898e-06/0.8916, allocations: 3.938 kB / 1.13 GB, free: 31.47 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.8916, allocations: 4 kB / 1.13 GB, free: 31.47 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.646e-05/0.8916, allocations: 7.562 kB / 1.13 GB, free: 31.46 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001267/0.8917, allocations: 158.5 kB / 1.13 GB, free: 31.27 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 6.537e-05/0.8918, allocations: 34.52 kB / 1.13 GB, free: 31.22 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.543e-05/0.8918, allocations: 17.33 kB / 1.13 GB, free: 31.21 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009528/0.8928, allocations: 0.5483 MB / 1.131 GB, free: 30.64 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.944e-05/0.8928, allocations: 34.56 kB / 1.131 GB, free: 30.59 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/0.8928, allocations: 0 / 1.131 GB, free: 30.59 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3): time 0.0001385/0.893, allocations: 53.2 kB / 1.131 GB, free: 30.54 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.978e-05/0.893, allocations: 55.41 kB / 1.131 GB, free: 30.47 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.575e-05/0.8931, allocations: 97.33 kB / 1.131 GB, free: 30.37 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 7.293e-06/0.8931, allocations: 25.7 kB / 1.131 GB, free: 30.34 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 1.485e-05/0.8931, allocations: 84.64 kB / 1.131 GB, free: 30.25 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.323e-05/0.8931, allocations: 7.906 kB / 1.131 GB, free: 30.25 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.054e-06/0.8931, allocations: 4.125 kB / 1.131 GB, free: 30.24 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 5.143e-05/0.8932, allocations: 314.8 kB / 1.132 GB, free: 29.93 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.347e-05/0.8932, allocations: 3.516 kB / 1.132 GB, free: 29.93 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.999e-06/0.8932, allocations: 4.938 kB / 1.132 GB, free: 29.92 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.954e-05/0.8933, allocations: 17.7 kB / 1.132 GB, free: 29.9 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.8933, allocations: 0 / 1.132 GB, free: 29.9 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.517e-05/0.8933, allocations: 45.08 kB / 1.132 GB, free: 29.86 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.8934, allocations: 4 kB / 1.132 GB, free: 29.85 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/0.8934, allocations: 4.453 kB / 1.132 GB, free: 29.85 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.8934, allocations: 4 kB / 1.132 GB, free: 29.84 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.072e-05/0.8934, allocations: 7.938 kB / 1.132 GB, free: 29.84 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.603e-06/0.8935, allocations: 3.562 kB / 1.132 GB, free: 29.84 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.712e-05/0.8935, allocations: 4.5 kB / 1.132 GB, free: 29.83 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.959e-06/0.8935, allocations: 0.5625 kB / 1.132 GB, free: 29.83 MB / 0.7292 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 5.483e-05/0.8935, allocations: 113.8 kB / 1.132 GB, free: 29.71 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.556e-06/0.8936, allocations: 7.906 kB / 1.132 GB, free: 29.7 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001226/0.8937, allocations: 58.62 kB / 1.132 GB, free: 29.64 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.8937, allocations: 0.6562 kB / 1.132 GB, free: 29.64 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.8937, allocations: 0.5 kB / 1.132 GB, free: 29.64 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.95e-06/0.8937, allocations: 3.516 kB / 1.132 GB, free: 29.64 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.438e-05/0.8938, allocations: 149.7 kB / 1.132 GB, free: 29.45 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.8938, allocations: 1.344 kB / 1.132 GB, free: 29.45 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.499e-05/0.8939, allocations: 11.45 kB / 1.132 GB, free: 29.44 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.8939, allocations: 5.016 kB / 1.132 GB, free: 29.44 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.878e-06/0.8939, allocations: 8.5 kB / 1.132 GB, free: 29.43 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.8939, allocations: 0.5469 kB / 1.132 GB, free: 29.43 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.8939, allocations: 0 / 1.132 GB, free: 29.43 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.979e-05/0.894, allocations: 68.66 kB / 1.132 GB, free: 29.35 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.365e-05/0.894, allocations: 81.05 kB / 1.132 GB, free: 29.25 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.458e-05/0.894, allocations: 8.438 kB / 1.132 GB, free: 29.24 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.135e-05/0.894, allocations: 0.6562 kB / 1.132 GB, free: 29.24 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.587e-05/0.8941, allocations: 7.609 kB / 1.132 GB, free: 29.24 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.025e-06/0.8941, allocations: 0.75 kB / 1.132 GB, free: 29.24 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.936e-05/0.8941, allocations: 75.28 kB / 1.132 GB, free: 29.16 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8941, allocations: 8.094 kB / 1.132 GB, free: 29.16 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002358/0.8943, allocations: 24 kB / 1.132 GB, free: 29.13 MB / 0.7292 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.0002245/0.8946, allocations: 139 kB / 1.133 GB, free: 28.99 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 6.72e-05/0.8947, allocations: 13.62 kB / 1.133 GB, free: 28.98 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.8947, allocations: 4 kB / 1.133 GB, free: 28.98 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.344e-05/0.8947, allocations: 11.38 kB / 1.133 GB, free: 28.97 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002111/0.8949, allocations: 6.25 kB / 1.133 GB, free: 28.96 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002168/0.8951, allocations: 118.5 kB / 1.133 GB, free: 28.84 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001089/0.8952, allocations: 0.6731 MB / 1.133 GB, free: 28.14 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.993e-05/0.8953, allocations: 9.094 kB / 1.133 GB, free: 28.14 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.399e-05/0.8953, allocations: 15.44 kB / 1.133 GB, free: 28.12 MB / 0.7292 GB Notification: Performance of SimCode: time 2.5e-07/0.8953, allocations: 3.938 kB / 1.133 GB, free: 28.12 MB / 0.7292 GB Notification: Performance of Templates: time 0.002472/0.8978, allocations: 0.7944 MB / 1.134 GB, free: 27.66 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.makefile (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe 2>&1)