Running: ./testmodel.py --libraries=/var/lib/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 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.188/2.188, allocations: 252.6 MB / 265.2 MB, free: 5.719 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002343/0.002343, allocations: 179.9 kB / 324.5 MB, free: 14.41 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.037/2.037, allocations: 205.4 MB / 0.5754 GB, free: 10.5 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001181/0.001181, allocations: 90.69 kB / 0.6797 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.787e-05/3.794e-05, allocations: 4 kB / 0.7911 GB, free: 96.61 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2047/0.2047, allocations: 106.2 MB / 0.8949 GB, free: 6.27 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.115/1.32, allocations: 336.4 MB / 1.223 GB, free: 13.29 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003007/1.32, allocations: 76.02 kB / 1.223 GB, free: 13.25 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 0.02768/1.348, allocations: 7.71 MB / 1.231 GB, free: 6.855 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.894e-06/1.348, allocations: 0 / 1.231 GB, free: 6.855 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 9.007e-06/1.348, allocations: 4 kB / 1.231 GB, free: 6.852 MB / 0.8386 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.0003874/1.348, allocations: 338.3 kB / 1.231 GB, free: 6.477 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.874e-05/1.348, allocations: 12.03 kB / 1.231 GB, free: 6.465 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.326e-05/1.348, allocations: 3.984 kB / 1.231 GB, free: 6.461 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001326/1.348, allocations: 171 kB / 1.231 GB, free: 6.254 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.502e-05/1.349, allocations: 29.7 kB / 1.232 GB, free: 6.219 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.572e-05/1.349, allocations: 4 kB / 1.232 GB, free: 6.215 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001308/1.349, allocations: 37.69 kB / 1.232 GB, free: 6.172 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/1.349, allocations: 0 / 1.232 GB, free: 6.172 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.374e-05/1.349, allocations: 3.984 kB / 1.232 GB, free: 6.168 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.139e-05/1.349, allocations: 4 kB / 1.232 GB, free: 6.164 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.083e-05/1.349, allocations: 15.98 kB / 1.232 GB, free: 6.148 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007437/1.35, allocations: 0.6028 MB / 1.232 GB, free: 5.422 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 4.261e-05/1.35, allocations: 18.58 kB / 1.232 GB, free: 5.395 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.903e-05/1.35, allocations: 4.859 kB / 1.232 GB, free: 5.387 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003285/1.35, allocations: 364.4 kB / 1.233 GB, free: 4.957 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.731e-05/1.35, allocations: 34.56 kB / 1.233 GB, free: 4.914 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=1): time 1.993e-06/1.35, allocations: 4 kB / 1.233 GB, free: 4.91 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1): time 0.0001709/1.35, allocations: 33.64 kB / 1.233 GB, free: 4.871 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.446e-05/1.35, allocations: 55.36 kB / 1.233 GB, free: 4.805 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.17e-05/1.35, allocations: 104.9 kB / 1.233 GB, free: 4.695 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.735e-05/1.35, allocations: 25.7 kB / 1.233 GB, free: 4.664 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.744e-05/1.351, allocations: 80.14 kB / 1.233 GB, free: 4.582 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.08e-05/1.351, allocations: 7.906 kB / 1.233 GB, free: 4.574 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.677e-06/1.351, allocations: 0 / 1.233 GB, free: 4.574 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000114/1.351, allocations: 318.9 kB / 1.233 GB, free: 4.254 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.058e-05/1.351, allocations: 4 kB / 1.233 GB, free: 4.25 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.21e-05/1.351, allocations: 21.64 kB / 1.233 GB, free: 4.223 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.676e-05/1.351, allocations: 4 kB / 1.233 GB, free: 4.219 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/1.351, allocations: 0 / 1.233 GB, free: 4.219 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000107/1.351, allocations: 49.62 kB / 1.233 GB, free: 4.164 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/1.351, allocations: 7.938 kB / 1.233 GB, free: 4.156 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/1.351, allocations: 8.062 kB / 1.233 GB, free: 4.148 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.829e-05/1.351, allocations: 4 kB / 1.233 GB, free: 4.145 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.266e-05/1.351, allocations: 4 kB / 1.233 GB, free: 4.141 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/1.351, allocations: 0 / 1.233 GB, free: 4.141 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.186e-05/1.351, allocations: 7.891 kB / 1.233 GB, free: 4.133 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.419e-05/1.351, allocations: 4 kB / 1.233 GB, free: 4.129 MB / 0.8386 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 6.91e-05/1.351, allocations: 101 kB / 1.233 GB, free: 4.023 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.075e-05/1.351, allocations: 0 / 1.233 GB, free: 4.023 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001394/1.351, allocations: 137.3 kB / 1.234 GB, free: 3.879 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.407e-05/1.352, allocations: 180.3 kB / 1.234 GB, free: 3.695 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.331e-05/1.352, allocations: 180.2 kB / 1.234 GB, free: 3.512 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.389e-05/1.352, allocations: 180.2 kB / 1.234 GB, free: 3.328 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002583/1.352, allocations: 413.1 kB / 1.234 GB, free: 2.867 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.002e-05/1.352, allocations: 105 kB / 1.235 GB, free: 2.758 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.595e-05/1.352, allocations: 101 kB / 1.235 GB, free: 2.652 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.925e-05/1.352, allocations: 184.3 kB / 1.235 GB, free: 2.465 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.094e-05/1.352, allocations: 184.3 kB / 1.235 GB, free: 2.277 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.358e-05/1.352, allocations: 180.2 kB / 1.235 GB, free: 2.094 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.575e-05/1.352, allocations: 180.2 kB / 1.235 GB, free: 1.91 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001419/1.352, allocations: 311.7 kB / 1.236 GB, free: 1.582 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 8.706e-05/1.353, allocations: 186.1 kB / 1.236 GB, free: 1.375 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.331e-05/1.353, allocations: 181.8 kB / 1.236 GB, free: 1.191 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001839/1.353, allocations: 105 kB / 1.236 GB, free: 1.082 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.857e-05/1.353, allocations: 188.2 kB / 1.236 GB, free: 0.8906 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.131e-05/1.353, allocations: 108.9 kB / 1.236 GB, free: 0.7773 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 6.056e-05/1.353, allocations: 79.28 kB / 1.236 GB, free: 0.6992 MB / 0.8386 GB Notification: Performance of sort global known variables: time 4.61e-07/1.353, allocations: 0 / 1.236 GB, free: 0.6992 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003605/1.353, allocations: 36 kB / 1.236 GB, free: 0.6641 MB / 0.8386 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.0003162/1.354, allocations: 227.7 kB / 1.237 GB, free: 444 kB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 7.991e-05/1.354, allocations: 11.94 kB / 1.237 GB, free: 432 kB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/1.354, allocations: 0 / 1.237 GB, free: 432 kB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 5.1e-06/1.354, allocations: 3.984 kB / 1.237 GB, free: 428 kB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003933/1.354, allocations: 0.5303 MB / 1.237 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000193/1.355, allocations: 128.9 kB / 1.237 GB, free: 15.73 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002532/1.355, allocations: 0.6809 MB / 1.238 GB, free: 15.03 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 6.286e-05/1.355, allocations: 12.83 kB / 1.238 GB, free: 15.02 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.188e-05/1.355, allocations: 11.44 kB / 1.238 GB, free: 15 MB / 0.8542 GB Notification: Performance of SimCode: time 7.21e-07/1.355, allocations: 0 / 1.238 GB, free: 15 MB / 0.8542 GB Notification: Performance of Templates: time 0.004731/1.36, allocations: 1.101 MB / 1.239 GB, free: 13.96 MB / 0.8542 GB