Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX") Notification: Performance of loadModel(Buildings): time 4.342/4.342, allocations: 432.7 MB / 445.3 MB, free: 15.64 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.198e-05/3.21e-05, allocations: 4.562 kB / 0.5383 GB, free: 10.3 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1794/0.1794, allocations: 98.73 MB / 0.6347 GB, free: 1.887 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7464/0.9259, allocations: 151 MB / 0.7822 GB, free: 60.63 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002472/0.9262, allocations: 77.45 kB / 0.7823 GB, free: 60.63 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.005221/0.9315, allocations: 1.616 MB / 0.7839 GB, free: 60.24 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.971e-06/0.9315, allocations: 0 / 0.7839 GB, free: 60.24 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 6.691e-06/0.9315, allocations: 0.8438 kB / 0.7839 GB, free: 60.24 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.0002323/0.9318, allocations: 320.2 kB / 0.7842 GB, free: 59.9 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.9318, allocations: 8.281 kB / 0.7842 GB, free: 59.9 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.264e-05/0.9319, allocations: 10.67 kB / 0.7842 GB, free: 59.89 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.646e-05/0.932, allocations: 170.1 kB / 0.7844 GB, free: 59.69 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.151e-05/0.932, allocations: 31.64 kB / 0.7844 GB, free: 59.66 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.294e-05/0.9321, allocations: 2.062 kB / 0.7844 GB, free: 59.66 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.496e-05/0.9322, allocations: 32.94 kB / 0.7844 GB, free: 59.62 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.379e-06/0.9322, allocations: 0 / 0.7844 GB, free: 59.62 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.9322, allocations: 6.125 kB / 0.7844 GB, free: 59.62 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.911e-06/0.9322, allocations: 9.109 kB / 0.7845 GB, free: 59.62 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.864e-05/0.9323, allocations: 5.781 kB / 0.7845 GB, free: 59.62 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001243/0.9324, allocations: 160 kB / 0.7846 GB, free: 59.43 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 6.748e-05/0.9325, allocations: 31.94 kB / 0.7846 GB, free: 59.4 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.838e-05/0.9325, allocations: 12.23 kB / 0.7847 GB, free: 59.39 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001434/0.9327, allocations: 88.98 kB / 0.7847 GB, free: 59.3 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.439e-05/0.9327, allocations: 32.64 kB / 0.7848 GB, free: 59.26 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=3): time 2.183e-06/0.9327, allocations: 4 kB / 0.7848 GB, free: 59.25 MB / 0.6511 GB Notification: Performance of matching and sorting (n=3): time 0.0001295/0.9329, allocations: 41.77 kB / 0.7848 GB, free: 59.22 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.193e-05/0.9329, allocations: 56.45 kB / 0.7849 GB, free: 59.16 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.444e-05/0.933, allocations: 94.36 kB / 0.785 GB, free: 59.07 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 9.852e-06/0.933, allocations: 30.64 kB / 0.785 GB, free: 59.03 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 1.551e-05/0.933, allocations: 80.14 kB / 0.7851 GB, free: 58.95 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.283e-05/0.933, allocations: 9.672 kB / 0.7851 GB, free: 58.94 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.706e-06/0.9331, allocations: 0.9375 kB / 0.7851 GB, free: 58.94 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 5.222e-05/0.9331, allocations: 321.6 kB / 0.7854 GB, free: 58.62 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.146e-05/0.9332, allocations: 2.906 kB / 0.7854 GB, free: 58.62 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.682e-05/0.9332, allocations: 2.906 kB / 0.7854 GB, free: 58.62 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.459e-05/0.9332, allocations: 7.734 kB / 0.7854 GB, free: 58.62 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.549e-06/0.9332, allocations: 0 / 0.7854 GB, free: 58.62 MB / 0.6511 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.979e-05/0.9333, allocations: 39.88 kB / 0.7854 GB, free: 58.59 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.9334, allocations: 4.906 kB / 0.7854 GB, free: 58.59 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.712e-06/0.9334, allocations: 4.688 kB / 0.7854 GB, free: 58.59 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.9334, allocations: 0.6562 kB / 0.7854 GB, free: 58.59 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.582e-05/0.9335, allocations: 9.203 kB / 0.7854 GB, free: 58.59 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.9335, allocations: 5.406 kB / 0.7855 GB, free: 58.59 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.165e-05/0.9336, allocations: 6.516 kB / 0.7855 GB, free: 58.59 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.876e-06/0.9336, allocations: 5.094 kB / 0.7855 GB, free: 58.58 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 4.8e-05/0.9336, allocations: 103.2 kB / 0.7856 GB, free: 58.48 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.356e-05/0.9337, allocations: 5.484 kB / 0.7856 GB, free: 58.47 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001308/0.9338, allocations: 50.34 kB / 0.7856 GB, free: 58.44 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.835e-06/0.9338, allocations: 1 kB / 0.7856 GB, free: 58.44 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.884e-06/0.9338, allocations: 0 / 0.7856 GB, free: 58.44 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.9338, allocations: 1.828 kB / 0.7856 GB, free: 58.44 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.458e-05/0.9339, allocations: 160.3 kB / 0.7858 GB, free: 58.24 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.989e-06/0.934, allocations: 1.062 kB / 0.7858 GB, free: 58.24 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.878e-05/0.934, allocations: 6.312 kB / 0.7858 GB, free: 58.24 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.252e-06/0.934, allocations: 0 / 0.7858 GB, free: 58.24 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.517e-06/0.9341, allocations: 0.8125 kB / 0.7858 GB, free: 58.24 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.229e-06/0.9341, allocations: 1.656 kB / 0.7858 GB, free: 58.24 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.884e-06/0.9341, allocations: 3.938 kB / 0.7858 GB, free: 58.24 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.78e-05/0.9342, allocations: 76.53 kB / 0.7859 GB, free: 58.17 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.268e-05/0.9342, allocations: 88.83 kB / 0.7859 GB, free: 58.07 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.421e-05/0.9343, allocations: 0 / 0.7859 GB, free: 58.07 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.104e-05/0.9343, allocations: 2.797 kB / 0.7859 GB, free: 58.07 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.795e-05/0.9344, allocations: 3.312 kB / 0.7859 GB, free: 58.07 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.025e-06/0.9344, allocations: 1.125 kB / 0.7859 GB, free: 58.07 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 2.591e-05/0.9344, allocations: 81.8 kB / 0.786 GB, free: 57.99 MB / 0.6511 GB Notification: Performance of sort global known variables: time 7.19e-07/0.9344, allocations: 0 / 0.786 GB, free: 57.99 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002653/0.9347, allocations: 17.86 kB / 0.786 GB, free: 57.98 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.0002123/0.9349, allocations: 144 kB / 0.7862 GB, free: 57.89 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 9.207e-05/0.935, allocations: 17.97 kB / 0.7862 GB, free: 57.88 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.9351, allocations: 3.984 kB / 0.7862 GB, free: 57.88 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 2.852e-05/0.9351, allocations: 8.969 kB / 0.7862 GB, free: 57.88 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001737/0.9353, allocations: 8.906 kB / 0.7862 GB, free: 57.88 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001639/0.9355, allocations: 56.55 kB / 0.7863 GB, free: 57.82 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001081/0.9356, allocations: 0.6785 MB / 0.7869 GB, free: 57.12 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 5.692e-05/0.9356, allocations: 6.094 kB / 0.7869 GB, free: 57.12 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.113e-05/0.9357, allocations: 10.05 kB / 0.7869 GB, free: 57.11 MB / 0.6511 GB Notification: Performance of SimCode: time 1.386e-06/0.9357, allocations: 0 / 0.7869 GB, free: 57.11 MB / 0.6511 GB Notification: Performance of Templates: time 0.004001/0.9397, allocations: 1.022 MB / 0.7879 GB, free: 56.99 MB / 0.6511 GB