Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.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.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") Notification: Performance of loadModel(Buildings): time 3.998/3.998, allocations: 432.7 MB / 445.3 MB, free: 15.64 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 2.66e-05/2.674e-05, allocations: 2.344 kB / 0.5383 GB, free: 10.27 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1743/0.1744, allocations: 98.73 MB / 0.6347 GB, free: 1.902 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 11.74/11.92, allocations: 4.66 GB / 5.295 GB, free: 280 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002722/11.92, allocations: 79.64 kB / 5.295 GB, free: 279.9 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1296/12.05, allocations: 45.05 MB / 5.339 GB, free: 236.7 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.261e-06/12.05, allocations: 0 / 5.339 GB, free: 236.7 MB / 0.823 GB Notification: Performance of Transformations before backend: time 7.847e-06/12.05, allocations: 0 / 5.339 GB, free: 236.7 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.0002602/12.05, allocations: 330.3 kB / 5.339 GB, free: 236.3 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/12.05, allocations: 12.03 kB / 5.339 GB, free: 236.3 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002487/12.05, allocations: 23.98 kB / 5.339 GB, free: 236.2 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.179e-05/12.05, allocations: 159.1 kB / 5.339 GB, free: 236.1 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.622e-05/12.05, allocations: 33.67 kB / 5.339 GB, free: 236 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.179e-05/12.05, allocations: 7.953 kB / 5.339 GB, free: 236 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001184/12.05, allocations: 41.69 kB / 5.339 GB, free: 236 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.774e-06/12.05, allocations: 3.938 kB / 5.339 GB, free: 236 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.33e-05/12.05, allocations: 0 / 5.339 GB, free: 236 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.913e-05/12.05, allocations: 8 kB / 5.339 GB, free: 235.9 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.028e-05/12.05, allocations: 19.98 kB / 5.339 GB, free: 235.9 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003513/12.05, allocations: 260.8 kB / 5.34 GB, free: 235.6 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 3.644e-05/12.05, allocations: 18.58 kB / 5.34 GB, free: 235.6 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.795e-05/12.05, allocations: 4.859 kB / 5.34 GB, free: 235.6 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 6.54e-06/12.05, allocations: 4.109 kB / 5.34 GB, free: 235.6 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.869e-05/12.05, allocations: 38.55 kB / 5.34 GB, free: 235.5 MB / 0.823 GB Notification: Performance of pre-optimization done (n=1): time 2.177e-06/12.05, allocations: 0 / 5.34 GB, free: 235.5 MB / 0.823 GB Notification: Performance of matching and sorting (n=1): time 0.0001232/12.05, allocations: 37.55 kB / 5.34 GB, free: 235.5 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.325e-05/12.05, allocations: 51.41 kB / 5.34 GB, free: 235.4 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.803e-05/12.05, allocations: 97 kB / 5.34 GB, free: 235.3 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.064e-05/12.05, allocations: 25.7 kB / 5.34 GB, free: 235.3 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 2.981e-05/12.05, allocations: 91.97 kB / 5.34 GB, free: 235.2 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 7.472e-06/12.05, allocations: 8.031 kB / 5.34 GB, free: 235.2 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.84e-06/12.05, allocations: 4 kB / 5.34 GB, free: 235.2 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 4.905e-05/12.05, allocations: 310.8 kB / 5.34 GB, free: 234.9 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.871e-05/12.05, allocations: 4 kB / 5.34 GB, free: 234.9 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.834e-05/12.05, allocations: 22.58 kB / 5.34 GB, free: 234.8 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.827e-05/12.05, allocations: 15.94 kB / 5.34 GB, free: 234.8 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.578e-06/12.05, allocations: 0 / 5.34 GB, free: 234.8 MB / 0.823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.858e-05/12.05, allocations: 57.53 kB / 5.34 GB, free: 234.8 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/12.05, allocations: 8 kB / 5.34 GB, free: 234.8 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.448e-06/12.05, allocations: 0 / 5.34 GB, free: 234.8 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/12.05, allocations: 0 / 5.34 GB, free: 234.8 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.079e-05/12.05, allocations: 11.94 kB / 5.34 GB, free: 234.8 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.831e-06/12.05, allocations: 0 / 5.34 GB, free: 234.8 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.644e-05/12.05, allocations: 0 / 5.34 GB, free: 234.8 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.518e-06/12.05, allocations: 4 kB / 5.34 GB, free: 234.7 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.225e-05/12.05, allocations: 117 kB / 5.341 GB, free: 234.6 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.541e-05/12.05, allocations: 0 / 5.341 GB, free: 234.6 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.955e-05/12.05, allocations: 11.11 kB / 5.341 GB, free: 234.6 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.859e-06/12.05, allocations: 0 / 5.341 GB, free: 234.6 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.708e-06/12.05, allocations: 0 / 5.341 GB, free: 234.6 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.113e-06/12.05, allocations: 3.938 kB / 5.341 GB, free: 234.6 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002226/12.05, allocations: 346.7 kB / 5.341 GB, free: 234.2 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.169e-06/12.05, allocations: 4.031 kB / 5.341 GB, free: 234.2 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.852e-05/12.05, allocations: 0 / 5.341 GB, free: 234.2 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.045e-06/12.05, allocations: 4 kB / 5.341 GB, free: 234.2 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.76e-06/12.05, allocations: 0 / 5.341 GB, free: 234.2 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.083e-06/12.05, allocations: 0 / 5.341 GB, free: 234.2 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.665e-06/12.05, allocations: 0 / 5.341 GB, free: 234.2 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.182e-05/12.05, allocations: 65.36 kB / 5.341 GB, free: 234.1 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 2.315e-05/12.05, allocations: 81.02 kB / 5.341 GB, free: 234 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.899e-05/12.05, allocations: 8.016 kB / 5.341 GB, free: 234 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.341e-05/12.05, allocations: 0 / 5.341 GB, free: 234 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.309e-05/12.05, allocations: 7.984 kB / 5.341 GB, free: 234 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.038e-06/12.05, allocations: 0 / 5.341 GB, free: 234 MB / 0.823 GB Notification: Performance of sorting global known variables: time 3.54e-05/12.05, allocations: 79.28 kB / 5.341 GB, free: 233.9 MB / 0.823 GB Notification: Performance of sort global known variables: time 8.11e-07/12.05, allocations: 0 / 5.341 GB, free: 233.9 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0003757/12.05, allocations: 39.98 kB / 5.341 GB, free: 233.9 MB / 0.823 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 (1): * Single equations (assignments): 1 * 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.0006279/12.05, allocations: 0.5751 MB / 5.342 GB, free: 233.3 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 8.815e-05/12.05, allocations: 8 kB / 5.342 GB, free: 233.3 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 3.181e-06/12.05, allocations: 0 / 5.342 GB, free: 233.3 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 1.166e-05/12.05, allocations: 4 kB / 5.342 GB, free: 233.3 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001706/12.05, allocations: 18.45 kB / 5.342 GB, free: 233.3 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001516/12.05, allocations: 54.11 kB / 5.342 GB, free: 233.2 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001142/12.05, allocations: 0.6809 MB / 5.342 GB, free: 232.5 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 7.799e-05/12.05, allocations: 4 kB / 5.342 GB, free: 232.5 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.854e-05/12.05, allocations: 11.38 kB / 5.342 GB, free: 232.5 MB / 0.823 GB Notification: Performance of SimCode: time 1.462e-06/12.05, allocations: 4 kB / 5.342 GB, free: 232.5 MB / 0.823 GB Notification: Performance of Templates: time 0.0157/12.07, allocations: 9.587 MB / 5.352 GB, free: 222.9 MB / 0.823 GB