Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.0105/0.0105, allocations: 220.4 kB / 15.17 MB, free: 6 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001089/0.001089, allocations: 180.9 kB / 16.06 MB, free: 5.871 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 3.334/3.334, allocations: 389.1 MB / 405.9 MB, free: 13.32 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.045/4.045, allocations: 472.3 MB / 0.9018 GB, free: 3.602 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004872/0.0004872, allocations: 19.98 kB / 1.008 GB, free: 10.31 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5553/0.5558, allocations: 98.71 MB / 1.104 GB, free: 212.7 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.001231/0.5571, allocations: 1.005 MB / 1.105 GB, free: 212.2 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001028/0.5581, allocations: 0.6765 MB / 1.106 GB, free: 211.8 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.79e-05/0.5581, allocations: 3.438 kB / 1.106 GB, free: 211.8 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 1.555e-05/0.5582, allocations: 2.734 kB / 1.106 GB, free: 211.8 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 4.301e-05/0.5582, allocations: 7.875 kB / 1.106 GB, free: 211.8 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002783/0.5585, allocations: 68.55 kB / 1.106 GB, free: 211.8 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 4.289e-05/0.5586, allocations: 24.53 kB / 1.106 GB, free: 211.7 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 4.15e-05/0.5586, allocations: 1.062 kB / 1.106 GB, free: 211.7 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 1.929e-05/0.5586, allocations: 4.219 kB / 1.106 GB, free: 211.7 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 4.53e-05/0.5587, allocations: 12.45 kB / 1.106 GB, free: 211.7 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.095e-05/0.5587, allocations: 4.406 kB / 1.106 GB, free: 211.7 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003485/0.5591, allocations: 152.1 kB / 1.106 GB, free: 211.7 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 8.729e-06/0.5591, allocations: 2.375 kB / 1.106 GB, free: 211.7 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.661e-05/0.5591, allocations: 29.64 kB / 1.106 GB, free: 211.7 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001464/0.5593, allocations: 64.27 kB / 1.106 GB, free: 211.7 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.5593, allocations: 0 / 1.106 GB, free: 211.7 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.716e-06/0.5593, allocations: 0 / 1.106 GB, free: 211.7 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.61e-06/0.5593, allocations: 2.438 kB / 1.106 GB, free: 211.7 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.0002398/0.5596, allocations: 337 kB / 1.106 GB, free: 211.3 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.285e-05/0.5596, allocations: 9.906 kB / 1.106 GB, free: 211.3 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.581e-05/0.5597, allocations: 4.516 kB / 1.106 GB, free: 211.3 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.922e-05/0.5597, allocations: 166.1 kB / 1.107 GB, free: 211.1 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.153e-05/0.5598, allocations: 2.75 kB / 1.107 GB, free: 211.1 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.193e-05/0.5598, allocations: 1.062 kB / 1.107 GB, free: 211.1 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.28e-05/0.5599, allocations: 37.06 kB / 1.107 GB, free: 211.1 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.271e-06/0.5599, allocations: 0 / 1.107 GB, free: 211.1 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.33e-06/0.5599, allocations: 1.969 kB / 1.107 GB, free: 211.1 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.924e-06/0.5599, allocations: 3.953 kB / 1.107 GB, free: 211.1 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.357e-05/0.56, allocations: 9.312 kB / 1.107 GB, free: 211.1 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001166/0.5601, allocations: 157.5 kB / 1.107 GB, free: 210.9 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 8.565e-05/0.5602, allocations: 35.42 kB / 1.107 GB, free: 210.8 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.051e-05/0.5602, allocations: 10.64 kB / 1.107 GB, free: 210.8 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002597/0.5628, allocations: 1.034 MB / 1.108 GB, free: 210.4 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.51e-05/0.5629, allocations: 33.89 kB / 1.108 GB, free: 210.4 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=3): time 1.998e-06/0.5629, allocations: 1.344 kB / 1.108 GB, free: 210.4 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3): time 0.0001504/0.5631, allocations: 46.86 kB / 1.108 GB, free: 210.4 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.51e-05/0.5631, allocations: 56.5 kB / 1.108 GB, free: 210.3 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.602e-05/0.5632, allocations: 105.4 kB / 1.108 GB, free: 210.2 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 7.297e-06/0.5632, allocations: 25.7 kB / 1.108 GB, free: 210.2 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 1.925e-05/0.5632, allocations: 83.47 kB / 1.108 GB, free: 210.1 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.365e-05/0.5632, allocations: 13.08 kB / 1.108 GB, free: 210.1 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.204e-06/0.5632, allocations: 3.938 kB / 1.108 GB, free: 210.1 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 4.698e-05/0.5633, allocations: 315.9 kB / 1.108 GB, free: 209.8 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.794e-05/0.5633, allocations: 10.12 kB / 1.108 GB, free: 209.8 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.825e-05/0.5634, allocations: 10.44 kB / 1.108 GB, free: 209.8 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.442e-05/0.5634, allocations: 4.125 kB / 1.108 GB, free: 209.8 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.916e-06/0.5634, allocations: 0 / 1.108 GB, free: 209.8 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.79e-05/0.5635, allocations: 42.81 kB / 1.109 GB, free: 209.7 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.5635, allocations: 4.469 kB / 1.109 GB, free: 209.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.951e-06/0.5635, allocations: 1.375 kB / 1.109 GB, free: 209.7 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.5636, allocations: 0 / 1.109 GB, free: 209.7 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.326e-05/0.5636, allocations: 11.19 kB / 1.109 GB, free: 209.7 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.991e-06/0.5636, allocations: 4.875 kB / 1.109 GB, free: 209.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.129e-05/0.5637, allocations: 7.891 kB / 1.109 GB, free: 209.7 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.087e-06/0.5637, allocations: 1.25 kB / 1.109 GB, free: 209.7 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 4.973e-05/0.5637, allocations: 110.9 kB / 1.109 GB, free: 209.6 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.066e-05/0.5638, allocations: 1.312 kB / 1.109 GB, free: 209.6 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001228/0.5639, allocations: 55.45 kB / 1.109 GB, free: 209.5 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.333e-06/0.5639, allocations: 1.688 kB / 1.109 GB, free: 209.5 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.106e-06/0.5639, allocations: 0 / 1.109 GB, free: 209.5 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.5639, allocations: 0 / 1.109 GB, free: 209.5 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.861e-05/0.564, allocations: 158.5 kB / 1.109 GB, free: 209.4 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.92e-06/0.564, allocations: 0 / 1.109 GB, free: 209.4 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.211e-05/0.5641, allocations: 8.625 kB / 1.109 GB, free: 209.4 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.797e-06/0.5641, allocations: 0 / 1.109 GB, free: 209.4 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.077e-06/0.5641, allocations: 2.188 kB / 1.109 GB, free: 209.4 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.077e-06/0.5641, allocations: 0 / 1.109 GB, free: 209.4 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.564e-06/0.5641, allocations: 3.938 kB / 1.109 GB, free: 209.3 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.96e-05/0.5642, allocations: 75.64 kB / 1.109 GB, free: 209.3 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.84e-05/0.5643, allocations: 77.77 kB / 1.109 GB, free: 209.2 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.361e-05/0.5643, allocations: 1.25 kB / 1.109 GB, free: 209.2 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.798e-05/0.5643, allocations: 3.062 kB / 1.109 GB, free: 209.2 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.8e-05/0.5643, allocations: 7.859 kB / 1.109 GB, free: 209.2 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.099e-06/0.5643, allocations: 1.406 kB / 1.109 GB, free: 209.2 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.132e-05/0.5644, allocations: 76.66 kB / 1.109 GB, free: 209.1 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6.73e-07/0.5644, allocations: 0 / 1.109 GB, free: 209.1 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003001/0.5647, allocations: 24.77 kB / 1.109 GB, free: 209.1 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.000249/0.565, allocations: 142.9 kB / 1.109 GB, free: 209 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 8.319e-05/0.5651, allocations: 20.75 kB / 1.109 GB, free: 209 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.241e-06/0.5651, allocations: 0 / 1.109 GB, free: 209 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.329e-05/0.5651, allocations: 9.344 kB / 1.109 GB, free: 209 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002235/0.5653, allocations: 8.672 kB / 1.109 GB, free: 209 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002226/0.5656, allocations: 111.7 kB / 1.109 GB, free: 208.9 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000121/0.5657, allocations: 0.6803 MB / 1.11 GB, free: 208.2 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.26e-05/0.5658, allocations: 2.656 kB / 1.11 GB, free: 208.2 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.655e-05/0.5658, allocations: 10.06 kB / 1.11 GB, free: 208.2 MB / 0.7292 GB Notification: Performance of SimCode: time 1.183e-06/0.5658, allocations: 0 / 1.11 GB, free: 208.2 MB / 0.7292 GB Notification: Performance of Templates: time 0.003392/0.5692, allocations: 0.89 MB / 1.111 GB, free: 208.2 MB / 0.7292 GB