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.009374/0.009378, allocations: 107.4 kB / 15.06 MB, free: 5.605 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.001117/0.001117, allocations: 185.5 kB / 15.95 MB, free: 5.543 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 1.848/1.848, allocations: 194.6 MB / 211.3 MB, free: 11.07 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.286/2.286, allocations: 236.2 MB / 492.6 MB, free: 11.37 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004704/0.0004706, allocations: 12 kB / 0.587 GB, free: 2.184 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.534/0.5345, allocations: 98.71 MB / 0.6834 GB, free: 16.68 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.001274/0.5358, allocations: 0.9799 MB / 0.6843 GB, free: 15.95 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.001154/0.537, allocations: 0.6784 MB / 0.685 GB, free: 15.49 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.918e-05/0.5371, allocations: 0 / 0.685 GB, free: 15.49 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 1.238e-05/0.5371, allocations: 2.047 kB / 0.685 GB, free: 15.49 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 4.684e-05/0.5372, allocations: 4.734 kB / 0.685 GB, free: 15.48 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003071/0.5375, allocations: 70.3 kB / 0.685 GB, free: 15.46 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 4.396e-05/0.5375, allocations: 14.12 kB / 0.6851 GB, free: 15.45 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 4.331e-05/0.5376, allocations: 2.297 kB / 0.6851 GB, free: 15.45 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 1.985e-05/0.5376, allocations: 8.469 kB / 0.6851 GB, free: 15.45 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 4.85e-05/0.5377, allocations: 13.14 kB / 0.6851 GB, free: 15.44 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.07e-05/0.5377, allocations: 0 / 0.6851 GB, free: 15.44 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003811/0.5381, allocations: 154.5 kB / 0.6852 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 1.01e-05/0.5381, allocations: 4 kB / 0.6852 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 2.334e-05/0.5382, allocations: 32.36 kB / 0.6853 GB, free: 15.37 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0001728/0.5383, allocations: 62.22 kB / 0.6853 GB, free: 15.37 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.17e-06/0.5384, allocations: 4 kB / 0.6853 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.077e-06/0.5384, allocations: 0 / 0.6853 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 9.096e-06/0.5384, allocations: 0 / 0.6853 GB, free: 15.36 MB / 0.5261 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.000263/0.5387, allocations: 340.7 kB / 0.6857 GB, free: 15 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.5387, allocations: 8.688 kB / 0.6857 GB, free: 15 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.813e-05/0.5387, allocations: 5.453 kB / 0.6857 GB, free: 14.99 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.327e-05/0.5388, allocations: 161.6 kB / 0.6858 GB, free: 14.8 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.281e-05/0.5388, allocations: 1.156 kB / 0.6858 GB, free: 14.8 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.411e-05/0.5389, allocations: 1.469 kB / 0.6858 GB, free: 14.8 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.755e-05/0.539, allocations: 43.77 kB / 0.6859 GB, free: 14.75 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.889e-06/0.539, allocations: 0.5156 kB / 0.6859 GB, free: 14.75 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.636e-06/0.539, allocations: 1.031 kB / 0.6859 GB, free: 14.75 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.974e-06/0.539, allocations: 3.953 kB / 0.6859 GB, free: 14.75 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.728e-05/0.5391, allocations: 8.75 kB / 0.6859 GB, free: 14.75 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001232/0.5392, allocations: 152.2 kB / 0.686 GB, free: 14.56 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 9.618e-05/0.5393, allocations: 36.33 kB / 0.6861 GB, free: 14.53 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002715/0.542, allocations: 1.037 MB / 0.6871 GB, free: 14.05 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.026e-05/0.5421, allocations: 32.89 kB / 0.6871 GB, free: 14.01 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=3): time 3.412e-06/0.5421, allocations: 3.984 kB / 0.6871 GB, free: 14.01 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3): time 0.0001758/0.5423, allocations: 49.28 kB / 0.6872 GB, free: 13.97 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.253e-05/0.5423, allocations: 53.88 kB / 0.6872 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.478e-05/0.5424, allocations: 101.8 kB / 0.6873 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 8.835e-06/0.5424, allocations: 25.7 kB / 0.6873 GB, free: 13.77 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 1.924e-05/0.5424, allocations: 84.14 kB / 0.6874 GB, free: 13.68 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.628e-05/0.5425, allocations: 10.31 kB / 0.6874 GB, free: 13.68 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.224e-06/0.5425, allocations: 0 / 0.6874 GB, free: 13.68 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 4.967e-05/0.5426, allocations: 317.1 kB / 0.6877 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.025e-05/0.5426, allocations: 9.969 kB / 0.6877 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.951e-05/0.5426, allocations: 6.828 kB / 0.6877 GB, free: 13.35 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.604e-05/0.5426, allocations: 3.156 kB / 0.6877 GB, free: 13.35 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.193e-06/0.5427, allocations: 5.281 kB / 0.6877 GB, free: 13.35 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.191e-05/0.5428, allocations: 42.36 kB / 0.6878 GB, free: 13.31 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.5428, allocations: 8.344 kB / 0.6878 GB, free: 13.31 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.801e-06/0.5428, allocations: 0 / 0.6878 GB, free: 13.31 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.5428, allocations: 0.9688 kB / 0.6878 GB, free: 13.31 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.072e-05/0.5429, allocations: 4.344 kB / 0.6878 GB, free: 13.31 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.5429, allocations: 0 / 0.6878 GB, free: 13.31 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.286e-05/0.5429, allocations: 1 kB / 0.6878 GB, free: 13.31 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.33e-06/0.543, allocations: 4.922 kB / 0.6878 GB, free: 13.31 MB / 0.5261 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.312e-05/0.543, allocations: 111.7 kB / 0.6879 GB, free: 13.19 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.317e-05/0.543, allocations: 1.219 kB / 0.6879 GB, free: 13.19 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001349/0.5432, allocations: 67.84 kB / 0.688 GB, free: 13.14 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.146e-06/0.5432, allocations: 0.9688 kB / 0.688 GB, free: 13.14 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.003e-06/0.5432, allocations: 5 kB / 0.688 GB, free: 13.13 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.676e-06/0.5432, allocations: 0 / 0.688 GB, free: 13.13 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.475e-05/0.5433, allocations: 156.8 kB / 0.6881 GB, free: 12.94 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.205e-06/0.5433, allocations: 0 / 0.6881 GB, free: 12.94 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.72e-05/0.5434, allocations: 6.625 kB / 0.6881 GB, free: 12.94 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.4e-06/0.5434, allocations: 5.188 kB / 0.6881 GB, free: 12.93 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.343e-06/0.5434, allocations: 0.9688 kB / 0.6881 GB, free: 12.93 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.58e-06/0.5434, allocations: 0 / 0.6881 GB, free: 12.93 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.309e-06/0.5434, allocations: 0.875 kB / 0.6881 GB, free: 12.93 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.64e-05/0.5435, allocations: 76.33 kB / 0.6882 GB, free: 12.86 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 2.052e-05/0.5436, allocations: 77.77 kB / 0.6883 GB, free: 12.76 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.429e-05/0.5436, allocations: 1.938 kB / 0.6883 GB, free: 12.76 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.875e-05/0.5436, allocations: 0 / 0.6883 GB, free: 12.76 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.976e-05/0.5436, allocations: 10.53 kB / 0.6883 GB, free: 12.75 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.15e-06/0.5437, allocations: 1.281 kB / 0.6883 GB, free: 12.75 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 2.404e-05/0.5437, allocations: 77.83 kB / 0.6884 GB, free: 12.68 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6.3e-07/0.5437, allocations: 0 / 0.6884 GB, free: 12.68 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0003269/0.544, allocations: 24.36 kB / 0.6884 GB, free: 12.68 MB / 0.5261 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.000274/0.5443, allocations: 143.7 kB / 0.6885 GB, free: 12.57 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 9.051e-05/0.5444, allocations: 17.14 kB / 0.6886 GB, free: 12.56 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.5444, allocations: 3.938 kB / 0.6886 GB, free: 12.56 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 2.404e-05/0.5445, allocations: 6.312 kB / 0.6886 GB, free: 12.56 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000172/0.5447, allocations: 9.484 kB / 0.6886 GB, free: 12.55 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002492/0.5449, allocations: 109.8 kB / 0.6887 GB, free: 12.45 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001109/0.5451, allocations: 0.6804 MB / 0.6893 GB, free: 11.75 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 3.557e-05/0.5451, allocations: 7.031 kB / 0.6893 GB, free: 11.75 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.709e-05/0.5451, allocations: 10.38 kB / 0.6894 GB, free: 11.74 MB / 0.5261 GB Notification: Performance of SimCode: time 1.324e-06/0.5451, allocations: 0 / 0.6894 GB, free: 11.74 MB / 0.5261 GB Notification: Performance of Templates: time 0.0038/0.5489, allocations: 0.8656 MB / 0.6902 GB, free: 11.64 MB / 0.5261 GB