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 ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="Buildings_6_0_0_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.294/4.294, allocations: 433.2 MB / 440.7 MB, free: 10.58 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.809e-05/2.801e-05, allocations: 4 kB / 0.5325 GB, free: 1.969 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6762/0.6763, allocations: 98.7 MB / 0.6289 GB, free: 15.85 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 15.35/16.03, allocations: 4.659 GB / 5.288 GB, free: 223.3 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003395/16.03, allocations: 81.42 kB / 5.288 GB, free: 223.3 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1476/16.18, allocations: 44.31 MB / 5.332 GB, free: 205.1 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.713e-06/16.18, allocations: 0 / 5.332 GB, free: 205.1 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.883e-06/16.18, allocations: 0 / 5.332 GB, free: 205.1 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.0003269/16.18, allocations: 338.3 kB / 5.332 GB, free: 204.8 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.691e-05/16.18, allocations: 8.031 kB / 5.332 GB, free: 204.8 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002621/16.18, allocations: 19.92 kB / 5.332 GB, free: 204.7 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.46e-05/16.18, allocations: 167.1 kB / 5.332 GB, free: 204.5 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.006e-05/16.18, allocations: 29.69 kB / 5.332 GB, free: 204.5 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.5e-05/16.18, allocations: 3.953 kB / 5.332 GB, free: 204.5 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.39e-05/16.18, allocations: 15.62 kB / 5.332 GB, free: 204.5 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.981e-05/16.18, allocations: 53.47 kB / 5.332 GB, free: 204.4 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.639e-06/16.18, allocations: 4 kB / 5.332 GB, free: 204.4 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.396e-05/16.18, allocations: 0 / 5.332 GB, free: 204.4 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.703e-05/16.18, allocations: 0 / 5.332 GB, free: 204.4 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003754/16.18, allocations: 240.5 kB / 5.332 GB, free: 204.2 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 3.536e-05/16.18, allocations: 18.58 kB / 5.332 GB, free: 204.1 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.77e-05/16.18, allocations: 8.922 kB / 5.332 GB, free: 204.1 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 6.121e-06/16.18, allocations: 0 / 5.332 GB, free: 204.1 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.107e-05/16.18, allocations: 34.59 kB / 5.332 GB, free: 204.1 MB / 0.823 GB Notification: Performance of pre-optimization done (n=1): time 1.333e-06/16.18, allocations: 0 / 5.332 GB, free: 204.1 MB / 0.823 GB Notification: Performance of matching and sorting (n=1): time 0.0001252/16.18, allocations: 33.61 kB / 5.332 GB, free: 204 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.047e-05/16.18, allocations: 51.41 kB / 5.333 GB, free: 204 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.54e-05/16.18, allocations: 100.5 kB / 5.333 GB, free: 203.9 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.245e-05/16.18, allocations: 29.73 kB / 5.333 GB, free: 203.8 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 3.16e-05/16.18, allocations: 91.22 kB / 5.333 GB, free: 203.7 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 6.242e-06/16.18, allocations: 3.906 kB / 5.333 GB, free: 203.7 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.007e-06/16.18, allocations: 0 / 5.333 GB, free: 203.7 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 5.825e-05/16.18, allocations: 315.2 kB / 5.333 GB, free: 203.4 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.694e-05/16.18, allocations: 3.438 kB / 5.333 GB, free: 203.4 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.808e-05/16.18, allocations: 18.58 kB / 5.333 GB, free: 203.4 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.757e-05/16.18, allocations: 19.55 kB / 5.333 GB, free: 203.4 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/16.18, allocations: 0 / 5.333 GB, free: 203.4 MB / 0.823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.971e-05/16.18, allocations: 53.52 kB / 5.333 GB, free: 203.3 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/16.18, allocations: 10.19 kB / 5.333 GB, free: 203.3 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/16.18, allocations: 0 / 5.333 GB, free: 203.3 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/16.18, allocations: 0 / 5.333 GB, free: 203.3 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.541e-05/16.18, allocations: 8 kB / 5.333 GB, free: 203.3 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/16.18, allocations: 96 / 5.333 GB, free: 203.3 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.759e-05/16.18, allocations: 4 kB / 5.333 GB, free: 203.3 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.845e-06/16.18, allocations: 4 kB / 5.333 GB, free: 203.3 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.571e-05/16.18, allocations: 108.9 kB / 5.333 GB, free: 203.2 MB / 0.823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 6.146e-05/16.18, allocations: 41.16 kB / 5.333 GB, free: 203.1 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.858e-05/16.18, allocations: 7.984 kB / 5.333 GB, free: 203.1 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.964e-05/16.18, allocations: 3.75 kB / 5.333 GB, free: 203.1 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/16.18, allocations: 0 / 5.333 GB, free: 203.1 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/16.18, allocations: 0 / 5.333 GB, free: 203.1 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.055e-06/16.18, allocations: 4.031 kB / 5.333 GB, free: 203.1 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002385/16.18, allocations: 326.7 kB / 5.334 GB, free: 202.8 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/16.18, allocations: 0 / 5.334 GB, free: 202.8 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.986e-05/16.18, allocations: 0 / 5.334 GB, free: 202.8 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.978e-06/16.18, allocations: 4 kB / 5.334 GB, free: 202.8 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.392e-06/16.18, allocations: 7.938 kB / 5.334 GB, free: 202.8 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/16.18, allocations: 0 / 5.334 GB, free: 202.8 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/16.18, allocations: 0 / 5.334 GB, free: 202.8 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.102e-05/16.18, allocations: 64.92 kB / 5.334 GB, free: 202.7 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 2.651e-05/16.18, allocations: 81.11 kB / 5.334 GB, free: 202.6 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.852e-05/16.18, allocations: 0 / 5.334 GB, free: 202.6 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.875e-05/16.18, allocations: 0 / 5.334 GB, free: 202.6 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.157e-05/16.18, allocations: 3.984 kB / 5.334 GB, free: 202.6 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.536e-06/16.18, allocations: 4 kB / 5.334 GB, free: 202.6 MB / 0.823 GB Notification: Performance of sorting global known variables: time 3.254e-05/16.18, allocations: 83.55 kB / 5.334 GB, free: 202.5 MB / 0.823 GB Notification: Performance of sort global known variables: time 3.8e-07/16.18, allocations: 0 / 5.334 GB, free: 202.5 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0003456/16.18, allocations: 37.83 kB / 5.334 GB, free: 202.5 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.001015/16.18, allocations: 1.164 MB / 5.335 GB, free: 201.3 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 9.333e-05/16.18, allocations: 11.98 kB / 5.335 GB, free: 201.3 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 3.317e-06/16.18, allocations: 0 / 5.335 GB, free: 201.3 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 7.925e-06/16.18, allocations: 0 / 5.335 GB, free: 201.3 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001943/16.18, allocations: 7.875 kB / 5.335 GB, free: 201.3 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003107/16.18, allocations: 89.97 kB / 5.335 GB, free: 201.2 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001361/16.18, allocations: 0.6809 MB / 5.336 GB, free: 200.4 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 8.168e-05/16.18, allocations: 8 kB / 5.336 GB, free: 200.4 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.88e-05/16.18, allocations: 7.438 kB / 5.336 GB, free: 200.4 MB / 0.823 GB Notification: Performance of SimCode: time 6.62e-07/16.18, allocations: 3.938 kB / 5.336 GB, free: 200.4 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0432/16.23, allocations: 5.361 MB / 5.341 GB, free: 195.1 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000192/16.23, allocations: 174.4 kB / 5.341 GB, free: 194.9 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.903/19.13, allocations: 0 / 5.341 GB, free: 194.9 MB / 0.823 GB