Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.401/1.401, allocations: 252 MB / 267.6 MB, free: 10.92 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.001/0.001, allocations: 183.5 kB / 327.3 MB, free: 2.207 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.571/1.571, allocations: 205.4 MB / 0.5783 GB, free: 20.19 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.0009255/0.0009256, allocations: 90.11 kB / 0.6829 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003023/0.0003025, allocations: 7.281 kB / 0.797 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.195/0.1953, allocations: 106.3 MB / 0.9008 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.003351/0.1987, allocations: 2.896 MB / 0.9037 GB, free: 61 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 8.866e-05/0.1989, allocations: 47.83 kB / 0.9037 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.673e-05/0.1989, allocations: 0 / 0.9037 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 9.399e-05/0.199, allocations: 3.938 kB / 0.9037 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.933e-05/0.1991, allocations: 15.97 kB / 0.9037 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004714/0.1996, allocations: 134.5 kB / 0.9039 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.4e-05/0.1996, allocations: 47.83 kB / 0.9039 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 3.798e-05/0.1997, allocations: 0 / 0.9039 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.852e-05/0.1997, allocations: 11.98 kB / 0.9039 GB, free: 60.74 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.585e-05/0.1998, allocations: 11.92 kB / 0.9039 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.285e-05/0.1998, allocations: 4 kB / 0.9039 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002484/0.2001, allocations: 91.73 kB / 0.904 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.123e-05/0.2001, allocations: 7.984 kB / 0.904 GB, free: 60.63 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.068e-05/0.2001, allocations: 29.64 kB / 0.904 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001449/0.2003, allocations: 55.95 kB / 0.9041 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.728e-06/0.2003, allocations: 0 / 0.9041 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.844e-06/0.2003, allocations: 0 / 0.9041 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.817e-06/0.2003, allocations: 0 / 0.9041 GB, free: 60.54 MB / 0.6042 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.0003245/0.2007, allocations: 347.5 kB / 0.9044 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.2007, allocations: 8.031 kB / 0.9044 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.875e-05/0.2007, allocations: 11.95 kB / 0.9045 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.312e-05/0.2008, allocations: 163.1 kB / 0.9046 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.235e-05/0.2009, allocations: 25.7 kB / 0.9046 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.073e-05/0.2009, allocations: 7.938 kB / 0.9046 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001245/0.2011, allocations: 45.67 kB / 0.9047 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.637e-06/0.2011, allocations: 0 / 0.9047 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.2011, allocations: 0 / 0.9047 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.959e-05/0.2011, allocations: 11.94 kB / 0.9047 GB, free: 59.83 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.155e-05/0.2012, allocations: 11.94 kB / 0.9047 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005112/0.2017, allocations: 0.5833 MB / 0.9053 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 2.775e-05/0.2017, allocations: 18.58 kB / 0.9053 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.222e-05/0.2017, allocations: 4.859 kB / 0.9053 GB, free: 59.08 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001506/0.2019, allocations: 344.5 kB / 0.9056 GB, free: 58.67 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.631e-05/0.2019, allocations: 42.45 kB / 0.9057 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 1.703e-06/0.2019, allocations: 4 kB / 0.9057 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 0.0001533/0.2021, allocations: 37.55 kB / 0.9057 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.344e-05/0.2021, allocations: 51.41 kB / 0.9058 GB, free: 58.51 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.966e-05/0.2022, allocations: 105.8 kB / 0.9059 GB, free: 58.39 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.688e-06/0.2022, allocations: 25.7 kB / 0.9059 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.868e-05/0.2022, allocations: 84.05 kB / 0.906 GB, free: 58.28 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.979e-06/0.2022, allocations: 4 kB / 0.906 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.647e-06/0.2023, allocations: 4 kB / 0.906 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.7e-05/0.2023, allocations: 319 kB / 0.9063 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.235e-05/0.2023, allocations: 0 / 0.9063 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.86e-05/0.2024, allocations: 13.72 kB / 0.9063 GB, free: 57.93 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.025e-05/0.2024, allocations: 8 kB / 0.9063 GB, free: 57.92 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.2024, allocations: 0 / 0.9063 GB, free: 57.92 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.518e-05/0.2025, allocations: 53.62 kB / 0.9063 GB, free: 57.86 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.2025, allocations: 4.062 kB / 0.9063 GB, free: 57.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.2025, allocations: 7.953 kB / 0.9064 GB, free: 57.85 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.2025, allocations: 0 / 0.9064 GB, free: 57.85 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.413e-05/0.2026, allocations: 11.98 kB / 0.9064 GB, free: 57.84 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.2026, allocations: 0 / 0.9064 GB, free: 57.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.037e-05/0.2026, allocations: 3.938 kB / 0.9064 GB, free: 57.84 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.578e-06/0.2026, allocations: 7.938 kB / 0.9064 GB, free: 57.83 MB / 0.6042 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 4.893e-05/0.2027, allocations: 105.8 kB / 0.9065 GB, free: 57.71 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.467e-05/0.2027, allocations: 3.906 kB / 0.9065 GB, free: 57.71 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.608e-05/0.2028, allocations: 126.9 kB / 0.9066 GB, free: 57.58 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.377e-05/0.2028, allocations: 184.2 kB / 0.9068 GB, free: 57.39 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.509e-05/0.2028, allocations: 180.3 kB / 0.907 GB, free: 57.21 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-05/0.2029, allocations: 180.3 kB / 0.9071 GB, free: 57.02 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001353/0.203, allocations: 409.2 kB / 0.9075 GB, free: 56.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.652e-05/0.203, allocations: 109 kB / 0.9076 GB, free: 56.45 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.519e-05/0.2031, allocations: 108.9 kB / 0.9077 GB, free: 56.34 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-05/0.2031, allocations: 176.5 kB / 0.9079 GB, free: 56.16 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.707e-05/0.2031, allocations: 180.3 kB / 0.9081 GB, free: 55.98 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.387e-05/0.2032, allocations: 184.2 kB / 0.9082 GB, free: 55.79 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.411e-05/0.2032, allocations: 180.2 kB / 0.9084 GB, free: 55.61 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.613e-05/0.2033, allocations: 311.7 kB / 0.9087 GB, free: 55.28 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.456e-05/0.2033, allocations: 186.1 kB / 0.9089 GB, free: 55.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.798e-05/0.2033, allocations: 184.2 kB / 0.9091 GB, free: 54.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001316/0.2035, allocations: 105 kB / 0.9092 GB, free: 54.77 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.465e-05/0.2035, allocations: 188.2 kB / 0.9093 GB, free: 54.58 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.424e-05/0.2035, allocations: 105 kB / 0.9094 GB, free: 54.47 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.112e-05/0.2036, allocations: 87.27 kB / 0.9095 GB, free: 54.39 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2036, allocations: 3.938 kB / 0.9095 GB, free: 54.38 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002699/0.2039, allocations: 31.94 kB / 0.9096 GB, free: 54.35 MB / 0.6042 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.0002061/0.2041, allocations: 230.4 kB / 0.9098 GB, free: 54.11 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 6.027e-05/0.2041, allocations: 15.92 kB / 0.9098 GB, free: 54.1 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.2042, allocations: 0 / 0.9098 GB, free: 54.1 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 2.474e-06/0.2042, allocations: 320 / 0.9098 GB, free: 54.1 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003301/0.2045, allocations: 0.5284 MB / 0.9103 GB, free: 53.57 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002159/0.2047, allocations: 217.6 kB / 0.9105 GB, free: 53.32 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.993e-05/0.2048, allocations: 0.677 MB / 0.9112 GB, free: 52.62 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.854e-05/0.2049, allocations: 15.38 kB / 0.9112 GB, free: 52.6 MB / 0.6042 GB Notification: Performance of SimCode: time 3.01e-07/0.2049, allocations: 4 kB / 0.9112 GB, free: 52.6 MB / 0.6042 GB Notification: Performance of Templates: time 0.002364/0.2072, allocations: 1.132 MB / 0.9123 GB, free: 51.48 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile (rm -f Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & ./Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1)