Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_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_7.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.163/2.163, allocations: 254.9 MB / 269.9 MB, free: 9.66 MB / 218.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.001424/0.001424, allocations: 191 kB / 329.5 MB, free: 1.203 MB / 250.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 2.415/2.415, allocations: 225.6 MB / 0.6001 GB, free: 2.262 MB / 426.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.00141/0.00141, allocations: 95.42 kB / 0.7074 GB, free: 8.023 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.000492/0.0004921, allocations: 16 kB / 0.8242 GB, free: 124.3 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1992/0.1997, allocations: 109.1 MB / 0.9308 GB, free: 25.16 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.001398/0.2012, allocations: 1.009 MB / 0.9318 GB, free: 24.14 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001201/0.2024, allocations: 0.6911 MB / 0.9324 GB, free: 23.44 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.692e-05/0.2024, allocations: 0 / 0.9324 GB, free: 23.44 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.48e-05/0.2025, allocations: 3.938 kB / 0.9324 GB, free: 23.44 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.35e-05/0.2025, allocations: 3.984 kB / 0.9324 GB, free: 23.43 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003264/0.2029, allocations: 79.75 kB / 0.9325 GB, free: 23.36 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 5.953e-05/0.2029, allocations: 15.88 kB / 0.9325 GB, free: 23.34 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.489e-05/0.203, allocations: 4 kB / 0.9325 GB, free: 23.34 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 2.464e-05/0.203, allocations: 11.92 kB / 0.9325 GB, free: 23.32 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 5.791e-05/0.2031, allocations: 8 kB / 0.9326 GB, free: 23.32 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.377e-05/0.2031, allocations: 0 / 0.9326 GB, free: 23.32 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003996/0.2035, allocations: 147.8 kB / 0.9327 GB, free: 23.17 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.013e-05/0.2036, allocations: 3.984 kB / 0.9327 GB, free: 23.17 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 3.464e-05/0.2036, allocations: 33.64 kB / 0.9327 GB, free: 23.13 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001845/0.2038, allocations: 64.19 kB / 0.9328 GB, free: 23.07 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.2038, allocations: 4 kB / 0.9328 GB, free: 23.06 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.344e-06/0.2038, allocations: 4 kB / 0.9328 GB, free: 23.06 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.919e-06/0.2038, allocations: 0 / 0.9328 GB, free: 23.06 MB / 0.5886 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.0003706/0.2042, allocations: 331.5 kB / 0.9331 GB, free: 22.69 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.745e-05/0.2043, allocations: 8.031 kB / 0.9331 GB, free: 22.68 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.256e-05/0.2043, allocations: 4.875 kB / 0.9331 GB, free: 22.68 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001087/0.2044, allocations: 168.4 kB / 0.9333 GB, free: 22.47 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.441e-05/0.2045, allocations: 384 / 0.9333 GB, free: 22.47 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.473e-05/0.2045, allocations: 4.359 kB / 0.9333 GB, free: 22.47 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001035/0.2046, allocations: 34.02 kB / 0.9333 GB, free: 22.43 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.308e-06/0.2046, allocations: 4 kB / 0.9333 GB, free: 22.43 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.2046, allocations: 4 kB / 0.9333 GB, free: 22.42 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.2047, allocations: 0 / 0.9333 GB, free: 22.42 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.434e-05/0.2047, allocations: 15.92 kB / 0.9333 GB, free: 22.41 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001638/0.2049, allocations: 157.7 kB / 0.9335 GB, free: 22.2 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 9.854e-05/0.205, allocations: 30.58 kB / 0.9335 GB, free: 22.16 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.867e-05/0.2051, allocations: 12.91 kB / 0.9335 GB, free: 22.15 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003939/0.209, allocations: 1.035 MB / 0.9345 GB, free: 21.04 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.08e-05/0.209, allocations: 38.5 kB / 0.9346 GB, free: 20.99 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=3): time 1.673e-06/0.2091, allocations: 0 / 0.9346 GB, free: 20.99 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3): time 0.0001769/0.2092, allocations: 53.53 kB / 0.9346 GB, free: 20.93 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.64e-05/0.2093, allocations: 51.41 kB / 0.9347 GB, free: 20.87 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.031e-05/0.2094, allocations: 97.86 kB / 0.9348 GB, free: 20.77 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.214e-05/0.2094, allocations: 29.7 kB / 0.9348 GB, free: 20.73 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 2.319e-05/0.2094, allocations: 84.12 kB / 0.9349 GB, free: 20.64 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.693e-05/0.2095, allocations: 7.891 kB / 0.9349 GB, free: 20.64 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.346e-06/0.2095, allocations: 4 kB / 0.9349 GB, free: 20.63 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.732e-05/0.2095, allocations: 310.8 kB / 0.9352 GB, free: 20.32 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.142e-05/0.2096, allocations: 4 kB / 0.9352 GB, free: 20.32 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.685e-05/0.2096, allocations: 4 kB / 0.9352 GB, free: 20.31 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.641e-05/0.2096, allocations: 4.125 kB / 0.9352 GB, free: 20.31 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.2096, allocations: 4 kB / 0.9352 GB, free: 20.3 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.17e-05/0.2097, allocations: 49.62 kB / 0.9353 GB, free: 20.25 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.2098, allocations: 11.88 kB / 0.9353 GB, free: 20.24 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.2098, allocations: 0 / 0.9353 GB, free: 20.24 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.2098, allocations: 0 / 0.9353 GB, free: 20.24 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.803e-05/0.2099, allocations: 11.98 kB / 0.9353 GB, free: 20.23 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.2099, allocations: 0 / 0.9353 GB, free: 20.23 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.253e-05/0.2099, allocations: 0 / 0.9353 GB, free: 20.23 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-06/0.21, allocations: 0 / 0.9353 GB, free: 20.23 MB / 0.5886 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 6.032e-05/0.21, allocations: 117.8 kB / 0.9354 GB, free: 20.1 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.075e-05/0.21, allocations: 7.875 kB / 0.9354 GB, free: 20.09 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001474/0.2102, allocations: 57.36 kB / 0.9355 GB, free: 20.02 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-06/0.2102, allocations: 0 / 0.9355 GB, free: 20.02 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.2102, allocations: 0 / 0.9355 GB, free: 20.02 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.2102, allocations: 48 / 0.9355 GB, free: 20.02 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.784e-05/0.2103, allocations: 157.7 kB / 0.9356 GB, free: 19.82 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.2103, allocations: 0 / 0.9356 GB, free: 19.82 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.024e-05/0.2104, allocations: 8 kB / 0.9356 GB, free: 19.81 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.2104, allocations: 7.938 kB / 0.9356 GB, free: 19.8 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.416e-06/0.2104, allocations: 7.984 kB / 0.9356 GB, free: 19.8 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.2104, allocations: 0 / 0.9356 GB, free: 19.8 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.2104, allocations: 0 / 0.9356 GB, free: 19.8 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.377e-05/0.2105, allocations: 65.12 kB / 0.9357 GB, free: 19.71 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 2.814e-05/0.2106, allocations: 81.05 kB / 0.9358 GB, free: 19.62 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.684e-05/0.2106, allocations: 8 kB / 0.9358 GB, free: 19.61 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.923e-05/0.2106, allocations: 0 / 0.9358 GB, free: 19.61 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.892e-05/0.2107, allocations: 7.938 kB / 0.9358 GB, free: 19.6 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.128e-06/0.2107, allocations: 0 / 0.9358 GB, free: 19.6 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.32e-05/0.2107, allocations: 79.28 kB / 0.9359 GB, free: 19.52 MB / 0.5886 GB Notification: Performance of sort global known variables: time 3.4e-07/0.2107, allocations: 0 / 0.9359 GB, free: 19.52 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002886/0.211, allocations: 35.92 kB / 0.9359 GB, free: 19.49 MB / 0.5886 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.0002974/0.2113, allocations: 131.3 kB / 0.936 GB, free: 19.35 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 8.376e-05/0.2114, allocations: 12 kB / 0.936 GB, free: 19.34 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.2114, allocations: 0 / 0.936 GB, free: 19.34 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 2.231e-05/0.2115, allocations: 11.92 kB / 0.936 GB, free: 19.33 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002277/0.2117, allocations: 11.98 kB / 0.9361 GB, free: 19.32 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002449/0.212, allocations: 118.5 kB / 0.9362 GB, free: 19.18 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001157/0.2121, allocations: 0.6809 MB / 0.9368 GB, free: 18.47 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 3.84e-05/0.2121, allocations: 4 kB / 0.9368 GB, free: 18.46 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.708e-05/0.2122, allocations: 7.438 kB / 0.9368 GB, free: 18.46 MB / 0.5886 GB Notification: Performance of SimCode: time 6.31e-07/0.2122, allocations: 4 kB / 0.9368 GB, free: 18.45 MB / 0.5886 GB Notification: Performance of Templates: time 0.003663/0.2158, allocations: 0.8819 MB / 0.9377 GB, free: 17.57 MB / 0.5886 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.sim & ./Buildings_7.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe 2>&1)