Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/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 loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.008837/0.008837, allocations: 108.1 kB / 15.05 MB, free: 6.051 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001121/0.001121, allocations: 189.8 kB / 15.95 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.028/2.028, allocations: 194.6 MB / 211.3 MB, free: 11.05 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.256/2.256, allocations: 236.2 MB / 492.6 MB, free: 11.3 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004922/0.0004923, allocations: 12 kB / 0.5869 GB, free: 2.199 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5444/0.545, allocations: 98.71 MB / 0.6833 GB, free: 16.8 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.011/1.556, allocations: 362.1 MB / 1.037 GB, free: 88.96 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002141/1.557, allocations: 76.08 kB / 1.037 GB, free: 88.92 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.03024/1.587, allocations: 11.54 MB / 1.048 GB, free: 79.95 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.599e-06/1.587, allocations: 0 / 1.048 GB, free: 79.95 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.094e-05/1.587, allocations: 0 / 1.048 GB, free: 79.95 MB / 0.7292 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.0002407/1.587, allocations: 335.3 kB / 1.049 GB, free: 79.57 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.56e-05/1.587, allocations: 11.97 kB / 1.049 GB, free: 79.56 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.784e-05/1.587, allocations: 3.953 kB / 1.049 GB, free: 79.55 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.264e-05/1.587, allocations: 167 kB / 1.049 GB, free: 79.35 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.943e-05/1.587, allocations: 29.14 kB / 1.049 GB, free: 79.32 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.404e-06/1.587, allocations: 4 kB / 1.049 GB, free: 79.32 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001232/1.587, allocations: 45.67 kB / 1.049 GB, free: 79.27 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.007e-06/1.587, allocations: 4 kB / 1.049 GB, free: 79.26 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/1.588, allocations: 0 / 1.049 GB, free: 79.26 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.648e-05/1.588, allocations: 0 / 1.049 GB, free: 79.26 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.711e-05/1.588, allocations: 15.3 kB / 1.049 GB, free: 79.25 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003396/1.588, allocations: 328.7 kB / 1.049 GB, free: 78.87 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 3.368e-05/1.588, allocations: 25.89 kB / 1.049 GB, free: 78.84 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 6.652e-05/1.588, allocations: 85.16 kB / 1.049 GB, free: 78.73 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.891e-05/1.588, allocations: 30.56 kB / 1.049 GB, free: 78.7 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=1): time 1.847e-06/1.588, allocations: 0 / 1.049 GB, free: 78.7 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1): time 0.0001343/1.588, allocations: 41.59 kB / 1.049 GB, free: 78.65 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.111e-05/1.588, allocations: 51.41 kB / 1.049 GB, free: 78.59 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.493e-05/1.588, allocations: 96.42 kB / 1.05 GB, free: 78.49 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.35e-05/1.588, allocations: 29.83 kB / 1.05 GB, free: 78.45 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.924e-05/1.588, allocations: 88.03 kB / 1.05 GB, free: 78.36 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 8.264e-06/1.588, allocations: 11.41 kB / 1.05 GB, free: 78.36 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.171e-06/1.588, allocations: 0 / 1.05 GB, free: 78.36 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 4.677e-05/1.589, allocations: 310.8 kB / 1.05 GB, free: 78.04 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.726e-05/1.589, allocations: 7.984 kB / 1.05 GB, free: 78.04 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.256e-05/1.589, allocations: 13.28 kB / 1.05 GB, free: 78.02 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.152e-05/1.589, allocations: 8 kB / 1.05 GB, free: 78.01 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/1.589, allocations: 4 kB / 1.05 GB, free: 78.01 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.571e-05/1.589, allocations: 49.12 kB / 1.05 GB, free: 77.96 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/1.589, allocations: 9.344 kB / 1.05 GB, free: 77.95 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.084e-06/1.589, allocations: 288 / 1.05 GB, free: 77.95 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/1.589, allocations: 0 / 1.05 GB, free: 77.95 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.813e-05/1.589, allocations: 8 kB / 1.05 GB, free: 77.94 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.304e-06/1.589, allocations: 3.953 kB / 1.05 GB, free: 77.94 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.353e-05/1.589, allocations: 0 / 1.05 GB, free: 77.94 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.113e-05/1.589, allocations: 12.05 kB / 1.05 GB, free: 77.93 MB / 0.7292 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 () * Number of clocked 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.439e-05/1.589, allocations: 109.3 kB / 1.05 GB, free: 77.81 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.575e-05/1.589, allocations: 7.922 kB / 1.05 GB, free: 77.8 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.199e-05/1.589, allocations: 118.6 kB / 1.05 GB, free: 77.68 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.664e-05/1.589, allocations: 180.2 kB / 1.05 GB, free: 77.5 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-05/1.589, allocations: 187.8 kB / 1.051 GB, free: 77.31 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.796e-05/1.589, allocations: 184.2 kB / 1.051 GB, free: 77.12 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001544/1.589, allocations: 405.2 kB / 1.051 GB, free: 76.67 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.837e-05/1.589, allocations: 104.6 kB / 1.051 GB, free: 76.57 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.689e-05/1.589, allocations: 105 kB / 1.051 GB, free: 76.46 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.868e-05/1.589, allocations: 180.2 kB / 1.052 GB, free: 76.27 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.962e-05/1.59, allocations: 184.3 kB / 1.052 GB, free: 76.09 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.933e-05/1.59, allocations: 184.2 kB / 1.052 GB, free: 75.9 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.599e-05/1.59, allocations: 176.3 kB / 1.052 GB, free: 75.72 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.56e-05/1.59, allocations: 311 kB / 1.052 GB, free: 75.39 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.993e-05/1.59, allocations: 189.6 kB / 1.053 GB, free: 75.19 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.313e-05/1.59, allocations: 184.2 kB / 1.053 GB, free: 75 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001261/1.59, allocations: 101 kB / 1.053 GB, free: 74.89 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.161e-05/1.59, allocations: 184.2 kB / 1.053 GB, free: 74.71 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.838e-05/1.59, allocations: 104.9 kB / 1.053 GB, free: 74.6 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.528e-05/1.59, allocations: 82.78 kB / 1.053 GB, free: 74.52 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6.34e-07/1.59, allocations: 0 / 1.053 GB, free: 74.52 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000348/1.59, allocations: 23.94 kB / 1.053 GB, free: 74.5 MB / 0.7292 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 (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.0001743/1.591, allocations: 203.3 kB / 1.053 GB, free: 74.29 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 6.242e-05/1.591, allocations: 15.25 kB / 1.053 GB, free: 74.28 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.938e-06/1.591, allocations: 0 / 1.053 GB, free: 74.28 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 3.344e-06/1.591, allocations: 3.938 kB / 1.053 GB, free: 74.27 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002485/1.591, allocations: 0.5219 MB / 1.054 GB, free: 73.75 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001984/1.591, allocations: 192 kB / 1.054 GB, free: 73.53 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001113/1.591, allocations: 0.677 MB / 1.055 GB, free: 72.83 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 4.812e-05/1.591, allocations: 4 kB / 1.055 GB, free: 72.82 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.863e-05/1.591, allocations: 11.42 kB / 1.055 GB, free: 72.81 MB / 0.7292 GB Notification: Performance of SimCode: time 1.45e-06/1.591, allocations: 3.938 kB / 1.055 GB, free: 72.81 MB / 0.7292 GB Notification: Performance of Templates: time 0.003231/1.595, allocations: 0.7788 MB / 1.056 GB, free: 72.04 MB / 0.7292 GB