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.0009194/0.000919, allocations: 91.69 kB / 15.36 MB, free: 0.7383 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.007523/0.007523, allocations: 174.1 kB / 16.27 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.462/1.462, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.795/1.795, allocations: 292.7 MB / 0.5502 GB, free: 14.48 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.000522/0.000522, allocations: 17.22 kB / 0.6743 GB, free: 25.96 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2278/0.2284, allocations: 116.3 MB / 0.7879 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.003706/0.2321, allocations: 2.985 MB / 0.7908 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 8.844e-05/0.2322, allocations: 47.86 kB / 0.7908 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.643e-05/0.2323, allocations: 4 kB / 0.7908 GB, free: 8.523 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 9.329e-05/0.2324, allocations: 11.92 kB / 0.7909 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.655e-05/0.2325, allocations: 0 / 0.7909 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005523/0.233, allocations: 159.4 kB / 0.791 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.104e-05/0.2331, allocations: 55.83 kB / 0.7911 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.56e-05/0.2332, allocations: 11.92 kB / 0.7911 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.124e-05/0.2332, allocations: 11.94 kB / 0.7911 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.625e-05/0.2333, allocations: 11.98 kB / 0.7911 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 9.858e-06/0.2333, allocations: 4 kB / 0.7911 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003507/0.2337, allocations: 175.5 kB / 0.7913 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.146e-05/0.2337, allocations: 0 / 0.7913 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.689e-05/0.2338, allocations: 41.62 kB / 0.7913 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002727/0.234, allocations: 136 kB / 0.7914 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.234, allocations: 0 / 0.7914 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.503e-06/0.2341, allocations: 0 / 0.7914 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.2341, allocations: 0 / 0.7914 GB, free: 7.91 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.0003704/0.2344, allocations: 347.5 kB / 0.7918 GB, free: 7.523 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.56e-05/0.2345, allocations: 12.03 kB / 0.7918 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.408e-05/0.2345, allocations: 4.844 kB / 0.7918 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001302/0.2347, allocations: 160.4 kB / 0.7919 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.923e-05/0.2348, allocations: 34.25 kB / 0.792 GB, free: 7.273 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.029e-05/0.2348, allocations: 4.359 kB / 0.792 GB, free: 7.27 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001495/0.2349, allocations: 49.56 kB / 0.792 GB, free: 7.215 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.553e-06/0.2349, allocations: 0 / 0.792 GB, free: 7.215 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/0.235, allocations: 4 kB / 0.792 GB, free: 7.211 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.668e-05/0.235, allocations: 4 kB / 0.792 GB, free: 7.207 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.27e-05/0.235, allocations: 11.98 kB / 0.792 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006103/0.2357, allocations: 0.5794 MB / 0.7926 GB, free: 6.492 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 3.45e-05/0.2357, allocations: 18.58 kB / 0.7926 GB, free: 6.465 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.727e-05/0.2357, allocations: 4.859 kB / 0.7926 GB, free: 6.457 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00023/0.236, allocations: 356.4 kB / 0.793 GB, free: 6.035 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.478e-05/0.236, allocations: 30.56 kB / 0.793 GB, free: 5.996 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 1.162e-06/0.236, allocations: 0 / 0.793 GB, free: 5.996 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.000141/0.2361, allocations: 33.69 kB / 0.793 GB, free: 5.957 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.787e-05/0.2362, allocations: 55.41 kB / 0.7931 GB, free: 5.891 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.792e-05/0.2363, allocations: 101.8 kB / 0.7932 GB, free: 5.781 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.45e-05/0.2363, allocations: 25.7 kB / 0.7932 GB, free: 5.75 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.113e-05/0.2363, allocations: 92.17 kB / 0.7933 GB, free: 5.656 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 7.163e-06/0.2364, allocations: 3.906 kB / 0.7933 GB, free: 5.652 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.469e-05/0.2364, allocations: 13.72 kB / 0.7933 GB, free: 5.633 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.434e-05/0.2365, allocations: 318.7 kB / 0.7936 GB, free: 5.312 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.564e-05/0.2365, allocations: 7.938 kB / 0.7936 GB, free: 5.305 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.148e-05/0.2365, allocations: 17.7 kB / 0.7936 GB, free: 5.281 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.122e-05/0.2366, allocations: 21.72 kB / 0.7937 GB, free: 5.254 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.2366, allocations: 4 kB / 0.7937 GB, free: 5.25 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.511e-05/0.2367, allocations: 49.62 kB / 0.7937 GB, free: 5.195 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.2367, allocations: 4 kB / 0.7937 GB, free: 5.191 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.2367, allocations: 3.938 kB / 0.7937 GB, free: 5.188 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.135e-05/0.2367, allocations: 4 kB / 0.7937 GB, free: 5.184 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.25e-05/0.2368, allocations: 4 kB / 0.7937 GB, free: 5.18 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.2368, allocations: 0 / 0.7937 GB, free: 5.18 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.864e-05/0.2368, allocations: 3.938 kB / 0.7937 GB, free: 5.176 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.314e-05/0.2368, allocations: 11.98 kB / 0.7937 GB, free: 5.164 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.473e-05/0.2369, allocations: 118.5 kB / 0.7939 GB, free: 5.039 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.62e-05/0.2369, allocations: 4 kB / 0.7939 GB, free: 5.035 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.821e-05/0.237, allocations: 112.9 kB / 0.794 GB, free: 4.91 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.362e-05/0.2371, allocations: 188.2 kB / 0.7941 GB, free: 4.719 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-05/0.2372, allocations: 180.2 kB / 0.7943 GB, free: 4.535 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.359e-05/0.2372, allocations: 184.3 kB / 0.7945 GB, free: 4.348 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001779/0.2374, allocations: 405.2 kB / 0.7949 GB, free: 3.895 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.622e-05/0.2374, allocations: 104.9 kB / 0.795 GB, free: 3.785 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.618e-05/0.2375, allocations: 105 kB / 0.7951 GB, free: 3.676 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.832e-05/0.2375, allocations: 184.2 kB / 0.7953 GB, free: 3.488 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.908e-05/0.2376, allocations: 184.2 kB / 0.7954 GB, free: 3.301 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.441e-05/0.2376, allocations: 176.3 kB / 0.7956 GB, free: 3.121 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.717e-05/0.2377, allocations: 180.4 kB / 0.7958 GB, free: 2.938 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001083/0.2378, allocations: 315.6 kB / 0.7961 GB, free: 2.605 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.239e-05/0.2378, allocations: 186.1 kB / 0.7962 GB, free: 2.398 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.88e-05/0.2379, allocations: 184.2 kB / 0.7964 GB, free: 2.211 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001389/0.2381, allocations: 113 kB / 0.7965 GB, free: 2.094 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.046e-05/0.2381, allocations: 176.3 kB / 0.7967 GB, free: 1.914 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.939e-05/0.2382, allocations: 108.9 kB / 0.7968 GB, free: 1.801 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.934e-05/0.2382, allocations: 83.27 kB / 0.7969 GB, free: 1.719 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.1e-07/0.2382, allocations: 0 / 0.7969 GB, free: 1.719 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002798/0.2385, allocations: 36 kB / 0.7969 GB, free: 1.684 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002361/0.2388, allocations: 238.3 kB / 0.7971 GB, free: 1.438 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 5.951e-05/0.2388, allocations: 19.98 kB / 0.7972 GB, free: 1.418 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.2388, allocations: 0 / 0.7972 GB, free: 1.418 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.048e-06/0.2388, allocations: 3.938 kB / 0.7972 GB, free: 1.414 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003948/0.2392, allocations: 0.5185 MB / 0.7977 GB, free: 0.8906 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002244/0.2395, allocations: 196 kB / 0.7979 GB, free: 0.6719 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002062/0.2397, allocations: 0.6692 MB / 0.7985 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 4.253e-05/0.2397, allocations: 11.22 kB / 0.7985 GB, free: 15.97 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.724e-05/0.2398, allocations: 11.44 kB / 0.7985 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of SimCode: time 3.21e-07/0.2398, allocations: 0 / 0.7985 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of Templates: time 0.003346/0.2431, allocations: 1.143 MB / 0.7997 GB, free: 14.86 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: