Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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_maint.7.0.x_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_maint.7.0.x_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.00105/0.00105, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001176/0.001176, allocations: 191.9 kB / 16.13 MB, free: 6.652 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.383/1.383, allocations: 205.1 MB / 222 MB, free: 4.754 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.44/1.44, allocations: 251.7 MB / 0.5088 GB, free: 3.281 MB / 414.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: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 60.48 kB / 0.6216 GB, free: 1.918 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4684/0.4697, allocations: 104.7 MB / 0.7238 GB, free: 13.13 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.002366/0.4721, allocations: 1.353 MB / 0.7251 GB, free: 11.77 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00109/0.4732, allocations: 0.7577 MB / 0.7259 GB, free: 11 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.356e-05/0.4733, allocations: 0 / 0.7259 GB, free: 11 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.804e-05/0.4733, allocations: 3.984 kB / 0.7259 GB, free: 10.99 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.237e-05/0.4733, allocations: 7.922 kB / 0.7259 GB, free: 10.98 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002525/0.4736, allocations: 83.94 kB / 0.726 GB, free: 10.9 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 3.976e-05/0.4736, allocations: 11.94 kB / 0.726 GB, free: 10.89 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.77e-05/0.4737, allocations: 7.984 kB / 0.726 GB, free: 10.88 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 1.896e-05/0.4737, allocations: 7.984 kB / 0.726 GB, free: 10.88 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 3.82e-05/0.4738, allocations: 4 kB / 0.726 GB, free: 10.87 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.172e-05/0.4738, allocations: 0 / 0.726 GB, free: 10.87 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000295/0.4741, allocations: 156.9 kB / 0.7262 GB, free: 10.72 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 9.017e-06/0.4741, allocations: 0 / 0.7262 GB, free: 10.72 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.333e-05/0.4741, allocations: 7.984 kB / 0.7262 GB, free: 10.71 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001792/0.4743, allocations: 110.2 kB / 0.7263 GB, free: 10.61 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.4743, allocations: 4 kB / 0.7263 GB, free: 10.6 MB / 0.545 GB Notification: Performance of FrontEnd: time 8.72e-07/0.4743, allocations: 0 / 0.7263 GB, free: 10.6 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.847e-06/0.4743, allocations: 0 / 0.7263 GB, free: 10.6 MB / 0.545 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.0003298/0.4747, allocations: 339.5 kB / 0.7266 GB, free: 10.22 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.492e-05/0.4747, allocations: 8.031 kB / 0.7266 GB, free: 10.21 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.815e-05/0.4747, allocations: 4.875 kB / 0.7266 GB, free: 10.21 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001182/0.4749, allocations: 164.4 kB / 0.7268 GB, free: 10.01 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.983e-06/0.4749, allocations: 384 / 0.7268 GB, free: 10.01 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.258e-06/0.4749, allocations: 384 / 0.7268 GB, free: 10.01 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.338e-05/0.475, allocations: 49.98 kB / 0.7268 GB, free: 9.957 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-06/0.475, allocations: 0 / 0.7268 GB, free: 9.957 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.026e-05/0.475, allocations: 4 kB / 0.7268 GB, free: 9.953 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.475, allocations: 4 kB / 0.7268 GB, free: 9.949 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.134e-05/0.4751, allocations: 11.92 kB / 0.7268 GB, free: 9.938 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001616/0.4752, allocations: 153.7 kB / 0.727 GB, free: 9.738 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 9.398e-05/0.4753, allocations: 34.61 kB / 0.727 GB, free: 9.695 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.611e-05/0.4754, allocations: 12.92 kB / 0.727 GB, free: 9.68 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001688/0.4771, allocations: 0.6533 MB / 0.7277 GB, free: 8.953 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.742e-05/0.4771, allocations: 42.48 kB / 0.7277 GB, free: 8.902 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 2.155e-06/0.4771, allocations: 0 / 0.7277 GB, free: 8.902 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0001414/0.4773, allocations: 61.47 kB / 0.7278 GB, free: 8.836 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.863e-05/0.4773, allocations: 51.41 kB / 0.7278 GB, free: 8.773 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.434e-05/0.4774, allocations: 89.86 kB / 0.7279 GB, free: 8.676 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.187e-05/0.4774, allocations: 33.7 kB / 0.7279 GB, free: 8.637 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 2.324e-05/0.4774, allocations: 80.14 kB / 0.728 GB, free: 8.555 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.188e-05/0.4774, allocations: 8.031 kB / 0.728 GB, free: 8.547 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.909e-05/0.4775, allocations: 17.72 kB / 0.728 GB, free: 8.523 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 8.978e-05/0.4776, allocations: 314.8 kB / 0.7283 GB, free: 8.207 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.42e-05/0.4776, allocations: 4 kB / 0.7283 GB, free: 8.203 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.093e-05/0.4776, allocations: 4 kB / 0.7283 GB, free: 8.199 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.025e-05/0.4776, allocations: 12.86 kB / 0.7283 GB, free: 8.184 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.4776, allocations: 0 / 0.7283 GB, free: 8.184 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.284e-05/0.4777, allocations: 49.62 kB / 0.7284 GB, free: 8.129 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.4777, allocations: 11.94 kB / 0.7284 GB, free: 8.117 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.4778, allocations: 4 kB / 0.7284 GB, free: 8.113 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.167e-06/0.4778, allocations: 0 / 0.7284 GB, free: 8.113 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.067e-05/0.4778, allocations: 7.984 kB / 0.7284 GB, free: 8.105 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.4778, allocations: 0 / 0.7284 GB, free: 8.105 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.348e-05/0.4778, allocations: 0 / 0.7284 GB, free: 8.105 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.143e-06/0.4779, allocations: 4 kB / 0.7284 GB, free: 8.102 MB / 0.545 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.238e-05/0.4779, allocations: 109.8 kB / 0.7285 GB, free: 7.984 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.321e-05/0.4779, allocations: 3.938 kB / 0.7285 GB, free: 7.98 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001101/0.4781, allocations: 61.06 kB / 0.7286 GB, free: 7.91 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.4781, allocations: 4.375 kB / 0.7286 GB, free: 7.906 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.4781, allocations: 0 / 0.7286 GB, free: 7.906 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.4781, allocations: 0 / 0.7286 GB, free: 7.906 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.722e-05/0.4782, allocations: 157.6 kB / 0.7287 GB, free: 7.703 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.4782, allocations: 3.984 kB / 0.7287 GB, free: 7.699 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.294e-05/0.4782, allocations: 4 kB / 0.7287 GB, free: 7.695 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.4782, allocations: 3.938 kB / 0.7288 GB, free: 7.691 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.055e-06/0.4782, allocations: 3.984 kB / 0.7288 GB, free: 7.688 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.4783, allocations: 0 / 0.7288 GB, free: 7.688 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.4783, allocations: 8 kB / 0.7288 GB, free: 7.68 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.908e-05/0.4783, allocations: 65.12 kB / 0.7288 GB, free: 7.598 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.448e-05/0.4784, allocations: 81.05 kB / 0.7289 GB, free: 7.5 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.288e-05/0.4784, allocations: 0 / 0.7289 GB, free: 7.5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.437e-05/0.4784, allocations: 15.88 kB / 0.7289 GB, free: 7.484 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.468e-05/0.4784, allocations: 4 kB / 0.7289 GB, free: 7.48 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.835e-06/0.4784, allocations: 0 / 0.7289 GB, free: 7.48 MB / 0.545 GB Notification: Performance of sorting global known variables: time 2.927e-05/0.4785, allocations: 79.28 kB / 0.729 GB, free: 7.402 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4785, allocations: 0 / 0.729 GB, free: 7.402 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00022/0.4787, allocations: 35.92 kB / 0.729 GB, free: 7.367 MB / 0.545 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 (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.0002348/0.479, allocations: 123.2 kB / 0.7291 GB, free: 7.234 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 7.843e-05/0.479, allocations: 20.08 kB / 0.7292 GB, free: 7.215 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.479, allocations: 4 kB / 0.7292 GB, free: 7.211 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.501e-05/0.4791, allocations: 4 kB / 0.7292 GB, free: 7.207 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001889/0.4793, allocations: 17.94 kB / 0.7292 GB, free: 7.195 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002264/0.4795, allocations: 112 kB / 0.7293 GB, free: 7.062 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002016/0.4797, allocations: 0.677 MB / 0.73 GB, free: 6.359 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.969e-05/0.4797, allocations: 11.94 kB / 0.73 GB, free: 6.348 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.461e-05/0.4798, allocations: 7.438 kB / 0.73 GB, free: 6.34 MB / 0.545 GB Notification: Performance of SimCode: time 2.41e-07/0.4798, allocations: 3.938 kB / 0.73 GB, free: 6.336 MB / 0.545 GB Notification: Performance of Templates: time 0.002702/0.4825, allocations: 0.8767 MB / 0.7308 GB, free: 5.492 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe 2>&1)