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 loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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: 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") 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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 3.867/3.867, allocations: 251.1 MB / 266.7 MB, free: 11.65 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.00228/0.002281, allocations: 188.4 kB / 326.2 MB, free: 2.863 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.054/4.054, allocations: 205.4 MB / 0.5772 GB, free: 20.77 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.001718/0.001718, allocations: 91.92 kB / 0.6817 GB, free: 13.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0008517/0.0008519, allocations: 10 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4078/0.4087, allocations: 106.3 MB / 0.8995 GB, free: 65.57 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.76/2.168, allocations: 336.5 MB / 1.228 GB, free: 0.5938 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005193/2.169, allocations: 80.89 kB / 1.228 GB, free: 0.5508 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.04802/2.217, allocations: 7.756 MB / 1.236 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of FrontEnd: time 3.406e-06/2.217, allocations: 3.938 kB / 1.236 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.009e-05/2.217, allocations: 0 / 1.236 GB, free: 10.32 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.0006918/2.218, allocations: 355 kB / 1.236 GB, free: 9.922 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 6.499e-05/2.218, allocations: 8.031 kB / 1.236 GB, free: 9.914 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.065e-05/2.218, allocations: 0.9375 kB / 1.236 GB, free: 9.914 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001916/2.218, allocations: 164.4 kB / 1.236 GB, free: 9.715 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001246/2.218, allocations: 30.27 kB / 1.236 GB, free: 9.68 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.167e-05/2.218, allocations: 4.375 kB / 1.236 GB, free: 9.676 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002857/2.219, allocations: 42.19 kB / 1.236 GB, free: 9.633 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.899e-05/2.219, allocations: 7.938 kB / 1.236 GB, free: 9.625 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.536e-05/2.219, allocations: 3.984 kB / 1.236 GB, free: 9.621 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.385e-05/2.219, allocations: 0 / 1.236 GB, free: 9.621 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.941e-05/2.219, allocations: 15.69 kB / 1.236 GB, free: 9.609 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001202/2.22, allocations: 0.5893 MB / 1.237 GB, free: 8.91 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.985e-05/2.22, allocations: 22.56 kB / 1.237 GB, free: 8.879 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.424e-05/2.22, allocations: 4.859 kB / 1.237 GB, free: 8.871 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006057/2.221, allocations: 343.4 kB / 1.237 GB, free: 8.469 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.875e-05/2.221, allocations: 38.55 kB / 1.237 GB, free: 8.422 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=1): time 8.026e-06/2.221, allocations: 3.984 kB / 1.237 GB, free: 8.418 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1): time 0.000333/2.222, allocations: 37.45 kB / 1.237 GB, free: 8.379 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.995e-05/2.222, allocations: 55.53 kB / 1.237 GB, free: 8.312 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001603/2.222, allocations: 109.2 kB / 1.237 GB, free: 8.199 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.46e-05/2.222, allocations: 25.7 kB / 1.238 GB, free: 8.168 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.813e-05/2.222, allocations: 80.14 kB / 1.238 GB, free: 8.086 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.308e-05/2.222, allocations: 3.906 kB / 1.238 GB, free: 8.082 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.879e-06/2.222, allocations: 4 kB / 1.238 GB, free: 8.078 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002018/2.222, allocations: 314.2 kB / 1.238 GB, free: 7.766 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.819e-05/2.222, allocations: 3.984 kB / 1.238 GB, free: 7.762 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.439e-05/2.222, allocations: 17.72 kB / 1.238 GB, free: 7.738 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.824e-05/2.222, allocations: 11.56 kB / 1.238 GB, free: 7.73 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/2.222, allocations: 0 / 1.238 GB, free: 7.73 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002403/2.223, allocations: 53.25 kB / 1.238 GB, free: 7.676 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.174e-05/2.223, allocations: 4 kB / 1.238 GB, free: 7.672 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/2.223, allocations: 0 / 1.238 GB, free: 7.672 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.721e-05/2.223, allocations: 0 / 1.238 GB, free: 7.672 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000135/2.223, allocations: 12.06 kB / 1.238 GB, free: 7.66 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.368e-05/2.223, allocations: 3.984 kB / 1.238 GB, free: 7.656 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.403e-05/2.223, allocations: 4 kB / 1.238 GB, free: 7.652 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.889e-05/2.223, allocations: 3.984 kB / 1.238 GB, free: 7.648 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.0001942/2.223, allocations: 117.7 kB / 1.238 GB, free: 7.523 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.656e-05/2.223, allocations: 0 / 1.238 GB, free: 7.523 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002652/2.224, allocations: 126.2 kB / 1.238 GB, free: 7.395 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001145/2.224, allocations: 184.2 kB / 1.238 GB, free: 7.207 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001109/2.224, allocations: 184.2 kB / 1.239 GB, free: 7.02 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001121/2.224, allocations: 176.3 kB / 1.239 GB, free: 6.84 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004997/2.225, allocations: 412.3 kB / 1.239 GB, free: 6.383 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.645e-05/2.225, allocations: 104.9 kB / 1.239 GB, free: 6.273 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.124e-05/2.225, allocations: 104.9 kB / 1.239 GB, free: 6.164 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001213/2.225, allocations: 183.6 kB / 1.24 GB, free: 5.98 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001358/2.225, allocations: 184.2 kB / 1.24 GB, free: 5.793 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001211/2.225, allocations: 180.2 kB / 1.24 GB, free: 5.609 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001178/2.225, allocations: 176.3 kB / 1.24 GB, free: 5.43 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000384/2.226, allocations: 311.6 kB / 1.24 GB, free: 5.105 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001741/2.226, allocations: 186.1 kB / 1.241 GB, free: 4.898 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001424/2.226, allocations: 183.6 kB / 1.241 GB, free: 4.715 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003262/2.227, allocations: 109 kB / 1.241 GB, free: 4.602 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000147/2.227, allocations: 184.2 kB / 1.241 GB, free: 4.414 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.98e-05/2.227, allocations: 105 kB / 1.241 GB, free: 4.305 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001402/2.227, allocations: 98.64 kB / 1.241 GB, free: 4.211 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.072e-06/2.227, allocations: 0 / 1.241 GB, free: 4.211 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0009118/2.228, allocations: 31.94 kB / 1.241 GB, free: 4.18 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.0006205/2.229, allocations: 226 kB / 1.241 GB, free: 3.949 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001635/2.229, allocations: 11.94 kB / 1.241 GB, free: 3.938 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 6.833e-06/2.229, allocations: 0 / 1.241 GB, free: 3.938 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.43e-06/2.229, allocations: 0 / 1.241 GB, free: 3.938 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00104/2.23, allocations: 0.5309 MB / 1.242 GB, free: 3.406 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006247/2.231, allocations: 188.7 kB / 1.242 GB, free: 3.191 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004157/2.231, allocations: 0.677 MB / 1.243 GB, free: 2.488 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001239/2.231, allocations: 6.25 kB / 1.243 GB, free: 2.484 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.941e-05/2.231, allocations: 11.44 kB / 1.243 GB, free: 2.473 MB / 0.7448 GB Notification: Performance of SimCode: time 2.114e-06/2.231, allocations: 0 / 1.243 GB, free: 2.473 MB / 0.7448 GB Notification: Performance of Templates: time 0.009065/2.24, allocations: 1.081 MB / 1.244 GB, free: 1.453 MB / 0.7448 GB make -j1 -f Buildings_7.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile (rm -f Buildings_7.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_7.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/Buildings_7.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & ./Buildings_7.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1)