Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.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.Utilities.Psychrometrics.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure") translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.35/2.35, allocations: 254.9 MB / 269.9 MB, free: 9.641 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.001381/0.00138, allocations: 186.9 kB / 329.5 MB, free: 1.172 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.543/2.543, allocations: 225.6 MB / 0.6001 GB, free: 2.258 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.0009826/0.000982, allocations: 94.31 kB / 0.7074 GB, free: 7.98 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0004944/0.0004947, allocations: 10.47 kB / 0.8242 GB, free: 124.4 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2115/0.212, allocations: 109.1 MB / 0.9308 GB, free: 25.16 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.001655/0.2137, allocations: 1.135 MB / 0.9319 GB, free: 24.01 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001009/0.2147, allocations: 0.5543 MB / 0.9324 GB, free: 23.45 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.009e-05/0.2148, allocations: 0 / 0.9324 GB, free: 23.45 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.434e-05/0.2148, allocations: 0 / 0.9324 GB, free: 23.45 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.475e-05/0.2149, allocations: 11.92 kB / 0.9324 GB, free: 23.44 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003821/0.2153, allocations: 79.7 kB / 0.9325 GB, free: 23.36 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 5.895e-05/0.2154, allocations: 19.92 kB / 0.9325 GB, free: 23.34 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 7.81e-05/0.2154, allocations: 8 kB / 0.9325 GB, free: 23.34 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 3.941e-05/0.2155, allocations: 7.938 kB / 0.9325 GB, free: 23.33 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 4.754e-05/0.2155, allocations: 11.98 kB / 0.9325 GB, free: 23.32 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.227e-05/0.2156, allocations: 3.938 kB / 0.9325 GB, free: 23.31 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003384/0.2159, allocations: 151.7 kB / 0.9327 GB, free: 23.16 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 9.067e-06/0.2159, allocations: 4 kB / 0.9327 GB, free: 23.16 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.107e-05/0.216, allocations: 29.64 kB / 0.9327 GB, free: 23.12 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001758/0.2162, allocations: 72.12 kB / 0.9328 GB, free: 23.05 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.2162, allocations: 0 / 0.9328 GB, free: 23.05 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.834e-06/0.2162, allocations: 0 / 0.9328 GB, free: 23.05 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.088e-06/0.2162, allocations: 0 / 0.9328 GB, free: 23.05 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.0005085/0.2167, allocations: 359.5 kB / 0.9331 GB, free: 22.65 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.2168, allocations: 8.031 kB / 0.9331 GB, free: 22.64 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006056/0.2174, allocations: 32.83 kB / 0.9332 GB, free: 22.61 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.218e-05/0.2175, allocations: 164.3 kB / 0.9333 GB, free: 22.41 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.478e-05/0.2175, allocations: 4.375 kB / 0.9333 GB, free: 22.41 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.561e-05/0.2175, allocations: 384 / 0.9333 GB, free: 22.41 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003272/0.2179, allocations: 74.2 kB / 0.9334 GB, free: 22.33 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.338e-06/0.2179, allocations: 192 / 0.9334 GB, free: 22.33 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.493e-05/0.2179, allocations: 3.938 kB / 0.9334 GB, free: 22.33 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.2179, allocations: 0 / 0.9334 GB, free: 22.33 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004433/0.2184, allocations: 71.88 kB / 0.9335 GB, free: 22.26 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005095/0.2189, allocations: 276.9 kB / 0.9337 GB, free: 21.94 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003467/0.2193, allocations: 66.47 kB / 0.9338 GB, free: 21.86 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002231/0.2195, allocations: 36.89 kB / 0.9338 GB, free: 21.82 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.499e-05/0.2195, allocations: 0 / 0.9338 GB, free: 21.82 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.867e-05/0.2196, allocations: 34.56 kB / 0.9339 GB, free: 21.78 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 1.884e-06/0.2196, allocations: 3.984 kB / 0.9339 GB, free: 21.78 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.000786/0.2204, allocations: 133.5 kB / 0.934 GB, free: 21.64 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.655e-05/0.2204, allocations: 55.41 kB / 0.934 GB, free: 21.57 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.26e-05/0.2205, allocations: 97.86 kB / 0.9341 GB, free: 21.47 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.458e-05/0.2205, allocations: 25.7 kB / 0.9342 GB, free: 21.44 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.147e-05/0.2206, allocations: 88.08 kB / 0.9343 GB, free: 21.35 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.078e-05/0.2206, allocations: 12.02 kB / 0.9343 GB, free: 21.34 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.085e-06/0.2206, allocations: 0 / 0.9343 GB, free: 21.34 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 5.827e-05/0.2207, allocations: 314.8 kB / 0.9346 GB, free: 21.02 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002186/0.2209, allocations: 27.97 kB / 0.9346 GB, free: 20.99 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002138/0.2212, allocations: 35.97 kB / 0.9346 GB, free: 20.96 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002198/0.2214, allocations: 27.98 kB / 0.9347 GB, free: 20.93 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.2214, allocations: 3.984 kB / 0.9347 GB, free: 20.93 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004939/0.2219, allocations: 105.6 kB / 0.9348 GB, free: 20.82 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.335e-05/0.2219, allocations: 8 kB / 0.9348 GB, free: 20.81 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.222, allocations: 0 / 0.9348 GB, free: 20.81 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.982e-05/0.222, allocations: 0 / 0.9348 GB, free: 20.81 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002061/0.2222, allocations: 16.02 kB / 0.9348 GB, free: 20.79 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.714e-06/0.2222, allocations: 11.92 kB / 0.9348 GB, free: 20.78 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001544/0.2224, allocations: 11.91 kB / 0.9348 GB, free: 20.77 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.446e-05/0.2224, allocations: 11.92 kB / 0.9348 GB, free: 20.76 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 (2): * Single equations (assignments): 2 * 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.853e-05/0.2225, allocations: 109.8 kB / 0.9349 GB, free: 20.64 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.202e-05/0.2225, allocations: 0 / 0.9349 GB, free: 20.64 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.263e-05/0.2226, allocations: 15.12 kB / 0.9349 GB, free: 20.62 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.2226, allocations: 0 / 0.9349 GB, free: 20.62 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.2226, allocations: 0 / 0.9349 GB, free: 20.62 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.2226, allocations: 0 / 0.9349 GB, free: 20.62 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000169/0.2228, allocations: 169.6 kB / 0.9351 GB, free: 20.41 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.2228, allocations: 0 / 0.9351 GB, free: 20.41 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001798/0.223, allocations: 15.97 kB / 0.9351 GB, free: 20.39 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.223, allocations: 0 / 0.9351 GB, free: 20.39 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.203e-05/0.223, allocations: 8 kB / 0.9351 GB, free: 20.38 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.035e-06/0.2231, allocations: 0 / 0.9351 GB, free: 20.38 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.2231, allocations: 3.938 kB / 0.9351 GB, free: 20.38 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005202/0.2236, allocations: 199.4 kB / 0.9353 GB, free: 20.17 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 2.52e-05/0.2236, allocations: 77.11 kB / 0.9354 GB, free: 20.07 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.111e-05/0.2237, allocations: 0 / 0.9354 GB, free: 20.07 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001874/0.2239, allocations: 11.98 kB / 0.9354 GB, free: 20.06 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.931e-05/0.2239, allocations: 4 kB / 0.9354 GB, free: 20.06 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.055e-05/0.2239, allocations: 4 kB / 0.9354 GB, free: 20.05 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.903e-05/0.224, allocations: 83.3 kB / 0.9355 GB, free: 19.97 MB / 0.5886 GB Notification: Performance of sort global known variables: time 3.41e-07/0.224, allocations: 0 / 0.9355 GB, free: 19.97 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0003007/0.2243, allocations: 12 kB / 0.9355 GB, free: 19.96 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 (2): * Single equations (assignments): 2 * 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.0001815/0.2245, allocations: 115.2 kB / 0.9356 GB, free: 19.84 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0004961/0.225, allocations: 75.88 kB / 0.9357 GB, free: 19.77 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.225, allocations: 0 / 0.9357 GB, free: 19.77 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0002326/0.2253, allocations: 35.97 kB / 0.9357 GB, free: 19.73 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003183/0.2256, allocations: 12 kB / 0.9357 GB, free: 19.72 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005429/0.2261, allocations: 144.4 kB / 0.9359 GB, free: 19.55 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000128/0.2263, allocations: 0.677 MB / 0.9365 GB, free: 18.85 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0001438/0.2264, allocations: 15.94 kB / 0.9365 GB, free: 18.83 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.831e-05/0.2265, allocations: 11.44 kB / 0.9365 GB, free: 18.82 MB / 0.5886 GB Notification: Performance of SimCode: time 6.31e-07/0.2265, allocations: 0 / 0.9365 GB, free: 18.82 MB / 0.5886 GB Notification: Performance of Templates: time 0.003365/0.2299, allocations: 0.697 MB / 0.9372 GB, free: 18.13 MB / 0.5886 GB make -j1 -f Buildings_7.0.0_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.makefile (rm -f Buildings_7.0.0_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo Buildings_7.0.0_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/Buildings_7.0.0_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.sim & ./Buildings_7.0.0_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1)