Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.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.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="Buildings_6_0_0_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.557/4.557, allocations: 433.2 MB / 440.7 MB, free: 4.566 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.861e-05/2.865e-05, allocations: 3.25 kB / 0.5325 GB, free: 12.7 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2345/0.2345, allocations: 98.73 MB / 0.6289 GB, free: 9.117 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.158/1.393, allocations: 328.8 MB / 0.9499 GB, free: 6.926 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003295/1.393, allocations: 79.27 kB / 0.95 GB, free: 6.883 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.02872/1.422, allocations: 7.596 MB / 0.9574 GB, free: 0.8359 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.543e-06/1.422, allocations: 0 / 0.9574 GB, free: 0.8359 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.995e-06/1.422, allocations: 0 / 0.9574 GB, free: 0.8359 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004555/1.423, allocations: 353.9 kB / 0.9578 GB, free: 460 kB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.997e-05/1.423, allocations: 8.031 kB / 0.9578 GB, free: 452 kB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.305e-05/1.423, allocations: 4.516 kB / 0.9578 GB, free: 448 kB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001374/1.423, allocations: 163.1 kB / 0.9579 GB, free: 244 kB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.929e-05/1.423, allocations: 25.7 kB / 0.958 GB, free: 212 kB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.001e-05/1.423, allocations: 3.938 kB / 0.958 GB, free: 208 kB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.918e-05/1.423, allocations: 11.98 kB / 0.958 GB, free: 196 kB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.872e-05/1.423, allocations: 45.06 kB / 0.958 GB, free: 148 kB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/1.423, allocations: 7.938 kB / 0.958 GB, free: 140 kB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.321e-05/1.423, allocations: 0 / 0.958 GB, free: 140 kB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.235e-05/1.423, allocations: 0 / 0.958 GB, free: 140 kB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008351/1.424, allocations: 0.578 MB / 0.9586 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 4.071e-05/1.424, allocations: 18.58 kB / 0.9586 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.12e-05/1.424, allocations: 8.844 kB / 0.9586 GB, free: 15.42 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003569/1.425, allocations: 367.5 kB / 0.959 GB, free: 15 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.15e-05/1.425, allocations: 30.56 kB / 0.959 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=1): time 2.244e-06/1.425, allocations: 4 kB / 0.959 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1): time 0.0002984/1.425, allocations: 45 kB / 0.9591 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.861e-05/1.425, allocations: 51.41 kB / 0.9591 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.601e-05/1.425, allocations: 94.64 kB / 0.9592 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.87e-05/1.425, allocations: 29.73 kB / 0.9592 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.442e-05/1.425, allocations: 91.36 kB / 0.9593 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 7.484e-06/1.425, allocations: 3.906 kB / 0.9593 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.757e-06/1.425, allocations: 0 / 0.9593 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000123/1.426, allocations: 314.8 kB / 0.9596 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.892e-05/1.426, allocations: 4 kB / 0.9596 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.982e-05/1.426, allocations: 12.97 kB / 0.9596 GB, free: 14.28 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002198/1.426, allocations: 23.98 kB / 0.9596 GB, free: 14.26 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/1.426, allocations: 0 / 0.9596 GB, free: 14.26 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002823/1.426, allocations: 60.98 kB / 0.9597 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.292e-05/1.426, allocations: 8 kB / 0.9597 GB, free: 14.19 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/1.426, allocations: 0 / 0.9597 GB, free: 14.19 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/1.426, allocations: 0 / 0.9597 GB, free: 14.19 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.994e-05/1.426, allocations: 7.984 kB / 0.9597 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/1.426, allocations: 0 / 0.9597 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.398e-05/1.426, allocations: 4 kB / 0.9597 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.523e-05/1.426, allocations: 8.016 kB / 0.9597 GB, free: 14.17 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 7.954e-05/1.427, allocations: 101 kB / 0.9598 GB, free: 14.06 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001844/1.427, allocations: 50.06 kB / 0.9599 GB, free: 14.01 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.081e-05/1.427, allocations: 4 kB / 0.9599 GB, free: 14.01 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001456/1.427, allocations: 117.5 kB / 0.96 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.686e-05/1.427, allocations: 188.2 kB / 0.9602 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.04e-05/1.427, allocations: 188.2 kB / 0.9604 GB, free: 13.5 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.297e-05/1.427, allocations: 179.7 kB / 0.9605 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002893/1.428, allocations: 381.8 kB / 0.9609 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.382e-05/1.428, allocations: 112.9 kB / 0.961 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.43e-05/1.428, allocations: 101 kB / 0.9611 GB, free: 12.68 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.193e-05/1.428, allocations: 180.3 kB / 0.9613 GB, free: 12.5 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.06e-05/1.428, allocations: 187.7 kB / 0.9614 GB, free: 12.31 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.981e-05/1.428, allocations: 180.2 kB / 0.9616 GB, free: 12.13 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.744e-05/1.428, allocations: 180.2 kB / 0.9618 GB, free: 11.95 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001663/1.428, allocations: 307.7 kB / 0.9621 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001015/1.428, allocations: 185.6 kB / 0.9623 GB, free: 11.42 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.663e-05/1.428, allocations: 184.2 kB / 0.9624 GB, free: 11.23 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002087/1.429, allocations: 101 kB / 0.9625 GB, free: 11.12 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9e-05/1.429, allocations: 180.2 kB / 0.9627 GB, free: 10.94 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.503e-05/1.429, allocations: 108.9 kB / 0.9628 GB, free: 10.83 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.665e-05/1.429, allocations: 86.59 kB / 0.9629 GB, free: 10.75 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.1e-07/1.429, allocations: 0 / 0.9629 GB, free: 10.75 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004201/1.429, allocations: 31.92 kB / 0.9629 GB, free: 10.71 MB / 0.7136 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 (0): * Single equations (assignments): 0 * 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.0007099/1.43, allocations: 0.8662 MB / 0.9638 GB, free: 9.824 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.555e-05/1.43, allocations: 7.938 kB / 0.9638 GB, free: 9.816 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/1.43, allocations: 0 / 0.9638 GB, free: 9.816 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.745e-06/1.43, allocations: 320 / 0.9638 GB, free: 9.816 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004431/1.431, allocations: 0.528 MB / 0.9643 GB, free: 9.289 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004467/1.431, allocations: 164.9 kB / 0.9644 GB, free: 9.09 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003046/1.431, allocations: 0.681 MB / 0.9651 GB, free: 8.383 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001055/1.432, allocations: 15.92 kB / 0.9651 GB, free: 8.367 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.079e-05/1.432, allocations: 8.375 kB / 0.9651 GB, free: 8.359 MB / 0.7136 GB Notification: Performance of SimCode: time 9.22e-07/1.432, allocations: 0 / 0.9651 GB, free: 8.359 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03907/1.471, allocations: 1.429 MB / 0.9665 GB, free: 6.938 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000385/1.471, allocations: 201.7 kB / 0.9667 GB, free: 6.672 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.399/3.87, allocations: 2.062 kB / 0.9667 GB, free: 6.672 MB / 0.7136 GB