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.0009251/0.0009252, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.001054/0.001054, allocations: 177.3 kB / 15.95 MB, free: 216 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.733/1.733, allocations: 205.4 MB / 222.1 MB, free: 5.664 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.813/1.813, allocations: 292.5 MB / 0.5497 GB, free: 14.63 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.0005481/0.0005482, allocations: 20.25 kB / 0.6735 GB, free: 26.15 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2955/0.296, allocations: 116.3 MB / 0.7871 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.003891/0.3, allocations: 2.459 MB / 0.7895 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0004184/0.3004, allocations: 339.2 kB / 0.7898 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.66e-05/0.3005, allocations: 0 / 0.7898 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001005/0.3006, allocations: 0 / 0.7898 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.169e-05/0.3007, allocations: 7.984 kB / 0.7898 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006034/0.3013, allocations: 143.2 kB / 0.79 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.996e-05/0.3013, allocations: 15.97 kB / 0.79 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.021e-05/0.3014, allocations: 4 kB / 0.79 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.979e-05/0.3014, allocations: 15.92 kB / 0.79 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.17e-05/0.3015, allocations: 4 kB / 0.79 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.421e-05/0.3015, allocations: 0 / 0.79 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003608/0.3019, allocations: 107.9 kB / 0.7901 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.772e-05/0.302, allocations: 3.938 kB / 0.7901 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.044e-05/0.302, allocations: 33.64 kB / 0.7902 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002277/0.3022, allocations: 68.08 kB / 0.7902 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.374e-06/0.3022, allocations: 0 / 0.7902 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.074e-06/0.3023, allocations: 0 / 0.7902 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.228e-06/0.3023, allocations: 0 / 0.7902 GB, free: 8.77 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.0004604/0.3027, allocations: 339.4 kB / 0.7905 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/0.3028, allocations: 8.031 kB / 0.7906 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.068e-05/0.3028, allocations: 11.86 kB / 0.7906 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001248/0.303, allocations: 163.1 kB / 0.7907 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.966e-05/0.3031, allocations: 33.69 kB / 0.7908 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.108e-05/0.3031, allocations: 0 / 0.7908 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001563/0.3032, allocations: 37.69 kB / 0.7908 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.3033, allocations: 4 kB / 0.7908 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.488e-05/0.3033, allocations: 4 kB / 0.7908 GB, free: 8.082 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.264e-05/0.3033, allocations: 3.938 kB / 0.7908 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001182/0.3034, allocations: 19.94 kB / 0.7908 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007336/0.3042, allocations: 0.5639 MB / 0.7914 GB, free: 7.371 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 5.972e-05/0.3042, allocations: 18.58 kB / 0.7914 GB, free: 7.344 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002519/0.3045, allocations: 336.5 kB / 0.7917 GB, free: 6.941 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.394e-05/0.3045, allocations: 30.56 kB / 0.7917 GB, free: 6.902 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 1.413e-06/0.3046, allocations: 4 kB / 0.7917 GB, free: 6.898 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.000211/0.3048, allocations: 41.59 kB / 0.7918 GB, free: 6.852 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.846e-05/0.3048, allocations: 55.39 kB / 0.7918 GB, free: 6.785 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.972e-05/0.3049, allocations: 101.9 kB / 0.7919 GB, free: 6.676 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.164e-05/0.305, allocations: 25.7 kB / 0.792 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.467e-05/0.305, allocations: 84.05 kB / 0.792 GB, free: 6.559 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.218e-05/0.3051, allocations: 7.891 kB / 0.792 GB, free: 6.551 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.47e-06/0.3051, allocations: 7.938 kB / 0.7921 GB, free: 6.543 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001184/0.3052, allocations: 314.8 kB / 0.7924 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.452e-05/0.3052, allocations: 4.125 kB / 0.7924 GB, free: 6.223 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.455e-05/0.3053, allocations: 13.72 kB / 0.7924 GB, free: 6.203 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.944e-05/0.3053, allocations: 15.92 kB / 0.7924 GB, free: 6.188 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.3053, allocations: 0 / 0.7924 GB, free: 6.188 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.924e-05/0.3054, allocations: 41.7 kB / 0.7924 GB, free: 6.141 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.142e-05/0.3054, allocations: 8 kB / 0.7924 GB, free: 6.133 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.099e-05/0.3054, allocations: 3.984 kB / 0.7924 GB, free: 6.129 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/0.3055, allocations: 4.062 kB / 0.7924 GB, free: 6.125 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.202e-05/0.3055, allocations: 7.953 kB / 0.7924 GB, free: 6.117 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.45e-05/0.3056, allocations: 7.938 kB / 0.7925 GB, free: 6.109 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.382e-05/0.3056, allocations: 3.938 kB / 0.7925 GB, free: 6.105 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.086e-05/0.3056, allocations: 0 / 0.7925 GB, free: 6.105 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 9.548e-05/0.3057, allocations: 109.8 kB / 0.7926 GB, free: 5.988 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.45e-05/0.3057, allocations: 3.938 kB / 0.7926 GB, free: 5.984 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001545/0.3059, allocations: 125 kB / 0.7927 GB, free: 5.848 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.756e-05/0.306, allocations: 180.2 kB / 0.7929 GB, free: 5.664 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.073e-05/0.3061, allocations: 184.2 kB / 0.793 GB, free: 5.477 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.267e-05/0.3061, allocations: 180.3 kB / 0.7932 GB, free: 5.293 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002636/0.3064, allocations: 405.2 kB / 0.7936 GB, free: 4.84 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.531e-05/0.3065, allocations: 109 kB / 0.7937 GB, free: 4.727 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.652e-05/0.3065, allocations: 108.9 kB / 0.7938 GB, free: 4.613 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.835e-05/0.3066, allocations: 176.3 kB / 0.794 GB, free: 4.434 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.383e-05/0.3067, allocations: 176.3 kB / 0.7941 GB, free: 4.254 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.98e-05/0.3068, allocations: 188.2 kB / 0.7943 GB, free: 4.062 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.552e-05/0.3069, allocations: 180.3 kB / 0.7945 GB, free: 3.879 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001629/0.307, allocations: 315.9 kB / 0.7948 GB, free: 3.547 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 9.429e-05/0.3071, allocations: 186 kB / 0.795 GB, free: 3.34 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.75e-05/0.3072, allocations: 184.2 kB / 0.7951 GB, free: 3.152 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001566/0.3074, allocations: 105 kB / 0.7952 GB, free: 3.043 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.68e-05/0.3075, allocations: 188.2 kB / 0.7954 GB, free: 2.852 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.142e-05/0.3075, allocations: 105 kB / 0.7955 GB, free: 2.742 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.209e-05/0.3076, allocations: 83.28 kB / 0.7956 GB, free: 2.66 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3076, allocations: 4 kB / 0.7956 GB, free: 2.656 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003164/0.3079, allocations: 35.95 kB / 0.7956 GB, free: 2.621 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.00029/0.3082, allocations: 238.7 kB / 0.7959 GB, free: 2.375 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 8.223e-05/0.3083, allocations: 11.92 kB / 0.7959 GB, free: 2.363 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3083, allocations: 4 kB / 0.7959 GB, free: 2.359 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.582e-06/0.3083, allocations: 0 / 0.7959 GB, free: 2.359 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004999/0.3088, allocations: 0.5226 MB / 0.7964 GB, free: 1.832 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002875/0.3091, allocations: 187.9 kB / 0.7966 GB, free: 1.621 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003135/0.3094, allocations: 0.6809 MB / 0.7972 GB, free: 0.9141 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.683e-05/0.3095, allocations: 11.52 kB / 0.7972 GB, free: 0.9062 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.999e-05/0.3095, allocations: 7.438 kB / 0.7973 GB, free: 0.8984 MB / 0.6075 GB Notification: Performance of SimCode: time 5.01e-07/0.3095, allocations: 0 / 0.7973 GB, free: 0.8984 MB / 0.6075 GB Notification: Performance of Templates: time 0.003874/0.3134, allocations: 1.069 MB / 0.7983 GB, free: 15.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: