Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.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.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") Notification: Performance of loadModel(Buildings): time 4.09/4.09, allocations: 432.7 MB / 445.3 MB, free: 15.77 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.467e-05/3.505e-05, allocations: 4.906 kB / 0.5383 GB, free: 10.32 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1741/0.1741, allocations: 98.72 MB / 0.6347 GB, free: 1.957 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9431/1.117, allocations: 362 MB / 0.9882 GB, free: 192 kB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002248/1.118, allocations: 73.38 kB / 0.9883 GB, free: 152 kB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.03609/1.154, allocations: 11.47 MB / 0.9995 GB, free: 7.285 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.173e-06/1.154, allocations: 7.938 kB / 0.9995 GB, free: 7.277 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.058e-05/1.154, allocations: 0 / 0.9995 GB, free: 7.277 MB / 0.7448 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.0003645/1.154, allocations: 330.2 kB / 0.9998 GB, free: 6.914 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.56e-05/1.154, allocations: 8.031 kB / 0.9998 GB, free: 6.906 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.218e-05/1.154, allocations: 11.94 kB / 0.9999 GB, free: 6.895 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001318/1.154, allocations: 163 kB / 1 GB, free: 6.695 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.483e-05/1.154, allocations: 29.69 kB / 1 GB, free: 6.66 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.539e-05/1.155, allocations: 4 kB / 1 GB, free: 6.656 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001162/1.155, allocations: 41.56 kB / 1 GB, free: 6.613 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.455e-06/1.155, allocations: 4 kB / 1 GB, free: 6.609 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/1.155, allocations: 0 / 1 GB, free: 6.609 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.648e-05/1.155, allocations: 0 / 1 GB, free: 6.609 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.287e-05/1.155, allocations: 15.98 kB / 1 GB, free: 6.594 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004906/1.155, allocations: 337.2 kB / 1 GB, free: 6.207 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 4.194e-05/1.155, allocations: 18.58 kB / 1 GB, free: 6.18 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.918e-05/1.155, allocations: 8.859 kB / 1 GB, free: 6.168 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001092/1.155, allocations: 89.16 kB / 1.001 GB, free: 6.062 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.927e-05/1.156, allocations: 30.56 kB / 1.001 GB, free: 6.023 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=1): time 2.043e-06/1.156, allocations: 0 / 1.001 GB, free: 6.023 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1): time 0.0001449/1.156, allocations: 37.59 kB / 1.001 GB, free: 5.98 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.041e-05/1.156, allocations: 51.41 kB / 1.001 GB, free: 5.918 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.048e-05/1.156, allocations: 100.8 kB / 1.001 GB, free: 5.816 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.979e-05/1.156, allocations: 29.73 kB / 1.001 GB, free: 5.781 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.875e-05/1.156, allocations: 88.05 kB / 1.001 GB, free: 5.691 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.118e-05/1.156, allocations: 3.906 kB / 1.001 GB, free: 5.688 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.601e-06/1.156, allocations: 3.812 kB / 1.001 GB, free: 5.688 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001548/1.156, allocations: 310.8 kB / 1.001 GB, free: 5.375 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.889e-05/1.156, allocations: 4 kB / 1.001 GB, free: 5.371 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.958e-05/1.156, allocations: 17.89 kB / 1.001 GB, free: 5.348 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.797e-05/1.156, allocations: 11.31 kB / 1.001 GB, free: 5.34 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.181e-06/1.156, allocations: 0 / 1.001 GB, free: 5.34 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001078/1.156, allocations: 45.62 kB / 1.001 GB, free: 5.289 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/1.156, allocations: 9.406 kB / 1.001 GB, free: 5.281 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.732e-06/1.156, allocations: 0 / 1.001 GB, free: 5.281 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/1.156, allocations: 96 / 1.001 GB, free: 5.281 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.724e-05/1.157, allocations: 11.67 kB / 1.001 GB, free: 5.273 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.151e-05/1.157, allocations: 3.953 kB / 1.001 GB, free: 5.27 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.775e-05/1.157, allocations: 4 kB / 1.001 GB, free: 5.266 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.101e-05/1.157, allocations: 4.062 kB / 1.001 GB, free: 5.262 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 7.771e-05/1.157, allocations: 101 kB / 1.001 GB, free: 5.156 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.78e-05/1.157, allocations: 7.984 kB / 1.001 GB, free: 5.148 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000144/1.157, allocations: 128.7 kB / 1.001 GB, free: 5.02 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.481e-05/1.157, allocations: 180.2 kB / 1.002 GB, free: 4.836 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.071e-05/1.157, allocations: 184.2 kB / 1.002 GB, free: 4.648 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.061e-05/1.157, allocations: 184.3 kB / 1.002 GB, free: 4.461 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003079/1.158, allocations: 408.7 kB / 1.002 GB, free: 4.008 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.265e-05/1.158, allocations: 104.9 kB / 1.003 GB, free: 3.898 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.447e-05/1.158, allocations: 105 kB / 1.003 GB, free: 3.789 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.114e-05/1.158, allocations: 180.2 kB / 1.003 GB, free: 3.605 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.675e-05/1.158, allocations: 180.3 kB / 1.003 GB, free: 3.422 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.392e-05/1.158, allocations: 176.3 kB / 1.003 GB, free: 3.242 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.959e-05/1.158, allocations: 191.7 kB / 1.003 GB, free: 3.051 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001853/1.158, allocations: 307.6 kB / 1.004 GB, free: 2.727 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001216/1.158, allocations: 191.6 kB / 1.004 GB, free: 2.52 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001034/1.158, allocations: 180.2 kB / 1.004 GB, free: 2.336 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001767/1.159, allocations: 105 kB / 1.004 GB, free: 2.227 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.232e-05/1.159, allocations: 176.3 kB / 1.004 GB, free: 2.047 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.694e-05/1.159, allocations: 112.8 kB / 1.004 GB, free: 1.93 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 7.063e-05/1.159, allocations: 87.03 kB / 1.004 GB, free: 1.848 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7.31e-07/1.159, allocations: 4 kB / 1.004 GB, free: 1.844 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003437/1.159, allocations: 19.94 kB / 1.004 GB, free: 1.824 MB / 0.7448 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 (0): * Single equations (assignments): 0 * 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.0002642/1.16, allocations: 213.2 kB / 1.005 GB, free: 1.613 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 7.551e-05/1.16, allocations: 11.98 kB / 1.005 GB, free: 1.602 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.011e-06/1.16, allocations: 0 / 1.005 GB, free: 1.602 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 7.604e-06/1.16, allocations: 7.938 kB / 1.005 GB, free: 1.594 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004323/1.16, allocations: 0.5183 MB / 1.005 GB, free: 1.074 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001911/1.16, allocations: 130.6 kB / 1.005 GB, free: 0.9258 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003345/1.161, allocations: 0.6731 MB / 1.006 GB, free: 232 kB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.48e-05/1.161, allocations: 4 kB / 1.006 GB, free: 228 kB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.57e-05/1.161, allocations: 15.42 kB / 1.006 GB, free: 212 kB / 0.7448 GB Notification: Performance of SimCode: time 1.485e-06/1.161, allocations: 0 / 1.006 GB, free: 212 kB / 0.7448 GB Notification: Performance of Templates: time 0.003698/1.165, allocations: 0.8275 MB / 1.007 GB, free: 15.39 MB / 0.7605 GB