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 loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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") 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.487/2.487, allocations: 251.3 MB / 266.2 MB, free: 11.52 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001365/0.001365, allocations: 182.1 kB / 325.8 MB, free: 2.793 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.342/2.342, allocations: 205.4 MB / 0.5767 GB, free: 20.71 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.0009693/0.0009691, allocations: 88.33 kB / 0.6812 GB, free: 13.56 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004818/0.000482, allocations: 14.7 kB / 0.7953 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2093/0.2098, allocations: 106.3 MB / 0.899 GB, free: 65.42 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.004243/0.2141, allocations: 2.892 MB / 0.9019 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0001167/0.2143, allocations: 51.84 kB / 0.9019 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.622e-05/0.2143, allocations: 0 / 0.9019 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001009/0.2144, allocations: 3.938 kB / 0.9019 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.41e-05/0.2145, allocations: 19.91 kB / 0.9019 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005972/0.2151, allocations: 115.5 kB / 0.902 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.088e-05/0.2152, allocations: 51.81 kB / 0.9021 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 3.265e-05/0.2153, allocations: 4 kB / 0.9021 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.103e-05/0.2153, allocations: 15.92 kB / 0.9021 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.075e-05/0.2154, allocations: 11.98 kB / 0.9021 GB, free: 62.24 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.389e-05/0.2154, allocations: 0 / 0.9021 GB, free: 62.24 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003308/0.2158, allocations: 91.73 kB / 0.9022 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.359e-05/0.2158, allocations: 7.938 kB / 0.9022 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.831e-05/0.2159, allocations: 29.7 kB / 0.9022 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001778/0.2161, allocations: 55.94 kB / 0.9023 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.2161, allocations: 0 / 0.9023 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.024e-06/0.2161, allocations: 0 / 0.9023 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.11e-06/0.2161, allocations: 4 kB / 0.9023 GB, free: 62.05 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.0003639/0.2165, allocations: 343.7 kB / 0.9026 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.2165, allocations: 12.03 kB / 0.9026 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.963e-05/0.2166, allocations: 0.9375 kB / 0.9026 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.448e-05/0.2167, allocations: 168.3 kB / 0.9028 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.099e-05/0.2168, allocations: 30.27 kB / 0.9028 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.42e-05/0.2168, allocations: 384 / 0.9028 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001654/0.217, allocations: 45.62 kB / 0.9029 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.217, allocations: 7.938 kB / 0.9029 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.516e-05/0.217, allocations: 7.938 kB / 0.9029 GB, free: 61.35 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.582e-05/0.217, allocations: 0 / 0.9029 GB, free: 61.35 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.578e-05/0.2171, allocations: 11.98 kB / 0.9029 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006294/0.2178, allocations: 0.5989 MB / 0.9035 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 4.001e-05/0.2178, allocations: 14.58 kB / 0.9035 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.794e-05/0.2178, allocations: 8.859 kB / 0.9035 GB, free: 60.58 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002185/0.2181, allocations: 348.5 kB / 0.9038 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.486e-05/0.2181, allocations: 34.5 kB / 0.9039 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 2.164e-06/0.2181, allocations: 0 / 0.9039 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 0.0001623/0.2183, allocations: 33.7 kB / 0.9039 GB, free: 60.08 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.253e-05/0.2183, allocations: 51.41 kB / 0.904 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.699e-05/0.2184, allocations: 105.8 kB / 0.9041 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.393e-05/0.2185, allocations: 25.83 kB / 0.9041 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.582e-05/0.2185, allocations: 88.14 kB / 0.9042 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 8.716e-06/0.2185, allocations: 3.906 kB / 0.9042 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.13e-06/0.2185, allocations: 4 kB / 0.9042 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.244e-05/0.2186, allocations: 314.8 kB / 0.9045 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.926e-05/0.2186, allocations: 7.984 kB / 0.9045 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.873e-05/0.2187, allocations: 17.66 kB / 0.9045 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.024e-05/0.2187, allocations: 12 kB / 0.9045 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.2187, allocations: 0 / 0.9045 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.475e-05/0.2188, allocations: 45.69 kB / 0.9045 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.388e-05/0.2189, allocations: 6.031 kB / 0.9046 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.2189, allocations: 3.984 kB / 0.9046 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.842e-05/0.219, allocations: 4 kB / 0.9046 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.181e-05/0.219, allocations: 7.938 kB / 0.9046 GB, free: 59.35 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.523e-06/0.2191, allocations: 0 / 0.9046 GB, free: 59.35 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.109e-05/0.2191, allocations: 3.984 kB / 0.9046 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.559e-05/0.2191, allocations: 4 kB / 0.9046 GB, free: 59.34 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 6.502e-05/0.2192, allocations: 117.8 kB / 0.9047 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.267e-05/0.2192, allocations: 4 kB / 0.9047 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001149/0.2194, allocations: 121.9 kB / 0.9048 GB, free: 59.08 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.361e-05/0.2194, allocations: 184.2 kB / 0.905 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.23e-05/0.2194, allocations: 176.3 kB / 0.9052 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.961e-05/0.2195, allocations: 184.2 kB / 0.9053 GB, free: 58.53 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001714/0.2197, allocations: 413.2 kB / 0.9057 GB, free: 58.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-05/0.2197, allocations: 101 kB / 0.9058 GB, free: 57.96 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.983e-05/0.2197, allocations: 108.9 kB / 0.9059 GB, free: 57.85 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.99e-05/0.2198, allocations: 180.3 kB / 0.9061 GB, free: 57.66 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.504e-05/0.2198, allocations: 188.2 kB / 0.9063 GB, free: 57.47 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.147e-05/0.2198, allocations: 180.3 kB / 0.9064 GB, free: 57.29 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.177e-05/0.2199, allocations: 180.3 kB / 0.9066 GB, free: 57.11 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.077e-05/0.22, allocations: 307.7 kB / 0.9069 GB, free: 56.78 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.288e-05/0.2201, allocations: 186 kB / 0.9071 GB, free: 56.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.989e-05/0.2201, allocations: 180.3 kB / 0.9073 GB, free: 56.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000198/0.2203, allocations: 109 kB / 0.9074 GB, free: 56.28 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.282e-05/0.2204, allocations: 184.2 kB / 0.9075 GB, free: 56.09 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.055e-05/0.2204, allocations: 101 kB / 0.9076 GB, free: 55.98 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.343e-05/0.2205, allocations: 91.27 kB / 0.9077 GB, free: 55.89 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4.21e-07/0.2205, allocations: 0 / 0.9077 GB, free: 55.89 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003569/0.2209, allocations: 35.94 kB / 0.9078 GB, free: 55.86 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.0002892/0.2212, allocations: 226.4 kB / 0.908 GB, free: 55.62 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 8.827e-05/0.2213, allocations: 16.25 kB / 0.908 GB, free: 55.61 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.2213, allocations: 0 / 0.908 GB, free: 55.61 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 2.755e-06/0.2213, allocations: 0 / 0.908 GB, free: 55.61 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000421/0.2217, allocations: 0.5271 MB / 0.9085 GB, free: 55.08 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002616/0.222, allocations: 191.9 kB / 0.9087 GB, free: 54.86 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001193/0.2221, allocations: 0.677 MB / 0.9093 GB, free: 54.16 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 6.318e-05/0.2222, allocations: 10.62 kB / 0.9094 GB, free: 54.15 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.143e-05/0.2222, allocations: 7.438 kB / 0.9094 GB, free: 54.14 MB / 0.6042 GB Notification: Performance of SimCode: time 9.32e-07/0.2222, allocations: 0 / 0.9094 GB, free: 54.14 MB / 0.6042 GB Notification: Performance of Templates: time 0.004477/0.2267, allocations: 1.096 MB / 0.9104 GB, free: 53.1 MB / 0.6042 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)