Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 8.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.705/1.705, allocations: 297.4 MB / 312.6 MB, free: 2.922 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009643/0.0009643, allocations: 182 kB / 382.3 MB, free: 14.82 MB / 314.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.351/1.351, allocations: 225.7 MB / 0.6617 GB, free: 7.238 MB / 490.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007366/0.0007365, allocations: 92.77 kB / 0.7789 GB, free: 46.63 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003181/0.0003182, allocations: 8 kB / 0.9058 GB, free: 4.926 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5487/0.549, allocations: 119.2 MB / 1.022 GB, free: 57.38 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.00122/0.5503, allocations: 1.014 MB / 1.023 GB, free: 56.88 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001033/0.5514, allocations: 1.04 MB / 1.024 GB, free: 56.18 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.561e-05/0.5514, allocations: 1.531 kB / 1.024 GB, free: 56.18 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 1.352e-05/0.5514, allocations: 3.938 kB / 1.024 GB, free: 56.17 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 5.476e-05/0.5515, allocations: 2.453 kB / 1.024 GB, free: 56.17 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002509/0.5517, allocations: 80.33 kB / 1.024 GB, free: 56.15 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 4.149e-05/0.5518, allocations: 12.34 kB / 1.024 GB, free: 56.14 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 3.725e-05/0.5518, allocations: 3.5 kB / 1.024 GB, free: 56.14 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 1.528e-05/0.5518, allocations: 2.938 kB / 1.024 GB, free: 56.14 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 4.518e-05/0.5519, allocations: 15.72 kB / 1.024 GB, free: 56.14 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 8.726e-06/0.5519, allocations: 1.281 kB / 1.024 GB, free: 56.14 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002742/0.5522, allocations: 152.7 kB / 1.025 GB, free: 56.11 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.038e-05/0.5522, allocations: 2.234 kB / 1.025 GB, free: 56.11 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.791e-05/0.5522, allocations: 38.2 kB / 1.025 GB, free: 56.07 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001785/0.5524, allocations: 98.47 kB / 1.025 GB, free: 56.05 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.706e-06/0.5524, allocations: 1.469 kB / 1.025 GB, free: 56.05 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.743e-06/0.5524, allocations: 1.062 kB / 1.025 GB, free: 56.05 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.737e-06/0.5524, allocations: 0 / 1.025 GB, free: 56.05 MB / 0.698 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.0002295/0.5527, allocations: 331.5 kB / 1.025 GB, free: 55.69 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.226e-05/0.5527, allocations: 10.22 kB / 1.025 GB, free: 55.69 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.685e-05/0.5528, allocations: 5.844 kB / 1.025 GB, free: 55.69 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.582e-05/0.5528, allocations: 169.6 kB / 1.025 GB, free: 55.49 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.12e-05/0.5528, allocations: 1.719 kB / 1.025 GB, free: 55.49 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.707e-06/0.5529, allocations: 6.344 kB / 1.025 GB, free: 55.48 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.628e-05/0.5529, allocations: 33.83 kB / 1.025 GB, free: 55.45 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.093e-06/0.553, allocations: 1.031 kB / 1.025 GB, free: 55.45 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.864e-06/0.553, allocations: 6.531 kB / 1.025 GB, free: 55.45 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.553, allocations: 0 / 1.025 GB, free: 55.45 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.95e-05/0.553, allocations: 10.67 kB / 1.025 GB, free: 55.45 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001092/0.5531, allocations: 155.6 kB / 1.025 GB, free: 55.25 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.872e-05/0.5532, allocations: 31 kB / 1.025 GB, free: 55.23 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.309e-05/0.5532, allocations: 15.36 kB / 1.025 GB, free: 55.21 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002252/0.5555, allocations: 1.038 MB / 1.026 GB, free: 54.75 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.822e-05/0.5555, allocations: 31.12 kB / 1.026 GB, free: 54.71 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.5555, allocations: 0 / 1.026 GB, free: 54.71 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0001397/0.5557, allocations: 52.39 kB / 1.027 GB, free: 54.68 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.915e-05/0.5557, allocations: 57.75 kB / 1.027 GB, free: 54.61 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.142e-05/0.5558, allocations: 98.16 kB / 1.027 GB, free: 54.51 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.963e-06/0.5558, allocations: 29.7 kB / 1.027 GB, free: 54.47 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 1.398e-05/0.5558, allocations: 81.45 kB / 1.027 GB, free: 54.39 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.031e-05/0.5558, allocations: 4.609 kB / 1.027 GB, free: 54.39 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.475e-06/0.5558, allocations: 2.969 kB / 1.027 GB, free: 54.39 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 4.329e-05/0.5559, allocations: 312.2 kB / 1.027 GB, free: 54.07 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.462e-05/0.5559, allocations: 7.719 kB / 1.027 GB, free: 54.07 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.011e-05/0.5559, allocations: 7.297 kB / 1.027 GB, free: 54.07 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.886e-05/0.5559, allocations: 21.94 kB / 1.027 GB, free: 54.05 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.556, allocations: 0.6562 kB / 1.027 GB, free: 54.05 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.677e-05/0.556, allocations: 52.05 kB / 1.027 GB, free: 54.01 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.082e-05/0.556, allocations: 2.438 kB / 1.027 GB, free: 54.01 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.556, allocations: 3.688 kB / 1.027 GB, free: 54.01 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.5561, allocations: 0 / 1.027 GB, free: 54.01 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.651e-05/0.5561, allocations: 3.656 kB / 1.027 GB, free: 54.01 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.481e-06/0.5561, allocations: 2.875 kB / 1.027 GB, free: 54.01 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.462e-05/0.5561, allocations: 7.938 kB / 1.027 GB, free: 54 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.089e-06/0.5561, allocations: 0.6562 kB / 1.027 GB, free: 54 MB / 0.698 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 4.26e-05/0.5562, allocations: 109.8 kB / 1.027 GB, free: 53.89 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.776e-06/0.5562, allocations: 6.469 kB / 1.027 GB, free: 53.88 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001018/0.5563, allocations: 62.45 kB / 1.027 GB, free: 53.82 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.5563, allocations: 0 / 1.027 GB, free: 53.82 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.5563, allocations: 6.953 kB / 1.027 GB, free: 53.82 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.5563, allocations: 0 / 1.027 GB, free: 53.82 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.737e-05/0.5564, allocations: 151.7 kB / 1.028 GB, free: 53.63 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.5564, allocations: 8.812 kB / 1.028 GB, free: 53.63 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.344e-05/0.5564, allocations: 4.156 kB / 1.028 GB, free: 53.63 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.5564, allocations: 0 / 1.028 GB, free: 53.63 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.97e-06/0.5565, allocations: 1.438 kB / 1.028 GB, free: 53.63 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.5565, allocations: 0 / 1.028 GB, free: 53.63 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.5565, allocations: 1.688 kB / 1.028 GB, free: 53.63 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.232e-05/0.5565, allocations: 75.33 kB / 1.028 GB, free: 53.55 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 1.527e-05/0.5566, allocations: 90.33 kB / 1.028 GB, free: 53.45 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.082e-05/0.5566, allocations: 3.047 kB / 1.028 GB, free: 53.45 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.167e-05/0.5566, allocations: 1.375 kB / 1.028 GB, free: 53.45 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.143e-05/0.5566, allocations: 1.375 kB / 1.028 GB, free: 53.45 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.386e-06/0.5566, allocations: 1.375 kB / 1.028 GB, free: 53.45 MB / 0.698 GB Notification: Performance of sorting global known variables: time 1.576e-05/0.5566, allocations: 76.66 kB / 1.028 GB, free: 53.37 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5566, allocations: 0 / 1.028 GB, free: 53.37 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002118/0.5569, allocations: 32.78 kB / 1.028 GB, free: 53.36 MB / 0.698 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.0002183/0.5571, allocations: 143.2 kB / 1.028 GB, free: 53.27 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 6.445e-05/0.5572, allocations: 13.62 kB / 1.028 GB, free: 53.26 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.5572, allocations: 0 / 1.028 GB, free: 53.26 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.435e-05/0.5572, allocations: 12.72 kB / 1.028 GB, free: 53.26 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001725/0.5574, allocations: 6.688 kB / 1.028 GB, free: 53.25 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001989/0.5576, allocations: 120 kB / 1.028 GB, free: 53.14 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.834e-05/0.5577, allocations: 0.676 MB / 1.029 GB, free: 52.45 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 2.758e-05/0.5577, allocations: 2.688 kB / 1.029 GB, free: 52.45 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.374e-05/0.5577, allocations: 10.12 kB / 1.029 GB, free: 52.44 MB / 0.698 GB Notification: Performance of SimCode: time 2.21e-07/0.5577, allocations: 0 / 1.029 GB, free: 52.44 MB / 0.698 GB Notification: Performance of Templates: time 0.002621/0.5603, allocations: 0.8794 MB / 1.03 GB, free: 52.35 MB / 0.698 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)