Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.conf.json Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="Buildings_7_0_0_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.101/2.101, allocations: 251 MB / 265.9 MB, free: 11.68 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001566/0.001566, allocations: 180.8 kB / 325.5 MB, free: 2.914 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.275/2.275, allocations: 205.4 MB / 0.5764 GB, free: 20.81 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001242/0.001241, allocations: 99.98 kB / 0.6809 GB, free: 13.67 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004827/0.0004827, allocations: 13 kB / 0.795 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2185/0.219, allocations: 106.3 MB / 0.8988 GB, free: 65.5 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.103/1.322, allocations: 336.5 MB / 1.227 GB, free: 408 kB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003188/1.323, allocations: 85.06 kB / 1.227 GB, free: 356 kB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.02891/1.352, allocations: 7.752 MB / 1.235 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.374e-06/1.352, allocations: 4 kB / 1.235 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.323e-05/1.352, allocations: 0 / 1.235 GB, free: 10.12 MB / 0.7448 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.0004875/1.352, allocations: 356.9 kB / 1.235 GB, free: 9.734 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.998e-05/1.352, allocations: 8.031 kB / 1.235 GB, free: 9.727 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.523e-05/1.352, allocations: 30.56 kB / 1.235 GB, free: 9.688 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.994e-05/1.353, allocations: 4 kB / 1.235 GB, free: 9.684 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001451/1.353, allocations: 163 kB / 1.236 GB, free: 9.484 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.154e-05/1.353, allocations: 25.7 kB / 1.236 GB, free: 9.453 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.841e-05/1.353, allocations: 4 kB / 1.236 GB, free: 9.449 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001967/1.353, allocations: 53.55 kB / 1.236 GB, free: 9.395 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/1.353, allocations: 7.922 kB / 1.236 GB, free: 9.387 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/1.353, allocations: 0 / 1.236 GB, free: 9.387 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.041e-05/1.353, allocations: 0 / 1.236 GB, free: 9.387 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.309e-05/1.353, allocations: 15.8 kB / 1.236 GB, free: 9.375 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008268/1.354, allocations: 0.5856 MB / 1.236 GB, free: 8.68 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 4.786e-05/1.354, allocations: 22.58 kB / 1.236 GB, free: 8.648 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003179/1.354, allocations: 338.1 kB / 1.237 GB, free: 8.25 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.343e-05/1.354, allocations: 46.05 kB / 1.237 GB, free: 8.199 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=1): time 2.335e-06/1.354, allocations: 0 / 1.237 GB, free: 8.199 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1): time 0.0001727/1.355, allocations: 33.61 kB / 1.237 GB, free: 8.16 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.416e-05/1.355, allocations: 55.36 kB / 1.237 GB, free: 8.094 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.759e-05/1.355, allocations: 100.9 kB / 1.237 GB, free: 7.992 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.86e-05/1.355, allocations: 29.83 kB / 1.237 GB, free: 7.957 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.084e-05/1.355, allocations: 80.14 kB / 1.237 GB, free: 7.875 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.372e-05/1.355, allocations: 7.844 kB / 1.237 GB, free: 7.867 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.958e-06/1.355, allocations: 0 / 1.237 GB, free: 7.867 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001238/1.355, allocations: 323.7 kB / 1.237 GB, free: 7.547 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.825e-05/1.355, allocations: 0 / 1.237 GB, free: 7.547 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.929e-05/1.355, allocations: 21.64 kB / 1.237 GB, free: 7.52 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.431e-05/1.355, allocations: 11.44 kB / 1.237 GB, free: 7.512 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/1.355, allocations: 0 / 1.237 GB, free: 7.512 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001058/1.355, allocations: 45.44 kB / 1.237 GB, free: 7.465 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.233e-05/1.355, allocations: 8 kB / 1.237 GB, free: 7.457 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.942e-06/1.355, allocations: 0 / 1.237 GB, free: 7.457 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/1.355, allocations: 0 / 1.237 GB, free: 7.457 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.395e-05/1.356, allocations: 7.938 kB / 1.237 GB, free: 7.449 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.706e-06/1.356, allocations: 4 kB / 1.237 GB, free: 7.445 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.069e-05/1.356, allocations: 3.953 kB / 1.237 GB, free: 7.441 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.308e-05/1.356, allocations: 64 / 1.237 GB, free: 7.441 MB / 0.7448 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 () * Number of clocked 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 0.0001013/1.356, allocations: 117.8 kB / 1.237 GB, free: 7.316 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.31e-05/1.356, allocations: 7.844 kB / 1.237 GB, free: 7.309 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001681/1.356, allocations: 116.3 kB / 1.238 GB, free: 7.188 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.283e-05/1.356, allocations: 180.2 kB / 1.238 GB, free: 7.004 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.386e-05/1.356, allocations: 180.2 kB / 1.238 GB, free: 6.82 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.2e-05/1.356, allocations: 188.2 kB / 1.238 GB, free: 6.629 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002704/1.356, allocations: 408.6 kB / 1.238 GB, free: 6.176 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-05/1.357, allocations: 109 kB / 1.239 GB, free: 6.062 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.566e-05/1.357, allocations: 108.5 kB / 1.239 GB, free: 5.953 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.725e-05/1.357, allocations: 176.3 kB / 1.239 GB, free: 5.773 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.686e-05/1.357, allocations: 184.2 kB / 1.239 GB, free: 5.586 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.005e-05/1.357, allocations: 184.2 kB / 1.239 GB, free: 5.398 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.324e-05/1.357, allocations: 176.3 kB / 1.239 GB, free: 5.219 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001672/1.357, allocations: 307.3 kB / 1.24 GB, free: 4.898 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 9.701e-05/1.357, allocations: 186 kB / 1.24 GB, free: 4.691 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.445e-05/1.357, allocations: 188.1 kB / 1.24 GB, free: 4.504 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002086/1.358, allocations: 109 kB / 1.24 GB, free: 4.391 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.516e-05/1.358, allocations: 180.2 kB / 1.24 GB, free: 4.207 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.452e-05/1.358, allocations: 102.3 kB / 1.24 GB, free: 4.102 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 8.01e-05/1.358, allocations: 83.22 kB / 1.24 GB, free: 4.023 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4.1e-07/1.358, allocations: 4 kB / 1.24 GB, free: 4.02 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003852/1.358, allocations: 35.92 kB / 1.241 GB, free: 3.984 MB / 0.7448 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 () * Number of clocked 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.000674/1.359, allocations: 0.8689 MB / 1.241 GB, free: 3.094 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 9.817e-05/1.359, allocations: 11.23 kB / 1.241 GB, free: 3.086 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/1.359, allocations: 0 / 1.241 GB, free: 3.086 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.95e-06/1.359, allocations: 7.938 kB / 1.241 GB, free: 3.078 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004153/1.359, allocations: 0.5273 MB / 1.242 GB, free: 2.551 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005841/1.36, allocations: 240.6 kB / 1.242 GB, free: 2.273 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002823/1.36, allocations: 0.677 MB / 1.243 GB, free: 1.57 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 7.808e-05/1.36, allocations: 13.39 kB / 1.243 GB, free: 1.559 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.058e-05/1.36, allocations: 7.438 kB / 1.243 GB, free: 1.551 MB / 0.7448 GB Notification: Performance of SimCode: time 9.72e-07/1.36, allocations: 0 / 1.243 GB, free: 1.551 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02099/1.381, allocations: 1.828 MB / 1.245 GB, free: 15.95 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003439/1.382, allocations: 238.1 kB / 1.245 GB, free: 15.71 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.323/3.705, allocations: 64 / 1.245 GB, free: 15.71 MB / 0.7605 GB