Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.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.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.004223/0.004222, allocations: 233.1 kB / 15.82 MB, free: 6.297 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.001183/0.001183, allocations: 175 kB / 16.7 MB, free: 5.457 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 3.873/3.873, allocations: 389.1 MB / 406.5 MB, free: 11.82 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 3.782/3.782, allocations: 472.3 MB / 0.9024 GB, free: 9.18 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0005006/0.0005008, allocations: 17.62 kB / 1.008 GB, free: 138.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1793/0.1798, allocations: 98.71 MB / 1.105 GB, free: 42.11 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.717/6.897, allocations: 2.157 GB / 3.262 GB, free: 53.01 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000288/6.898, allocations: 89.05 kB / 3.262 GB, free: 52.96 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.117/7.015, allocations: 36.57 MB / 3.298 GB, free: 20.24 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.265e-06/7.015, allocations: 0 / 3.298 GB, free: 20.24 MB / 0.823 GB Notification: Performance of Transformations before backend: time 7.284e-06/7.015, allocations: 7.938 kB / 3.298 GB, free: 20.23 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.0003579/7.015, allocations: 341.9 kB / 3.298 GB, free: 19.85 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/7.015, allocations: 8.031 kB / 3.298 GB, free: 19.84 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003481/7.015, allocations: 24.75 kB / 3.298 GB, free: 19.82 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.126e-05/7.016, allocations: 163.1 kB / 3.298 GB, free: 19.62 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.898e-05/7.016, allocations: 28.61 kB / 3.298 GB, free: 19.59 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.18e-05/7.016, allocations: 4 kB / 3.298 GB, free: 19.59 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001703/7.016, allocations: 49.61 kB / 3.298 GB, free: 19.53 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/7.016, allocations: 7.984 kB / 3.298 GB, free: 19.52 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.537e-05/7.016, allocations: 3.953 kB / 3.298 GB, free: 19.52 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.144e-05/7.016, allocations: 0 / 3.298 GB, free: 19.52 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.289e-05/7.016, allocations: 20.48 kB / 3.298 GB, free: 19.5 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003477/7.016, allocations: 251.2 kB / 3.299 GB, free: 19.21 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 6.042e-05/7.016, allocations: 30.61 kB / 3.299 GB, free: 19.17 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.543e-05/7.016, allocations: 4.859 kB / 3.299 GB, free: 19.16 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001737/7.017, allocations: 106.2 kB / 3.299 GB, free: 19.04 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.391e-05/7.017, allocations: 34.06 kB / 3.299 GB, free: 19 MB / 0.823 GB Notification: Performance of pre-optimization done (n=2): time 1.753e-06/7.017, allocations: 0 / 3.299 GB, free: 19 MB / 0.823 GB Notification: Performance of matching and sorting (n=2): time 0.0002785/7.017, allocations: 49.69 kB / 3.299 GB, free: 18.95 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.649e-05/7.017, allocations: 51.41 kB / 3.299 GB, free: 18.89 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.468e-05/7.017, allocations: 101.8 kB / 3.299 GB, free: 18.78 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.279e-05/7.017, allocations: 28.55 kB / 3.299 GB, free: 18.75 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 3.371e-05/7.017, allocations: 90.39 kB / 3.299 GB, free: 18.66 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.058e-05/7.017, allocations: 7.938 kB / 3.299 GB, free: 18.65 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.918e-06/7.017, allocations: 0 / 3.299 GB, free: 18.65 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 5.815e-05/7.017, allocations: 310.8 kB / 3.299 GB, free: 18.34 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.366e-05/7.017, allocations: 11.98 kB / 3.299 GB, free: 18.32 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.565e-05/7.017, allocations: 25.89 kB / 3.3 GB, free: 18.29 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.101e-05/7.017, allocations: 4 kB / 3.3 GB, free: 18.29 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/7.017, allocations: 0 / 3.3 GB, free: 18.29 MB / 0.823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001046/7.017, allocations: 61.53 kB / 3.3 GB, free: 18.22 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/7.018, allocations: 13.7 kB / 3.3 GB, free: 18.21 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/7.018, allocations: 0 / 3.3 GB, free: 18.21 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/7.018, allocations: 0 / 3.3 GB, free: 18.21 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.998e-05/7.018, allocations: 8 kB / 3.3 GB, free: 18.2 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/7.018, allocations: 7.984 kB / 3.3 GB, free: 18.2 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.174e-05/7.018, allocations: 3.281 kB / 3.3 GB, free: 18.2 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.935e-06/7.018, allocations: 4 kB / 3.3 GB, free: 18.19 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 6.53e-05/7.018, allocations: 105.8 kB / 3.3 GB, free: 18.08 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.173e-05/7.018, allocations: 4 kB / 3.3 GB, free: 18.07 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.514e-05/7.018, allocations: 11.36 kB / 3.3 GB, free: 18.07 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/7.018, allocations: 3.938 kB / 3.3 GB, free: 18.06 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/7.018, allocations: 3.938 kB / 3.3 GB, free: 18.06 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.868e-06/7.018, allocations: 6.703 kB / 3.3 GB, free: 18.05 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002808/7.018, allocations: 359.6 kB / 3.3 GB, free: 17.64 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/7.018, allocations: 0 / 3.3 GB, free: 17.64 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.889e-05/7.018, allocations: 7.938 kB / 3.3 GB, free: 17.63 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/7.018, allocations: 3.062 kB / 3.3 GB, free: 17.63 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.814e-06/7.018, allocations: 4 kB / 3.3 GB, free: 17.63 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/7.018, allocations: 0 / 3.3 GB, free: 17.63 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/7.018, allocations: 0 / 3.3 GB, free: 17.63 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.644e-05/7.018, allocations: 76.05 kB / 3.3 GB, free: 17.54 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 2.29e-05/7.018, allocations: 81.06 kB / 3.3 GB, free: 17.44 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.933e-05/7.018, allocations: 0 / 3.3 GB, free: 17.44 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.55e-05/7.019, allocations: 4 kB / 3.3 GB, free: 17.43 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.57e-05/7.019, allocations: 3.984 kB / 3.3 GB, free: 17.43 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.476e-06/7.019, allocations: 7.375 kB / 3.3 GB, free: 17.43 MB / 0.823 GB Notification: Performance of sorting global known variables: time 3.088e-05/7.019, allocations: 83.28 kB / 3.3 GB, free: 17.34 MB / 0.823 GB Notification: Performance of sort global known variables: time 3.7e-07/7.019, allocations: 3.938 kB / 3.3 GB, free: 17.34 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0003954/7.019, allocations: 39.98 kB / 3.3 GB, free: 17.3 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 () * Number of clocked 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.0007525/7.02, allocations: 0.545 MB / 3.301 GB, free: 16.82 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0001118/7.02, allocations: 15.98 kB / 3.301 GB, free: 16.8 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/7.02, allocations: 0 / 3.301 GB, free: 16.8 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 1.949e-05/7.02, allocations: 13.53 kB / 3.301 GB, free: 16.79 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002476/7.02, allocations: 5.094 kB / 3.301 GB, free: 16.79 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002898/7.021, allocations: 129.2 kB / 3.301 GB, free: 16.64 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000162/7.021, allocations: 0.677 MB / 3.302 GB, free: 15.93 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 9.268e-05/7.021, allocations: 10.42 kB / 3.302 GB, free: 15.93 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.427e-05/7.021, allocations: 7.438 kB / 3.302 GB, free: 15.92 MB / 0.823 GB Notification: Performance of SimCode: time 8.91e-07/7.021, allocations: 0.5625 kB / 3.302 GB, free: 15.92 MB / 0.823 GB Notification: Performance of Templates: time 0.01697/7.038, allocations: 7.611 MB / 3.309 GB, free: 8.645 MB / 0.823 GB