Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX,fileNamePrefix="Buildings_6_0_0_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.956/3.956, allocations: 433.2 MB / 440.7 MB, free: 4.582 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.359e-05/2.365e-05, allocations: 6.734 kB / 0.5325 GB, free: 12.69 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2089/0.209, allocations: 98.73 MB / 0.6289 GB, free: 9.152 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3103/0.5193, allocations: 150.4 MB / 0.7758 GB, free: 2.547 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003097/0.5197, allocations: 79.94 kB / 0.7758 GB, free: 2.469 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.005687/0.5254, allocations: 1.605 MB / 0.7774 GB, free: 0.8594 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.623e-06/0.5254, allocations: 0 / 0.7774 GB, free: 0.8594 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 6.602e-06/0.5255, allocations: 0 / 0.7774 GB, free: 0.8594 MB / 0.6511 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.0003396/0.5258, allocations: 326.5 kB / 0.7777 GB, free: 0.4961 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.892e-05/0.5259, allocations: 12.03 kB / 0.7777 GB, free: 496 kB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.125e-05/0.5259, allocations: 0 / 0.7777 GB, free: 496 kB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001255/0.5261, allocations: 163 kB / 0.7779 GB, free: 292 kB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.283e-05/0.5262, allocations: 33.69 kB / 0.7779 GB, free: 252 kB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.117e-06/0.5262, allocations: 0 / 0.7779 GB, free: 252 kB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.827e-05/0.5262, allocations: 4 kB / 0.7779 GB, free: 248 kB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.539e-05/0.5263, allocations: 37.83 kB / 0.778 GB, free: 204 kB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.5263, allocations: 3.953 kB / 0.778 GB, free: 200 kB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.648e-06/0.5264, allocations: 4 kB / 0.778 GB, free: 196 kB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.5264, allocations: 4 kB / 0.778 GB, free: 192 kB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000205/0.5266, allocations: 126.2 kB / 0.7781 GB, free: 28 kB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.5477/1.074, allocations: 26.8 kB / 0.7781 GB, free: 150.9 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.154e-05/1.074, allocations: 10.2 kB / 0.7781 GB, free: 150.9 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002297/1.075, allocations: 89.28 kB / 0.7782 GB, free: 150.8 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.91e-05/1.075, allocations: 35.28 kB / 0.7782 GB, free: 150.8 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=3): time 3.106e-06/1.075, allocations: 0 / 0.7782 GB, free: 150.8 MB / 0.6511 GB Notification: Performance of matching and sorting (n=3): time 0.0002266/1.075, allocations: 46.77 kB / 0.7783 GB, free: 150.8 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.69e-05/1.075, allocations: 54.88 kB / 0.7783 GB, free: 150.7 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.526e-05/1.075, allocations: 87.84 kB / 0.7784 GB, free: 150.6 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.037e-05/1.075, allocations: 28.61 kB / 0.7785 GB, free: 150.6 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 1.786e-05/1.075, allocations: 82.33 kB / 0.7785 GB, free: 150.5 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.537e-05/1.075, allocations: 5.969 kB / 0.7785 GB, free: 150.5 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.03e-06/1.075, allocations: 0 / 0.7785 GB, free: 150.5 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 6.137e-05/1.075, allocations: 321.8 kB / 0.7788 GB, free: 150.2 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.788e-05/1.075, allocations: 3.75 kB / 0.7789 GB, free: 150.2 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.744e-05/1.075, allocations: 5.047 kB / 0.7789 GB, free: 150.2 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.102e-05/1.075, allocations: 8.812 kB / 0.7789 GB, free: 150.2 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/1.075, allocations: 1.281 kB / 0.7789 GB, free: 150.2 MB / 0.6511 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001183/1.075, allocations: 45.84 kB / 0.7789 GB, free: 150.1 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/1.075, allocations: 4.875 kB / 0.7789 GB, free: 150.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/1.075, allocations: 0.75 kB / 0.7789 GB, free: 150.1 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/1.076, allocations: 11.16 kB / 0.7789 GB, free: 150.1 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001055/1.076, allocations: 12.52 kB / 0.7789 GB, free: 150.1 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/1.076, allocations: 0 / 0.7789 GB, free: 150.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.952e-05/1.076, allocations: 1.703 kB / 0.7789 GB, free: 150.1 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.646e-06/1.076, allocations: 3.406 kB / 0.7789 GB, free: 150.1 MB / 0.6511 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 () * 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.239e-05/1.076, allocations: 105.4 kB / 0.779 GB, free: 150 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000105/1.076, allocations: 43.27 kB / 0.7791 GB, free: 150 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.131e-05/1.076, allocations: 7.969 kB / 0.7791 GB, free: 150 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00015/1.076, allocations: 50.08 kB / 0.7791 GB, free: 150 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/1.076, allocations: 2.531 kB / 0.7791 GB, free: 150 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/1.076, allocations: 3.5 kB / 0.7791 GB, free: 150 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/1.076, allocations: 0 / 0.7791 GB, free: 150 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.236e-05/1.076, allocations: 135.1 kB / 0.7793 GB, free: 149.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/1.076, allocations: 0 / 0.7793 GB, free: 149.8 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.797e-05/1.076, allocations: 4.875 kB / 0.7793 GB, free: 149.8 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.746e-06/1.076, allocations: 1.219 kB / 0.7793 GB, free: 149.8 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.526e-06/1.076, allocations: 5.172 kB / 0.7793 GB, free: 149.8 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/1.076, allocations: 3.156 kB / 0.7793 GB, free: 149.8 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/1.076, allocations: 2.5 kB / 0.7793 GB, free: 149.8 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001309/1.077, allocations: 75.12 kB / 0.7794 GB, free: 149.7 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.564e-05/1.077, allocations: 83.58 kB / 0.7794 GB, free: 149.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.645e-05/1.077, allocations: 3.281 kB / 0.7794 GB, free: 149.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.738e-05/1.077, allocations: 9.703 kB / 0.7795 GB, free: 149.6 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.87e-05/1.077, allocations: 3.438 kB / 0.7795 GB, free: 149.6 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.019e-06/1.077, allocations: 0 / 0.7795 GB, free: 149.6 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 2.406e-05/1.077, allocations: 78.84 kB / 0.7795 GB, free: 149.6 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.2e-07/1.077, allocations: 0 / 0.7795 GB, free: 149.6 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002542/1.077, allocations: 14.8 kB / 0.7795 GB, free: 149.6 MB / 0.6511 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 () * 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.000444/1.077, allocations: 0.6485 MB / 0.7802 GB, free: 149 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 9.467e-05/1.078, allocations: 13.81 kB / 0.7802 GB, free: 149 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/1.078, allocations: 0 / 0.7802 GB, free: 149 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 2.79e-05/1.078, allocations: 6.969 kB / 0.7802 GB, free: 149 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001975/1.078, allocations: 15.42 kB / 0.7802 GB, free: 149 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003101/1.078, allocations: 84.92 kB / 0.7803 GB, free: 148.9 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001197/1.078, allocations: 0.6793 MB / 0.781 GB, free: 148.2 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 6.342e-05/1.078, allocations: 10.84 kB / 0.781 GB, free: 148.2 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.299e-05/1.078, allocations: 9.969 kB / 0.781 GB, free: 148.2 MB / 0.6511 GB Notification: Performance of SimCode: time 2.405e-06/1.078, allocations: 0 / 0.781 GB, free: 148.2 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03511/1.114, allocations: 1.103 MB / 0.7821 GB, free: 148.1 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002537/1.114, allocations: 157.9 kB / 0.7822 GB, free: 147.9 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.247/3.361, allocations: 1.094 kB / 0.7822 GB, free: 147.9 MB / 0.6511 GB