Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.666/1.666, allocations: 306.1 MB / 321.4 MB, free: 10.75 MB / 250.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.001089/0.001089, allocations: 175.3 kB / 393.1 MB, free: 4.078 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.323/1.323, allocations: 225.7 MB / 0.6743 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007528/0.0007526, allocations: 89.36 kB / 0.7935 GB, free: 39.96 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003383/0.0003384, allocations: 15.98 kB / 0.9224 GB, free: 8.625 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5097/0.5101, allocations: 121.3 MB / 1.041 GB, free: 58.14 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.001091/0.5112, allocations: 1.017 MB / 1.042 GB, free: 57.44 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001036/0.5122, allocations: 1.031 MB / 1.043 GB, free: 56.59 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.817e-05/0.5123, allocations: 1.562 kB / 1.043 GB, free: 56.59 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 1.688e-05/0.5123, allocations: 1.828 kB / 1.043 GB, free: 56.59 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 5.204e-05/0.5124, allocations: 4.719 kB / 1.043 GB, free: 56.59 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002765/0.5126, allocations: 75.8 kB / 1.043 GB, free: 56.55 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 4.855e-05/0.5127, allocations: 14.39 kB / 1.043 GB, free: 56.55 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 4.817e-05/0.5128, allocations: 2.875 kB / 1.043 GB, free: 56.55 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 2.284e-05/0.5128, allocations: 12.58 kB / 1.043 GB, free: 56.54 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 5.531e-05/0.5128, allocations: 6.328 kB / 1.043 GB, free: 56.54 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 9.618e-06/0.5129, allocations: 0 / 1.043 GB, free: 56.54 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003127/0.5132, allocations: 154.9 kB / 1.043 GB, free: 56.51 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.387e-05/0.5132, allocations: 6.828 kB / 1.043 GB, free: 56.5 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.381e-05/0.5133, allocations: 36.33 kB / 1.043 GB, free: 56.47 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001894/0.5134, allocations: 100.5 kB / 1.043 GB, free: 56.45 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.5135, allocations: 0 / 1.043 GB, free: 56.45 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.933e-06/0.5135, allocations: 2.062 kB / 1.043 GB, free: 56.45 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.917e-06/0.5135, allocations: 0 / 1.043 GB, free: 56.45 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.0003076/0.5138, allocations: 340.9 kB / 1.044 GB, free: 56.08 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/0.5138, allocations: 8.531 kB / 1.044 GB, free: 56.08 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.651e-05/0.5139, allocations: 8.141 kB / 1.044 GB, free: 56.08 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.533e-05/0.514, allocations: 161.4 kB / 1.044 GB, free: 55.88 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.738e-06/0.514, allocations: 2.469 kB / 1.044 GB, free: 55.88 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.226e-05/0.514, allocations: 11.16 kB / 1.044 GB, free: 55.88 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.228e-05/0.5141, allocations: 36.11 kB / 1.044 GB, free: 55.84 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.792e-06/0.5141, allocations: 1.688 kB / 1.044 GB, free: 55.84 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.915e-06/0.5141, allocations: 1.594 kB / 1.044 GB, free: 55.84 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.5141, allocations: 3.312 kB / 1.044 GB, free: 55.84 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.761e-05/0.5142, allocations: 9.125 kB / 1.044 GB, free: 55.84 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001089/0.5143, allocations: 155 kB / 1.044 GB, free: 55.64 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.417e-05/0.5144, allocations: 31.83 kB / 1.044 GB, free: 55.62 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.679e-05/0.5144, allocations: 18.62 kB / 1.044 GB, free: 55.6 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002126/0.5165, allocations: 1.033 MB / 1.045 GB, free: 55.15 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.401e-05/0.5166, allocations: 35.97 kB / 1.045 GB, free: 55.11 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.5166, allocations: 0 / 1.045 GB, free: 55.11 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0001283/0.5167, allocations: 55 kB / 1.045 GB, free: 55.07 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.943e-05/0.5167, allocations: 52.84 kB / 1.045 GB, free: 55 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.388e-05/0.5168, allocations: 97.45 kB / 1.045 GB, free: 54.9 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.59e-06/0.5168, allocations: 29.83 kB / 1.045 GB, free: 54.87 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 1.155e-05/0.5168, allocations: 80.14 kB / 1.045 GB, free: 54.79 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.114e-05/0.5168, allocations: 11.95 kB / 1.045 GB, free: 54.78 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.184e-06/0.5168, allocations: 0 / 1.045 GB, free: 54.78 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 3.883e-05/0.5169, allocations: 315.9 kB / 1.046 GB, free: 54.46 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.211e-05/0.5169, allocations: 3.594 kB / 1.046 GB, free: 54.46 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.013e-05/0.5169, allocations: 4.719 kB / 1.046 GB, free: 54.46 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.942e-05/0.5169, allocations: 16.08 kB / 1.046 GB, free: 54.45 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.5169, allocations: 0 / 1.046 GB, free: 54.45 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.76e-05/0.517, allocations: 55.5 kB / 1.046 GB, free: 54.4 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/0.517, allocations: 10.31 kB / 1.046 GB, free: 54.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.517, allocations: 0 / 1.046 GB, free: 54.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.012e-05/0.517, allocations: 0 / 1.046 GB, free: 54.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.38e-05/0.5171, allocations: 4.5 kB / 1.046 GB, free: 54.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.5171, allocations: 0 / 1.046 GB, free: 54.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.436e-05/0.5171, allocations: 7.875 kB / 1.046 GB, free: 54.39 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.05e-06/0.5171, allocations: 1.781 kB / 1.046 GB, free: 54.39 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.054e-05/0.5172, allocations: 109.8 kB / 1.046 GB, free: 54.28 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.805e-06/0.5172, allocations: 7.938 kB / 1.046 GB, free: 54.27 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.724e-05/0.5173, allocations: 61.25 kB / 1.046 GB, free: 54.22 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.5173, allocations: 0 / 1.046 GB, free: 54.22 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.5173, allocations: 1.156 kB / 1.046 GB, free: 54.22 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.5173, allocations: 2.672 kB / 1.046 GB, free: 54.22 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.693e-05/0.5174, allocations: 155.5 kB / 1.046 GB, free: 54.03 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.5174, allocations: 0 / 1.046 GB, free: 54.03 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.553e-05/0.5174, allocations: 7.812 kB / 1.046 GB, free: 54.03 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.5174, allocations: 0 / 1.046 GB, free: 54.03 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.222e-06/0.5174, allocations: 5.469 kB / 1.046 GB, free: 54.02 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.5174, allocations: 0 / 1.046 GB, free: 54.02 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.5174, allocations: 0 / 1.046 GB, free: 54.02 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.614e-05/0.5175, allocations: 81.47 kB / 1.046 GB, free: 53.95 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 1.51e-05/0.5175, allocations: 77.11 kB / 1.046 GB, free: 53.85 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.568e-06/0.5176, allocations: 0 / 1.046 GB, free: 53.85 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.17e-05/0.5176, allocations: 0 / 1.046 GB, free: 53.85 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.659e-05/0.5176, allocations: 7.109 kB / 1.046 GB, free: 53.85 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.577e-06/0.5176, allocations: 6.281 kB / 1.046 GB, free: 53.84 MB / 0.698 GB Notification: Performance of sorting global known variables: time 1.485e-05/0.5176, allocations: 77.22 kB / 1.046 GB, free: 53.77 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5176, allocations: 0 / 1.046 GB, free: 53.77 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002107/0.5178, allocations: 25.5 kB / 1.046 GB, free: 53.77 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.0002054/0.5181, allocations: 145.5 kB / 1.047 GB, free: 53.66 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 6.641e-05/0.5181, allocations: 17.66 kB / 1.047 GB, free: 53.66 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.5181, allocations: 1.812 kB / 1.047 GB, free: 53.66 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.314e-05/0.5182, allocations: 9.625 kB / 1.047 GB, free: 53.66 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001625/0.5183, allocations: 9.906 kB / 1.047 GB, free: 53.65 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001893/0.5185, allocations: 121.4 kB / 1.047 GB, free: 53.54 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.796e-05/0.5186, allocations: 0.6717 MB / 1.047 GB, free: 52.84 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.268e-05/0.5186, allocations: 13.97 kB / 1.047 GB, free: 52.83 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.17e-05/0.5187, allocations: 8.047 kB / 1.047 GB, free: 52.82 MB / 0.698 GB Notification: Performance of SimCode: time 2.2e-07/0.5187, allocations: 0 / 1.047 GB, free: 52.82 MB / 0.698 GB Notification: Performance of Templates: time 0.002499/0.5212, allocations: 0.8786 MB / 1.048 GB, free: 52.74 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe 2>&1)