Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.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_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.779/1.779, allocations: 291.7 MB / 306.8 MB, free: 7.684 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.001051/0.001051, allocations: 188.3 kB / 375.4 MB, free: 5.129 MB / 298.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.3/1.3, allocations: 225.7 MB / 0.6538 GB, free: 13.62 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.0007454/0.0007455, allocations: 98.72 kB / 0.7699 GB, free: 50.3 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003964/0.0003963, allocations: 12 kB / 0.8956 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5907/0.5911, allocations: 118.1 MB / 1.011 GB, free: 57.86 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.00139/0.5925, allocations: 1.009 MB / 1.012 GB, free: 57.83 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001003/0.5936, allocations: 0.6935 MB / 1.013 GB, free: 57.79 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.634e-05/0.5936, allocations: 0 / 1.013 GB, free: 57.79 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 1.386e-05/0.5936, allocations: 3.938 kB / 1.013 GB, free: 57.78 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 6.087e-05/0.5937, allocations: 5.484 kB / 1.013 GB, free: 57.78 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002823/0.594, allocations: 73.36 kB / 1.013 GB, free: 57.77 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 4.597e-05/0.594, allocations: 14.03 kB / 1.013 GB, free: 57.77 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 4.172e-05/0.5941, allocations: 2.781 kB / 1.013 GB, free: 57.77 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 2.057e-05/0.5941, allocations: 4.75 kB / 1.013 GB, free: 57.77 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 5.14e-05/0.5942, allocations: 6.844 kB / 1.013 GB, free: 57.77 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.116e-05/0.5942, allocations: 6.375 kB / 1.013 GB, free: 57.77 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003314/0.5945, allocations: 159.9 kB / 1.013 GB, free: 57.77 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 8.325e-06/0.5945, allocations: 0.7188 kB / 1.013 GB, free: 57.77 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.156e-05/0.5946, allocations: 32.64 kB / 1.013 GB, free: 57.73 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001251/0.5947, allocations: 67.22 kB / 1.013 GB, free: 57.73 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.5947, allocations: 1.781 kB / 1.013 GB, free: 57.73 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.794e-06/0.5947, allocations: 0 / 1.013 GB, free: 57.73 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.636e-06/0.5947, allocations: 0 / 1.013 GB, free: 57.73 MB / 0.7136 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.0002607/0.595, allocations: 332.8 kB / 1.013 GB, free: 57.37 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.451e-05/0.595, allocations: 13.88 kB / 1.013 GB, free: 57.37 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.055e-05/0.5951, allocations: 4.844 kB / 1.013 GB, free: 57.36 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.878e-05/0.5952, allocations: 170.2 kB / 1.013 GB, free: 57.17 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.142e-05/0.5952, allocations: 1.906 kB / 1.013 GB, free: 57.17 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.788e-06/0.5952, allocations: 8.141 kB / 1.013 GB, free: 57.16 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.86e-05/0.5953, allocations: 28.3 kB / 1.013 GB, free: 57.13 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.5953, allocations: 1.625 kB / 1.013 GB, free: 57.13 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.586e-06/0.5953, allocations: 1.188 kB / 1.013 GB, free: 57.13 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.87e-06/0.5953, allocations: 1.875 kB / 1.013 GB, free: 57.13 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.415e-05/0.5954, allocations: 17.41 kB / 1.013 GB, free: 57.13 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001273/0.5955, allocations: 155.5 kB / 1.014 GB, free: 56.94 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.468e-05/0.5956, allocations: 34.41 kB / 1.014 GB, free: 56.92 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.433e-05/0.5956, allocations: 15.33 kB / 1.014 GB, free: 56.91 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002201/0.5978, allocations: 1.034 MB / 1.015 GB, free: 56.49 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.032e-05/0.5979, allocations: 37.75 kB / 1.015 GB, free: 56.45 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 1.653e-06/0.5979, allocations: 3.938 kB / 1.015 GB, free: 56.45 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0001469/0.598, allocations: 49.23 kB / 1.015 GB, free: 56.41 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.399e-05/0.5981, allocations: 51.41 kB / 1.015 GB, free: 56.35 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.738e-05/0.5981, allocations: 92.45 kB / 1.015 GB, free: 56.25 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 7.534e-06/0.5981, allocations: 25.7 kB / 1.015 GB, free: 56.22 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 1.481e-05/0.5981, allocations: 84.02 kB / 1.015 GB, free: 56.14 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.449e-05/0.5982, allocations: 11.33 kB / 1.015 GB, free: 56.13 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.855e-06/0.5982, allocations: 4.125 kB / 1.015 GB, free: 56.13 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 4.836e-05/0.5982, allocations: 310.8 kB / 1.015 GB, free: 55.82 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.364e-05/0.5983, allocations: 6.75 kB / 1.015 GB, free: 55.82 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.065e-05/0.5983, allocations: 5.062 kB / 1.015 GB, free: 55.82 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.661e-05/0.5983, allocations: 17.62 kB / 1.015 GB, free: 55.81 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.5983, allocations: 0 / 1.015 GB, free: 55.81 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.948e-05/0.5984, allocations: 56.58 kB / 1.015 GB, free: 55.77 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.5984, allocations: 5.75 kB / 1.015 GB, free: 55.77 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.5984, allocations: 0 / 1.015 GB, free: 55.77 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.5984, allocations: 4.844 kB / 1.015 GB, free: 55.76 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.384e-05/0.5985, allocations: 6.203 kB / 1.015 GB, free: 55.76 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.5985, allocations: 3.281 kB / 1.015 GB, free: 55.76 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.612e-05/0.5985, allocations: 3.938 kB / 1.015 GB, free: 55.76 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.292e-06/0.5985, allocations: 3.062 kB / 1.015 GB, free: 55.76 MB / 0.7136 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.207e-05/0.5986, allocations: 113.8 kB / 1.016 GB, free: 55.64 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.177e-06/0.5986, allocations: 6.75 kB / 1.016 GB, free: 55.64 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001133/0.5987, allocations: 58.97 kB / 1.016 GB, free: 55.59 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.5987, allocations: 6.656 kB / 1.016 GB, free: 55.59 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/0.5988, allocations: 0 / 1.016 GB, free: 55.59 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.165e-06/0.5988, allocations: 0 / 1.016 GB, free: 55.59 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.153e-05/0.5988, allocations: 155.8 kB / 1.016 GB, free: 55.4 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.5988, allocations: 0 / 1.016 GB, free: 55.4 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.351e-05/0.5989, allocations: 6.969 kB / 1.016 GB, free: 55.4 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.392e-06/0.5989, allocations: 0 / 1.016 GB, free: 55.4 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.252e-06/0.5989, allocations: 3.875 kB / 1.016 GB, free: 55.4 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.5989, allocations: 0 / 1.016 GB, free: 55.4 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.5989, allocations: 0 / 1.016 GB, free: 55.4 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.618e-05/0.599, allocations: 77.58 kB / 1.016 GB, free: 55.33 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.62e-05/0.599, allocations: 84.42 kB / 1.016 GB, free: 55.23 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.118e-05/0.599, allocations: 0 / 1.016 GB, free: 55.23 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.21e-05/0.599, allocations: 0 / 1.016 GB, free: 55.23 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.541e-05/0.5991, allocations: 2.969 kB / 1.016 GB, free: 55.23 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.276e-06/0.5991, allocations: 2.062 kB / 1.016 GB, free: 55.23 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.788e-05/0.5991, allocations: 83.09 kB / 1.016 GB, free: 55.16 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5991, allocations: 96 / 1.016 GB, free: 55.16 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002068/0.5993, allocations: 34.16 kB / 1.016 GB, free: 55.15 MB / 0.7136 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.000243/0.5996, allocations: 130.7 kB / 1.016 GB, free: 55.05 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.03e-05/0.5996, allocations: 19.64 kB / 1.016 GB, free: 55.05 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.5997, allocations: 0 / 1.016 GB, free: 55.05 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.281e-05/0.5997, allocations: 11.72 kB / 1.016 GB, free: 55.04 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001821/0.5999, allocations: 13.66 kB / 1.016 GB, free: 55.04 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002157/0.6001, allocations: 117 kB / 1.016 GB, free: 54.93 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.024e-05/0.6002, allocations: 0.6752 MB / 1.017 GB, free: 54.24 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.939e-05/0.6002, allocations: 4.281 kB / 1.017 GB, free: 54.24 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.233e-05/0.6002, allocations: 7.438 kB / 1.017 GB, free: 54.23 MB / 0.7136 GB Notification: Performance of SimCode: time 2.31e-07/0.6003, allocations: 4 kB / 1.017 GB, free: 54.23 MB / 0.7136 GB Notification: Performance of Templates: time 0.00276/0.603, allocations: 0.8866 MB / 1.018 GB, free: 54.18 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe 2>&1)