Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.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.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 loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01416/0.01416, allocations: 110.1 kB / 15.05 MB, free: 6.031 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.001746/0.001746, allocations: 189.3 kB / 15.95 MB, free: 5.965 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.012/2.012, allocations: 194.6 MB / 211.3 MB, free: 11.07 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.151/2.151, allocations: 236.2 MB / 492.6 MB, free: 11.42 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004644/0.0004649, allocations: 16 kB / 0.5869 GB, free: 2.164 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5455/0.546, allocations: 98.7 MB / 0.6833 GB, free: 16.82 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 12.18/12.73, allocations: 4.655 GB / 5.338 GB, free: 223.3 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002582/12.73, allocations: 87.11 kB / 5.338 GB, free: 223.3 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1268/12.86, allocations: 45.15 MB / 5.382 GB, free: 199.8 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.276e-06/12.86, allocations: 0 / 5.382 GB, free: 199.8 MB / 0.823 GB Notification: Performance of Transformations before backend: time 7.33e-06/12.86, allocations: 0 / 5.382 GB, free: 199.8 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.0002691/12.86, allocations: 343.2 kB / 5.383 GB, free: 199.4 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/12.86, allocations: 8.031 kB / 5.383 GB, free: 199.4 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002358/12.86, allocations: 19.98 kB / 5.383 GB, free: 199.3 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.028e-05/12.86, allocations: 166.9 kB / 5.383 GB, free: 199.1 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.055e-05/12.86, allocations: 29.7 kB / 5.383 GB, free: 199.1 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.335e-05/12.86, allocations: 3.953 kB / 5.383 GB, free: 199.1 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001409/12.86, allocations: 53.47 kB / 5.383 GB, free: 199 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.471e-06/12.86, allocations: 0 / 5.383 GB, free: 199 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.243e-05/12.86, allocations: 0 / 5.383 GB, free: 199 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.75e-05/12.86, allocations: 7.875 kB / 5.383 GB, free: 199 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.072e-05/12.86, allocations: 23.86 kB / 5.383 GB, free: 199 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003331/12.86, allocations: 256.6 kB / 5.383 GB, free: 198.7 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 3.553e-05/12.86, allocations: 14.58 kB / 5.383 GB, free: 198.7 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 6.004e-06/12.86, allocations: 64 / 5.383 GB, free: 198.7 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.649e-05/12.86, allocations: 42.55 kB / 5.383 GB, free: 198.7 MB / 0.823 GB Notification: Performance of pre-optimization done (n=1): time 1.746e-06/12.86, allocations: 0 / 5.383 GB, free: 198.7 MB / 0.823 GB Notification: Performance of matching and sorting (n=1): time 0.0001348/12.86, allocations: 37.55 kB / 5.383 GB, free: 198.6 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.393e-05/12.86, allocations: 55.09 kB / 5.383 GB, free: 198.5 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.866e-05/12.86, allocations: 96.98 kB / 5.383 GB, free: 198.4 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.035e-05/12.86, allocations: 25.7 kB / 5.383 GB, free: 198.4 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 2.881e-05/12.86, allocations: 87.8 kB / 5.384 GB, free: 198.3 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 7.18e-06/12.86, allocations: 4 kB / 5.384 GB, free: 198.3 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.502e-06/12.86, allocations: 0 / 5.384 GB, free: 198.3 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 4.921e-05/12.86, allocations: 319.4 kB / 5.384 GB, free: 198 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.939e-05/12.86, allocations: 7.75 kB / 5.384 GB, free: 198 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.657e-05/12.86, allocations: 18.58 kB / 5.384 GB, free: 198 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.012e-05/12.86, allocations: 15.67 kB / 5.384 GB, free: 198 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.998e-06/12.86, allocations: 3.953 kB / 5.384 GB, free: 198 MB / 0.823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.884e-05/12.86, allocations: 57.23 kB / 5.384 GB, free: 197.9 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/12.86, allocations: 7.938 kB / 5.384 GB, free: 197.9 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.762e-06/12.86, allocations: 7.984 kB / 5.384 GB, free: 197.9 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/12.86, allocations: 0 / 5.384 GB, free: 197.9 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.642e-05/12.86, allocations: 4 kB / 5.384 GB, free: 197.9 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.31e-06/12.86, allocations: 4 kB / 5.384 GB, free: 197.9 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.448e-05/12.86, allocations: 0 / 5.384 GB, free: 197.9 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-06/12.86, allocations: 0 / 5.384 GB, free: 197.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 () * Number of clocked 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.762e-05/12.86, allocations: 117.5 kB / 5.384 GB, free: 197.8 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.643e-05/12.86, allocations: 8.047 kB / 5.384 GB, free: 197.7 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.983e-05/12.86, allocations: 7.125 kB / 5.384 GB, free: 197.7 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.769e-06/12.86, allocations: 0 / 5.384 GB, free: 197.7 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.516e-06/12.86, allocations: 3.984 kB / 5.384 GB, free: 197.7 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.811e-06/12.86, allocations: 0 / 5.384 GB, free: 197.7 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002139/12.86, allocations: 350.5 kB / 5.384 GB, free: 197.3 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/12.86, allocations: 0 / 5.384 GB, free: 197.3 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.856e-05/12.86, allocations: 0 / 5.384 GB, free: 197.3 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.864e-06/12.86, allocations: 8.031 kB / 5.384 GB, free: 197.3 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.396e-06/12.86, allocations: 0 / 5.384 GB, free: 197.3 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.157e-06/12.86, allocations: 0 / 5.384 GB, free: 197.3 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.619e-06/12.86, allocations: 0 / 5.384 GB, free: 197.3 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.316e-05/12.86, allocations: 68.86 kB / 5.384 GB, free: 197.2 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 1.956e-05/12.86, allocations: 81.11 kB / 5.385 GB, free: 197.2 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.709e-05/12.86, allocations: 3.938 kB / 5.385 GB, free: 197.1 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.51e-05/12.86, allocations: 0 / 5.385 GB, free: 197.1 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.627e-05/12.86, allocations: 4.031 kB / 5.385 GB, free: 197.1 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.727e-06/12.86, allocations: 4 kB / 5.385 GB, free: 197.1 MB / 0.823 GB Notification: Performance of sorting global known variables: time 3.427e-05/12.86, allocations: 87.02 kB / 5.385 GB, free: 197.1 MB / 0.823 GB Notification: Performance of sort global known variables: time 6.66e-07/12.86, allocations: 0 / 5.385 GB, free: 197.1 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0003737/12.86, allocations: 37.55 kB / 5.385 GB, free: 197 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 () * Number of clocked 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.0006282/12.86, allocations: 0.5587 MB / 5.385 GB, free: 196.5 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 8.022e-05/12.86, allocations: 12 kB / 5.385 GB, free: 196.5 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/12.86, allocations: 0 / 5.385 GB, free: 196.5 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 8.572e-06/12.86, allocations: 3.938 kB / 5.385 GB, free: 196.5 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001639/12.86, allocations: 13.83 kB / 5.385 GB, free: 196.5 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002083/12.86, allocations: 128.8 kB / 5.385 GB, free: 196.3 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001112/12.86, allocations: 0.677 MB / 5.386 GB, free: 195.6 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 7.806e-05/12.86, allocations: 4 kB / 5.386 GB, free: 195.6 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.768e-05/12.86, allocations: 7.438 kB / 5.386 GB, free: 195.6 MB / 0.823 GB Notification: Performance of SimCode: time 1.488e-06/12.86, allocations: 0 / 5.386 GB, free: 195.6 MB / 0.823 GB Notification: Performance of Templates: time 0.01394/12.87, allocations: 7.86 MB / 5.394 GB, free: 187.7 MB / 0.823 GB