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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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 4.064/4.064, allocations: 433.4 MB / 440.9 MB, free: 4.527 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.661e-05/1.667e-05, allocations: 1.438 kB / 0.5325 GB, free: 12.74 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1762/0.1762, allocations: 98.73 MB / 0.6289 GB, free: 9.16 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 11.81/11.99, allocations: 4.659 GB / 5.288 GB, free: 212.2 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003024/11.99, allocations: 84.67 kB / 5.288 GB, free: 212.2 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1236/12.11, allocations: 44.31 MB / 5.332 GB, free: 178.5 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.618e-06/12.11, allocations: 3.938 kB / 5.332 GB, free: 178.4 MB / 0.823 GB Notification: Performance of Transformations before backend: time 7.334e-06/12.11, allocations: 0 / 5.332 GB, free: 178.4 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.11, allocations: 338.3 kB / 5.332 GB, free: 178.1 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/12.11, allocations: 8.031 kB / 5.332 GB, free: 178.1 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002348/12.11, allocations: 19.98 kB / 5.332 GB, free: 178.1 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.86e-05/12.11, allocations: 163 kB / 5.332 GB, free: 177.9 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.259e-05/12.11, allocations: 33.66 kB / 5.332 GB, free: 177.8 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.425e-05/12.11, allocations: 0 / 5.332 GB, free: 177.8 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.919e-05/12.11, allocations: 23.17 kB / 5.332 GB, free: 177.8 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.929e-05/12.11, allocations: 41.56 kB / 5.332 GB, free: 177.8 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.824e-06/12.11, allocations: 0 / 5.332 GB, free: 177.8 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.287e-05/12.11, allocations: 0 / 5.332 GB, free: 177.8 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.9e-05/12.11, allocations: 8 kB / 5.332 GB, free: 177.7 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003326/12.11, allocations: 237 kB / 5.332 GB, free: 177.5 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 3.483e-05/12.11, allocations: 18.52 kB / 5.332 GB, free: 177.4 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.742e-05/12.11, allocations: 8.422 kB / 5.332 GB, free: 177.4 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 6.313e-06/12.11, allocations: 0 / 5.332 GB, free: 177.4 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.198e-05/12.11, allocations: 38.62 kB / 5.332 GB, free: 177.4 MB / 0.823 GB Notification: Performance of pre-optimization done (n=1): time 2.07e-06/12.11, allocations: 0 / 5.332 GB, free: 177.4 MB / 0.823 GB Notification: Performance of matching and sorting (n=1): time 0.0001278/12.11, allocations: 29.7 kB / 5.333 GB, free: 177.4 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.692e-05/12.11, allocations: 55.39 kB / 5.333 GB, free: 177.3 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.265e-05/12.11, allocations: 96.16 kB / 5.333 GB, free: 177.2 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.021e-05/12.11, allocations: 25.7 kB / 5.333 GB, free: 177.2 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 3.13e-05/12.11, allocations: 88.05 kB / 5.333 GB, free: 177.1 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 7.09e-06/12.11, allocations: 7.5 kB / 5.333 GB, free: 177.1 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.912e-06/12.11, allocations: 7.969 kB / 5.333 GB, free: 177.1 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 5.033e-05/12.11, allocations: 315.2 kB / 5.333 GB, free: 176.7 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.616e-05/12.11, allocations: 4 kB / 5.333 GB, free: 176.7 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.648e-05/12.11, allocations: 21.83 kB / 5.333 GB, free: 176.7 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.395e-05/12.11, allocations: 4 kB / 5.333 GB, free: 176.7 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.309e-06/12.11, allocations: 3.953 kB / 5.333 GB, free: 176.7 MB / 0.823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.234e-05/12.11, allocations: 61.41 kB / 5.333 GB, free: 176.6 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/12.11, allocations: 4 kB / 5.333 GB, free: 176.6 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.752e-06/12.11, allocations: 0 / 5.333 GB, free: 176.6 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.839e-05/12.11, allocations: 4 kB / 5.333 GB, free: 176.6 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.945e-05/12.11, allocations: 7.984 kB / 5.333 GB, free: 176.6 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.362e-06/12.11, allocations: 0 / 5.333 GB, free: 176.6 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.609e-05/12.11, allocations: 4 kB / 5.333 GB, free: 176.6 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.148e-06/12.11, allocations: 0 / 5.333 GB, free: 176.6 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.344e-05/12.11, allocations: 113 kB / 5.333 GB, free: 176.5 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.53e-05/12.11, allocations: 3.953 kB / 5.333 GB, free: 176.5 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.885e-05/12.11, allocations: 4.031 kB / 5.333 GB, free: 176.5 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.115e-06/12.11, allocations: 3.938 kB / 5.333 GB, free: 176.5 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/12.11, allocations: 3.984 kB / 5.333 GB, free: 176.5 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.044e-06/12.11, allocations: 0 / 5.333 GB, free: 176.5 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002031/12.11, allocations: 327.2 kB / 5.334 GB, free: 176.1 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/12.11, allocations: 0 / 5.334 GB, free: 176.1 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.038e-05/12.11, allocations: 8.016 kB / 5.334 GB, free: 176.1 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.347e-06/12.11, allocations: 4 kB / 5.334 GB, free: 176.1 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.84e-06/12.11, allocations: 0 / 5.334 GB, free: 176.1 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.099e-06/12.11, allocations: 0 / 5.334 GB, free: 176.1 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.642e-06/12.11, allocations: 0 / 5.334 GB, free: 176.1 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.067e-05/12.11, allocations: 64.53 kB / 5.334 GB, free: 176 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 2.191e-05/12.11, allocations: 81.02 kB / 5.334 GB, free: 175.9 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.866e-05/12.11, allocations: 3.984 kB / 5.334 GB, free: 175.9 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.154e-05/12.11, allocations: 8.031 kB / 5.334 GB, free: 175.9 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.009e-05/12.11, allocations: 0 / 5.334 GB, free: 175.9 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.47e-06/12.11, allocations: 0 / 5.334 GB, free: 175.9 MB / 0.823 GB Notification: Performance of sorting global known variables: time 3.247e-05/12.11, allocations: 79.28 kB / 5.334 GB, free: 175.9 MB / 0.823 GB Notification: Performance of sort global known variables: time 7.26e-07/12.11, allocations: 0 / 5.334 GB, free: 175.9 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0003639/12.11, allocations: 34.17 kB / 5.334 GB, free: 175.8 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.0007202/12.11, allocations: 0.662 MB / 5.335 GB, free: 175.2 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 8.823e-05/12.11, allocations: 11.25 kB / 5.335 GB, free: 175.2 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 3.337e-06/12.11, allocations: 0 / 5.335 GB, free: 175.2 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 9.787e-06/12.11, allocations: 7.938 kB / 5.335 GB, free: 175.2 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001731/12.11, allocations: 11.94 kB / 5.335 GB, free: 175.2 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000151/12.11, allocations: 52.7 kB / 5.335 GB, free: 175.1 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001147/12.11, allocations: 0.6846 MB / 5.335 GB, free: 174.4 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 7.756e-05/12.11, allocations: 7.984 kB / 5.335 GB, free: 174.4 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.869e-05/12.11, allocations: 11.44 kB / 5.335 GB, free: 174.3 MB / 0.823 GB Notification: Performance of SimCode: time 1.394e-06/12.11, allocations: 0 / 5.335 GB, free: 174.3 MB / 0.823 GB Notification: Performance of Templates: time 0.008582/12.12, allocations: 3.712 MB / 5.339 GB, free: 170.6 MB / 0.823 GB