Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Utilities.Psychrometrics.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.Examples.Density_pTX,fileNamePrefix="Buildings_6_0_0_Buildings_Utilities_Psychrometrics_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.911/3.911, allocations: 433.2 MB / 440.7 MB, free: 4.586 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.203e-05/2.202e-05, allocations: 3.594 kB / 0.5325 GB, free: 12.73 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2423/0.2424, allocations: 98.74 MB / 0.6289 GB, free: 9.152 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2792/0.5216, allocations: 150.9 MB / 0.7763 GB, free: 2.031 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002799/0.5219, allocations: 75.97 kB / 0.7763 GB, free: 1.957 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.5163/1.038, allocations: 2.09 MB / 0.7784 GB, free: 150.7 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.344e-06/1.038, allocations: 0.5938 kB / 0.7784 GB, free: 150.7 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.305e-05/1.038, allocations: 1.219 kB / 0.7784 GB, free: 150.7 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000591/1.039, allocations: 364.3 kB / 0.7787 GB, free: 150.4 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.735e-05/1.039, allocations: 9.875 kB / 0.7787 GB, free: 150.4 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.118e-05/1.039, allocations: 6.406 kB / 0.7787 GB, free: 150.4 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.421e-05/1.039, allocations: 164.6 kB / 0.7789 GB, free: 150.2 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.448e-05/1.039, allocations: 3.594 kB / 0.7789 GB, free: 150.2 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.53e-05/1.039, allocations: 1.062 kB / 0.7789 GB, free: 150.2 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001108/1.039, allocations: 20.19 kB / 0.7789 GB, free: 150.2 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001076/1.039, allocations: 47.22 kB / 0.779 GB, free: 150.2 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/1.039, allocations: 5.484 kB / 0.779 GB, free: 150.2 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/1.04, allocations: 0 / 0.779 GB, free: 150.2 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/1.04, allocations: 0 / 0.779 GB, free: 150.2 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003574/1.04, allocations: 266.7 kB / 0.7792 GB, free: 149.9 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 8.408e-05/1.04, allocations: 32.25 kB / 0.7793 GB, free: 149.9 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.567e-05/1.04, allocations: 16.31 kB / 0.7793 GB, free: 149.9 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001708/1.04, allocations: 91.45 kB / 0.7794 GB, free: 149.8 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.905e-05/1.04, allocations: 31.41 kB / 0.7794 GB, free: 149.8 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=3): time 1.744e-06/1.04, allocations: 0 / 0.7794 GB, free: 149.8 MB / 0.6511 GB Notification: Performance of matching and sorting (n=3): time 0.0002384/1.041, allocations: 60.11 kB / 0.7795 GB, free: 149.7 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.753e-05/1.041, allocations: 55.25 kB / 0.7795 GB, free: 149.7 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.218e-05/1.041, allocations: 102.7 kB / 0.7796 GB, free: 149.6 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.29e-05/1.041, allocations: 25.7 kB / 0.7796 GB, free: 149.5 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 3.62e-05/1.041, allocations: 92.17 kB / 0.7797 GB, free: 149.5 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.104e-05/1.041, allocations: 9.25 kB / 0.7797 GB, free: 149.5 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.801e-06/1.041, allocations: 0 / 0.7797 GB, free: 149.5 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 5.56e-05/1.041, allocations: 317.4 kB / 0.78 GB, free: 149.1 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.298e-05/1.041, allocations: 9.547 kB / 0.78 GB, free: 149.1 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.109e-05/1.041, allocations: 7.312 kB / 0.78 GB, free: 149.1 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.138e-05/1.041, allocations: 16.31 kB / 0.7801 GB, free: 149.1 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/1.041, allocations: 1.781 kB / 0.7801 GB, free: 149.1 MB / 0.6511 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001436/1.041, allocations: 58.61 kB / 0.7801 GB, free: 149.1 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/1.041, allocations: 5.125 kB / 0.7801 GB, free: 149.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/1.041, allocations: 7.031 kB / 0.7801 GB, free: 149.1 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/1.041, allocations: 0 / 0.7801 GB, free: 149.1 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000202/1.041, allocations: 24.88 kB / 0.7802 GB, free: 149.1 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/1.041, allocations: 7.125 kB / 0.7802 GB, free: 149.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001443/1.042, allocations: 15.53 kB / 0.7802 GB, free: 149.1 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.095e-05/1.042, allocations: 1.312 kB / 0.7802 GB, free: 149.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.329e-05/1.042, allocations: 107.6 kB / 0.7803 GB, free: 149 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001552/1.042, allocations: 51.58 kB / 0.7803 GB, free: 149 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.2e-05/1.042, allocations: 8.031 kB / 0.7803 GB, free: 149 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001841/1.042, allocations: 69.95 kB / 0.7804 GB, free: 148.9 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/1.042, allocations: 0 / 0.7804 GB, free: 148.9 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/1.042, allocations: 3.219 kB / 0.7804 GB, free: 148.9 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/1.042, allocations: 0.5625 kB / 0.7804 GB, free: 148.9 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001575/1.042, allocations: 149.7 kB / 0.7806 GB, free: 148.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/1.042, allocations: 1.344 kB / 0.7806 GB, free: 148.8 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001732/1.043, allocations: 20.25 kB / 0.7806 GB, free: 148.8 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/1.043, allocations: 0 / 0.7806 GB, free: 148.8 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.054e-05/1.043, allocations: 8.531 kB / 0.7806 GB, free: 148.8 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/1.043, allocations: 0 / 0.7806 GB, free: 148.8 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.618e-06/1.043, allocations: 3.953 kB / 0.7806 GB, free: 148.8 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000164/1.043, allocations: 147.6 kB / 0.7807 GB, free: 148.6 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 2.557e-05/1.043, allocations: 81.62 kB / 0.7808 GB, free: 148.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.916e-05/1.043, allocations: 2.562 kB / 0.7808 GB, free: 148.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001928/1.043, allocations: 18.72 kB / 0.7808 GB, free: 148.5 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.424e-05/1.043, allocations: 7.203 kB / 0.7808 GB, free: 148.5 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.578e-06/1.043, allocations: 12.41 kB / 0.7808 GB, free: 148.5 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 3.647e-05/1.043, allocations: 87.97 kB / 0.7809 GB, free: 148.4 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.91e-07/1.043, allocations: 0 / 0.7809 GB, free: 148.4 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003213/1.044, allocations: 11.89 kB / 0.7809 GB, free: 148.4 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.0004624/1.044, allocations: 0.7294 MB / 0.7816 GB, free: 147.8 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001154/1.044, allocations: 22.3 kB / 0.7817 GB, free: 147.8 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/1.044, allocations: 7.125 kB / 0.7817 GB, free: 147.8 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 4.777e-05/1.044, allocations: 10.23 kB / 0.7817 GB, free: 147.8 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002371/1.044, allocations: 11.77 kB / 0.7817 GB, free: 147.8 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004296/1.045, allocations: 107.4 kB / 0.7818 GB, free: 147.7 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001442/1.045, allocations: 0.6866 MB / 0.7825 GB, free: 147 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 5.438e-05/1.045, allocations: 4.859 kB / 0.7825 GB, free: 147 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.072e-05/1.045, allocations: 15.66 kB / 0.7825 GB, free: 147 MB / 0.6511 GB Notification: Performance of SimCode: time 7.11e-07/1.045, allocations: 0 / 0.7825 GB, free: 147 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03464/1.08, allocations: 1.542 MB / 0.784 GB, free: 146.9 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002139/1.08, allocations: 144.7 kB / 0.7841 GB, free: 146.7 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.176/3.256, allocations: 4 kB / 0.7841 GB, free: 146.7 MB / 0.6511 GB