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/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.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.978/3.978, allocations: 433.3 MB / 440.9 MB, free: 10.39 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.098e-05/2.109e-05, allocations: 4 kB / 0.5325 GB, free: 1.895 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5641/0.5641, allocations: 98.71 MB / 0.6289 GB, free: 15.72 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.748/6.312, allocations: 2.167 GB / 2.796 GB, free: 172.5 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001983/6.313, allocations: 67.97 kB / 2.796 GB, free: 172.4 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 0.09984/6.413, allocations: 35.9 MB / 2.831 GB, free: 136 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.935e-06/6.413, allocations: 4 kB / 2.831 GB, free: 136 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 6.355e-06/6.413, allocations: 0 / 2.831 GB, free: 136 MB / 0.8073 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.0002546/6.413, allocations: 338.4 kB / 2.831 GB, free: 135.6 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/6.413, allocations: 8.031 kB / 2.831 GB, free: 135.6 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003049/6.413, allocations: 31.91 kB / 2.831 GB, free: 135.6 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.56e-05/6.413, allocations: 159.1 kB / 2.831 GB, free: 135.4 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.942e-05/6.413, allocations: 29.7 kB / 2.831 GB, free: 135.4 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.427e-05/6.413, allocations: 4 kB / 2.831 GB, free: 135.4 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.782e-05/6.414, allocations: 19.98 kB / 2.831 GB, free: 135.4 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.324e-05/6.414, allocations: 37.69 kB / 2.831 GB, free: 135.3 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/6.414, allocations: 7.953 kB / 2.831 GB, free: 135.3 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.281e-05/6.414, allocations: 3.984 kB / 2.831 GB, free: 135.3 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.678e-05/6.414, allocations: 0 / 2.831 GB, free: 135.3 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004188/6.414, allocations: 338.5 kB / 2.832 GB, free: 134.9 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 3.021e-05/6.414, allocations: 14.58 kB / 2.832 GB, free: 134.9 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.644e-05/6.414, allocations: 8.922 kB / 2.832 GB, free: 134.9 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 5.489e-06/6.414, allocations: 0 / 2.832 GB, free: 134.9 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.506e-05/6.414, allocations: 34.52 kB / 2.832 GB, free: 134.8 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=1): time 1.842e-06/6.414, allocations: 0 / 2.832 GB, free: 134.8 MB / 0.8073 GB Notification: Performance of matching and sorting (n=1): time 0.0002057/6.415, allocations: 41.69 kB / 2.832 GB, free: 134.8 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.542e-05/6.415, allocations: 51.41 kB / 2.832 GB, free: 134.7 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.394e-05/6.415, allocations: 100.9 kB / 2.832 GB, free: 134.6 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 9.938e-06/6.415, allocations: 25.7 kB / 2.832 GB, free: 134.6 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.79e-05/6.415, allocations: 88.03 kB / 2.832 GB, free: 134.5 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 8.817e-06/6.415, allocations: 11.84 kB / 2.832 GB, free: 134.5 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.797e-06/6.415, allocations: 0 / 2.832 GB, free: 134.5 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 4.685e-05/6.415, allocations: 318.8 kB / 2.832 GB, free: 134.2 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.691e-05/6.415, allocations: 4.031 kB / 2.832 GB, free: 134.2 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.592e-05/6.415, allocations: 22.58 kB / 2.832 GB, free: 134.1 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.46e-05/6.415, allocations: 11.98 kB / 2.832 GB, free: 134.1 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.471e-06/6.415, allocations: 0 / 2.832 GB, free: 134.1 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.935e-05/6.415, allocations: 45.62 kB / 2.833 GB, free: 134.1 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/6.415, allocations: 8 kB / 2.833 GB, free: 134.1 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.203e-06/6.415, allocations: 4.094 kB / 2.833 GB, free: 134.1 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/6.415, allocations: 3.953 kB / 2.833 GB, free: 134.1 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.185e-05/6.415, allocations: 8 kB / 2.833 GB, free: 134 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.231e-06/6.415, allocations: 0 / 2.833 GB, free: 134 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.351e-05/6.415, allocations: 0 / 2.833 GB, free: 134 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.295e-06/6.415, allocations: 8 kB / 2.833 GB, free: 134 MB / 0.8073 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 4.918e-05/6.415, allocations: 104.9 kB / 2.833 GB, free: 133.9 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.548e-05/6.415, allocations: 0 / 2.833 GB, free: 133.9 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.884e-05/6.415, allocations: 11.69 kB / 2.833 GB, free: 133.9 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.961e-06/6.415, allocations: 11.94 kB / 2.833 GB, free: 133.9 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.245e-06/6.415, allocations: 0 / 2.833 GB, free: 133.9 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.947e-06/6.415, allocations: 0 / 2.833 GB, free: 133.9 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001884/6.416, allocations: 319.4 kB / 2.833 GB, free: 133.6 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/6.416, allocations: 0 / 2.833 GB, free: 133.6 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.825e-05/6.416, allocations: 0 / 2.833 GB, free: 133.6 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.747e-06/6.416, allocations: 0 / 2.833 GB, free: 133.6 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.144e-06/6.416, allocations: 7.953 kB / 2.833 GB, free: 133.5 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.867e-06/6.416, allocations: 4 kB / 2.833 GB, free: 133.5 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.333e-06/6.416, allocations: 4.031 kB / 2.833 GB, free: 133.5 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.673e-05/6.416, allocations: 60.97 kB / 2.833 GB, free: 133.5 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.014e-05/6.416, allocations: 77.11 kB / 2.833 GB, free: 133.4 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.77e-05/6.416, allocations: 4 kB / 2.833 GB, free: 133.4 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.111e-05/6.416, allocations: 3.953 kB / 2.833 GB, free: 133.4 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.632e-05/6.416, allocations: 4 kB / 2.833 GB, free: 133.4 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.923e-06/6.416, allocations: 0 / 2.833 GB, free: 133.4 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 3.028e-05/6.416, allocations: 87.3 kB / 2.833 GB, free: 133.3 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.974e-06/6.416, allocations: 0 / 2.833 GB, free: 133.3 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0003287/6.416, allocations: 32 kB / 2.833 GB, free: 133.2 MB / 0.8073 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.0006567/6.417, allocations: 0.6424 MB / 2.834 GB, free: 132.6 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 7.251e-05/6.417, allocations: 12 kB / 2.834 GB, free: 132.6 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/6.417, allocations: 0 / 2.834 GB, free: 132.6 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 8.935e-06/6.417, allocations: 3.938 kB / 2.834 GB, free: 132.6 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001527/6.417, allocations: 7.984 kB / 2.834 GB, free: 132.6 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001363/6.417, allocations: 60.62 kB / 2.834 GB, free: 132.5 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001079/6.418, allocations: 0.6806 MB / 2.835 GB, free: 131.8 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 7.54e-05/6.418, allocations: 7.984 kB / 2.835 GB, free: 131.8 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.854e-05/6.418, allocations: 7.438 kB / 2.835 GB, free: 131.8 MB / 0.8073 GB Notification: Performance of SimCode: time 1.377e-06/6.418, allocations: 0 / 2.835 GB, free: 131.8 MB / 0.8073 GB Notification: Performance of Templates: time 0.008092/6.426, allocations: 3.595 MB / 2.838 GB, free: 128.2 MB / 0.8073 GB