Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008009/0.0008008, allocations: 91.3 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009375/0.0009376, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.318/1.318, allocations: 205.4 MB / 222.1 MB, free: 5.527 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.673/1.673, allocations: 292.7 MB / 0.5499 GB, free: 14.56 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004578/0.0004578, allocations: 14.92 kB / 0.6737 GB, free: 26.06 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2218/0.2223, allocations: 116.3 MB / 0.7873 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.003684/0.226, allocations: 2.889 MB / 0.7901 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 9.799e-05/0.2261, allocations: 39.91 kB / 0.7901 GB, free: 9 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.895e-05/0.2262, allocations: 0 / 0.7901 GB, free: 9 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001027/0.2263, allocations: 4 kB / 0.7901 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.098e-05/0.2264, allocations: 11.91 kB / 0.7902 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003843/0.2268, allocations: 131.4 kB / 0.7903 GB, free: 8.855 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.507e-05/0.2268, allocations: 43.81 kB / 0.7903 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.138e-05/0.2269, allocations: 4 kB / 0.7903 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.612e-05/0.2269, allocations: 15.98 kB / 0.7903 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.521e-05/0.227, allocations: 11.92 kB / 0.7903 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.399e-05/0.227, allocations: 4 kB / 0.7904 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002294/0.2273, allocations: 91.67 kB / 0.7904 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.45e-05/0.2273, allocations: 8 kB / 0.7904 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.418e-05/0.2273, allocations: 25.7 kB / 0.7905 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001455/0.2275, allocations: 72.09 kB / 0.7905 GB, free: 8.578 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.2275, allocations: 0 / 0.7905 GB, free: 8.578 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.312e-06/0.2275, allocations: 0 / 0.7905 GB, free: 8.578 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.897e-06/0.2275, allocations: 0 / 0.7905 GB, free: 8.578 MB / 0.6075 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.000384/0.2279, allocations: 339.3 kB / 0.7909 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.498e-05/0.2279, allocations: 8.031 kB / 0.7909 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.983e-05/0.228, allocations: 15.86 kB / 0.7909 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001216/0.2281, allocations: 163.1 kB / 0.791 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.353e-05/0.2282, allocations: 29.7 kB / 0.7911 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.857e-06/0.2282, allocations: 4 kB / 0.7911 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001249/0.2283, allocations: 41.67 kB / 0.7911 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/0.2284, allocations: 0 / 0.7911 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.2284, allocations: 0 / 0.7911 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.517e-05/0.2284, allocations: 0 / 0.7911 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.63e-05/0.2284, allocations: 23.94 kB / 0.7911 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006231/0.2291, allocations: 0.5755 MB / 0.7917 GB, free: 7.168 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 4.408e-05/0.2291, allocations: 26.58 kB / 0.7917 GB, free: 7.133 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.269e-05/0.2291, allocations: 4.859 kB / 0.7917 GB, free: 7.125 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002136/0.2294, allocations: 344.4 kB / 0.7921 GB, free: 6.715 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.722e-05/0.2294, allocations: 34.56 kB / 0.7921 GB, free: 6.672 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 9.62e-07/0.2294, allocations: 0 / 0.7921 GB, free: 6.672 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.0001597/0.2296, allocations: 41.59 kB / 0.7921 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.261e-05/0.2296, allocations: 55.53 kB / 0.7922 GB, free: 6.559 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.649e-05/0.2297, allocations: 105.8 kB / 0.7923 GB, free: 6.445 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.491e-05/0.2297, allocations: 25.7 kB / 0.7923 GB, free: 6.414 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.799e-05/0.2298, allocations: 84.05 kB / 0.7924 GB, free: 6.328 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.61e-06/0.2298, allocations: 3.906 kB / 0.7924 GB, free: 6.324 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.375e-06/0.2298, allocations: 0 / 0.7924 GB, free: 6.324 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001009/0.2299, allocations: 318.8 kB / 0.7927 GB, free: 6.004 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.359e-05/0.2299, allocations: 3.984 kB / 0.7927 GB, free: 6 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.043e-05/0.2299, allocations: 17.72 kB / 0.7927 GB, free: 5.977 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.766e-05/0.23, allocations: 4 kB / 0.7927 GB, free: 5.973 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.23, allocations: 0 / 0.7927 GB, free: 5.973 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.941e-05/0.2301, allocations: 53.62 kB / 0.7928 GB, free: 5.914 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.124e-05/0.2301, allocations: 4 kB / 0.7928 GB, free: 5.91 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.2301, allocations: 0 / 0.7928 GB, free: 5.91 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.076e-05/0.2301, allocations: 3.953 kB / 0.7928 GB, free: 5.906 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.108e-05/0.2301, allocations: 4 kB / 0.7928 GB, free: 5.902 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.2302, allocations: 12.05 kB / 0.7928 GB, free: 5.891 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.847e-05/0.2302, allocations: 7.875 kB / 0.7928 GB, free: 5.883 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.003e-05/0.2302, allocations: 4 kB / 0.7928 GB, free: 5.879 MB / 0.6075 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 7.127e-05/0.2303, allocations: 110.5 kB / 0.7929 GB, free: 5.762 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.296e-05/0.2303, allocations: 7.938 kB / 0.7929 GB, free: 5.754 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001073/0.2304, allocations: 120.2 kB / 0.793 GB, free: 5.625 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.699e-05/0.2305, allocations: 184.3 kB / 0.7932 GB, free: 5.438 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.632e-05/0.2306, allocations: 188.2 kB / 0.7934 GB, free: 5.246 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.743e-05/0.2306, allocations: 176.3 kB / 0.7936 GB, free: 5.066 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002368/0.2309, allocations: 413.2 kB / 0.794 GB, free: 4.605 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.261e-05/0.2309, allocations: 101 kB / 0.794 GB, free: 4.5 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.113e-05/0.2309, allocations: 101 kB / 0.7941 GB, free: 4.395 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.314e-05/0.231, allocations: 184.2 kB / 0.7943 GB, free: 4.207 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.036e-05/0.2311, allocations: 184.2 kB / 0.7945 GB, free: 4.02 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6e-05/0.2311, allocations: 180.2 kB / 0.7947 GB, free: 3.836 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.712e-05/0.2312, allocations: 176.3 kB / 0.7948 GB, free: 3.656 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001279/0.2313, allocations: 323.5 kB / 0.7951 GB, free: 3.316 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.364e-05/0.2314, allocations: 186.1 kB / 0.7953 GB, free: 3.109 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.158e-05/0.2315, allocations: 180.2 kB / 0.7955 GB, free: 2.926 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001288/0.2316, allocations: 109.2 kB / 0.7956 GB, free: 2.812 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.865e-05/0.2317, allocations: 180.5 kB / 0.7958 GB, free: 2.629 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.726e-05/0.2317, allocations: 105 kB / 0.7959 GB, free: 2.52 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.518e-05/0.2318, allocations: 95.22 kB / 0.796 GB, free: 2.426 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2318, allocations: 0 / 0.796 GB, free: 2.426 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002422/0.232, allocations: 28 kB / 0.796 GB, free: 2.398 MB / 0.6075 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.0002572/0.2323, allocations: 242.4 kB / 0.7962 GB, free: 2.148 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 6.695e-05/0.2324, allocations: 11.94 kB / 0.7962 GB, free: 2.137 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.2324, allocations: 0 / 0.7962 GB, free: 2.137 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.533e-06/0.2324, allocations: 0 / 0.7962 GB, free: 2.137 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004186/0.2328, allocations: 0.5303 MB / 0.7967 GB, free: 1.602 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002384/0.2331, allocations: 183.9 kB / 0.7969 GB, free: 1.395 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003074/0.2334, allocations: 0.6731 MB / 0.7976 GB, free: 0.6953 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.847e-05/0.2334, allocations: 4 kB / 0.7976 GB, free: 0.6914 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.67e-05/0.2335, allocations: 15.42 kB / 0.7976 GB, free: 0.6758 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.2335, allocations: 3.938 kB / 0.7976 GB, free: 0.6719 MB / 0.6075 GB Notification: Performance of Templates: time 0.003357/0.2368, allocations: 1.085 MB / 0.7987 GB, free: 15.62 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & ./Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1) Environment - environmentSimulation: