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.AirTemperatureEnthalpyInversion.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.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion") Notification: Performance of loadModel(Buildings): time 3.811/3.811, allocations: 432.7 MB / 445.3 MB, free: 15.72 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.085e-05/3.105e-05, allocations: 3.859 kB / 0.5383 GB, free: 10.28 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1808/0.1809, allocations: 98.72 MB / 0.6347 GB, free: 1.934 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.769/5.95, allocations: 2.167 GB / 2.802 GB, free: 151.4 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003544/5.95, allocations: 73.84 kB / 2.802 GB, free: 151.3 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1728/6.123, allocations: 36.54 MB / 2.838 GB, free: 120.9 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.701e-06/6.123, allocations: 0 / 2.838 GB, free: 120.9 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.555e-06/6.123, allocations: 0 / 2.838 GB, free: 120.9 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0002558/6.124, allocations: 337.8 kB / 2.838 GB, free: 120.5 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/6.124, allocations: 8.031 kB / 2.838 GB, free: 120.5 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003275/6.124, allocations: 27.97 kB / 2.838 GB, free: 120.5 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.668e-05/6.124, allocations: 159.1 kB / 2.838 GB, free: 120.3 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.259e-05/6.124, allocations: 33.69 kB / 2.838 GB, free: 120.3 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.06e-05/6.124, allocations: 3.688 kB / 2.838 GB, free: 120.3 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001109/6.124, allocations: 41.69 kB / 2.839 GB, free: 120.2 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.879e-06/6.124, allocations: 0 / 2.839 GB, free: 120.2 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.6e-05/6.124, allocations: 7.516 kB / 2.839 GB, free: 120.2 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.799e-05/6.124, allocations: 0 / 2.839 GB, free: 120.2 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.675e-05/6.124, allocations: 23.48 kB / 2.839 GB, free: 120.2 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003024/6.125, allocations: 255.7 kB / 2.839 GB, free: 119.9 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 5.03e-05/6.125, allocations: 25.98 kB / 2.839 GB, free: 119.9 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.266e-05/6.125, allocations: 8.922 kB / 2.839 GB, free: 119.9 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001385/6.125, allocations: 93.05 kB / 2.839 GB, free: 119.8 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.874e-05/6.125, allocations: 41.75 kB / 2.839 GB, free: 119.7 MB / 0.823 GB Notification: Performance of pre-optimization done (n=2): time 2.435e-06/6.125, allocations: 0 / 2.839 GB, free: 119.7 MB / 0.823 GB Notification: Performance of matching and sorting (n=2): time 0.0002302/6.125, allocations: 49.53 kB / 2.839 GB, free: 119.7 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.214e-05/6.125, allocations: 51.41 kB / 2.839 GB, free: 119.6 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.967e-05/6.125, allocations: 92.62 kB / 2.839 GB, free: 119.5 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.187e-05/6.125, allocations: 25.7 kB / 2.839 GB, free: 119.5 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 2.708e-05/6.125, allocations: 84.17 kB / 2.839 GB, free: 119.4 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.299e-05/6.125, allocations: 19.33 kB / 2.839 GB, free: 119.4 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.847e-06/6.126, allocations: 0 / 2.839 GB, free: 119.4 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 4.792e-05/6.126, allocations: 310.8 kB / 2.84 GB, free: 119.1 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.944e-05/6.126, allocations: 4 kB / 2.84 GB, free: 119.1 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.78e-05/6.126, allocations: 22.52 kB / 2.84 GB, free: 119 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.926e-05/6.126, allocations: 11.98 kB / 2.84 GB, free: 119 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.153e-06/6.126, allocations: 3.938 kB / 2.84 GB, free: 119 MB / 0.823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.694e-05/6.126, allocations: 52.98 kB / 2.84 GB, free: 119 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/6.126, allocations: 11.95 kB / 2.84 GB, free: 118.9 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.43e-06/6.126, allocations: 4.078 kB / 2.84 GB, free: 118.9 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/6.126, allocations: 3.984 kB / 2.84 GB, free: 118.9 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.84e-05/6.126, allocations: 11.94 kB / 2.84 GB, free: 118.9 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.265e-06/6.126, allocations: 0 / 2.84 GB, free: 118.9 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.73e-05/6.126, allocations: 0 / 2.84 GB, free: 118.9 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.36e-06/6.126, allocations: 11.97 kB / 2.84 GB, free: 118.9 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.47e-05/6.126, allocations: 101 kB / 2.84 GB, free: 118.8 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.727e-05/6.126, allocations: 4 kB / 2.84 GB, free: 118.8 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.06e-05/6.126, allocations: 11.02 kB / 2.84 GB, free: 118.8 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.92e-06/6.126, allocations: 0 / 2.84 GB, free: 118.8 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.756e-06/6.126, allocations: 0 / 2.84 GB, free: 118.8 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.175e-06/6.126, allocations: 4 kB / 2.84 GB, free: 118.8 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002504/6.126, allocations: 362.5 kB / 2.84 GB, free: 118.4 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.32e-06/6.126, allocations: 7.953 kB / 2.84 GB, free: 118.4 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.164e-05/6.127, allocations: 0 / 2.84 GB, free: 118.4 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.027e-06/6.127, allocations: 4 kB / 2.84 GB, free: 118.4 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.932e-06/6.127, allocations: 0 / 2.84 GB, free: 118.4 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.137e-06/6.127, allocations: 0 / 2.84 GB, free: 118.4 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.821e-06/6.127, allocations: 0 / 2.84 GB, free: 118.4 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.313e-05/6.127, allocations: 98.5 kB / 2.84 GB, free: 118.3 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 1.803e-05/6.127, allocations: 77.11 kB / 2.84 GB, free: 118.2 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.73e-05/6.127, allocations: 0 / 2.84 GB, free: 118.2 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.93e-05/6.127, allocations: 7.984 kB / 2.84 GB, free: 118.2 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.266e-05/6.127, allocations: 0 / 2.84 GB, free: 118.2 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.861e-06/6.127, allocations: 0 / 2.84 GB, free: 118.2 MB / 0.823 GB Notification: Performance of sorting global known variables: time 2.976e-05/6.127, allocations: 82.66 kB / 2.84 GB, free: 118.1 MB / 0.823 GB Notification: Performance of sort global known variables: time 8.62e-07/6.127, allocations: 4.031 kB / 2.84 GB, free: 118.1 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0003613/6.127, allocations: 40.55 kB / 2.84 GB, free: 118.1 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.0006107/6.128, allocations: 0.5503 MB / 2.841 GB, free: 117.5 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 8.409e-05/6.128, allocations: 19.38 kB / 2.841 GB, free: 117.5 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/6.128, allocations: 0 / 2.841 GB, free: 117.5 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 1.864e-05/6.128, allocations: 4 kB / 2.841 GB, free: 117.5 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001623/6.128, allocations: 15.33 kB / 2.841 GB, free: 117.5 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001656/6.128, allocations: 67.03 kB / 2.841 GB, free: 117.4 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001093/6.129, allocations: 0.6809 MB / 2.842 GB, free: 116.7 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 8.068e-05/6.129, allocations: 0 / 2.842 GB, free: 116.7 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.037e-05/6.129, allocations: 15.38 kB / 2.842 GB, free: 116.7 MB / 0.823 GB Notification: Performance of SimCode: time 1.447e-06/6.129, allocations: 4 kB / 2.842 GB, free: 116.7 MB / 0.823 GB Notification: Performance of Templates: time 0.01517/6.144, allocations: 9.234 MB / 2.851 GB, free: 107.4 MB / 0.823 GB