Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) 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 3.0.0/package.mo", uses=false) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Running command: translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.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_3.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.1889/0.1927, allocations: 80.83 MB / 0.6706 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.005349/0.1981, allocations: 3.274 MB / 0.6738 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0001167/0.1982, allocations: 51.86 kB / 0.6739 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.104e-05/0.1983, allocations: 0 / 0.6739 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001262/0.1984, allocations: 7.922 kB / 0.6739 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 8.278e-05/0.1985, allocations: 7.938 kB / 0.6739 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007777/0.1993, allocations: 179.3 kB / 0.6741 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001297/0.1994, allocations: 39.78 kB / 0.6741 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.949e-05/0.1995, allocations: 0 / 0.6741 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 5.119e-05/0.1996, allocations: 8 kB / 0.6741 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 9.975e-05/0.1997, allocations: 15.97 kB / 0.6741 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.287e-05/0.1997, allocations: 0 / 0.6741 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004632/0.2002, allocations: 175.5 kB / 0.6743 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 5.742e-05/0.2002, allocations: 0 / 0.6743 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.424e-05/0.2003, allocations: 15.94 kB / 0.6743 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003752/0.2006, allocations: 135.8 kB / 0.6744 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 9.107e-06/0.2007, allocations: 0 / 0.6744 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.964e-06/0.2007, allocations: 3.938 kB / 0.6744 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.364e-06/0.2007, allocations: 0 / 0.6744 GB, free: 14.09 MB / 0.5137 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.0005199/0.2012, allocations: 343.5 kB / 0.6748 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/0.2013, allocations: 8.031 kB / 0.6748 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.411e-05/0.2013, allocations: 4.938 kB / 0.6748 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001429/0.2015, allocations: 168.3 kB / 0.6749 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.139e-05/0.2016, allocations: 30.27 kB / 0.675 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.238e-05/0.2016, allocations: 384 / 0.675 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001507/0.2017, allocations: 53.61 kB / 0.675 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.2018, allocations: 0 / 0.675 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/0.2018, allocations: 0 / 0.675 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.307e-05/0.2018, allocations: 0 / 0.675 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.762e-05/0.2019, allocations: 23.97 kB / 0.675 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000708/0.2026, allocations: 0.5793 MB / 0.6756 GB, free: 12.67 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 4.677e-05/0.2026, allocations: 18.52 kB / 0.6756 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.182e-05/0.2027, allocations: 8.922 kB / 0.6756 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002475/0.2029, allocations: 344.4 kB / 0.676 GB, free: 12.22 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.502e-05/0.203, allocations: 30.56 kB / 0.676 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=1): time 1.172e-06/0.203, allocations: 0 / 0.676 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1): time 0.0001733/0.2032, allocations: 37.64 kB / 0.676 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.265e-05/0.2032, allocations: 63.47 kB / 0.6761 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.369e-05/0.2033, allocations: 97.84 kB / 0.6762 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.023e-05/0.2033, allocations: 25.7 kB / 0.6762 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.857e-05/0.2034, allocations: 88.05 kB / 0.6763 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.107e-05/0.2034, allocations: 15.86 kB / 0.6763 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.481e-05/0.2035, allocations: 17.7 kB / 0.6763 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001019/0.2036, allocations: 314.8 kB / 0.6766 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.808e-05/0.2036, allocations: 8 kB / 0.6766 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.638e-05/0.2036, allocations: 17.72 kB / 0.6766 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.265e-05/0.2037, allocations: 21.7 kB / 0.6767 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.2037, allocations: 0 / 0.6767 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.858e-05/0.2038, allocations: 49.62 kB / 0.6767 GB, free: 11.37 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.2038, allocations: 4 kB / 0.6767 GB, free: 11.37 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/0.2038, allocations: 0 / 0.6767 GB, free: 11.37 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.2039, allocations: 4.062 kB / 0.6767 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.426e-05/0.2039, allocations: 4 kB / 0.6767 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.161e-06/0.204, allocations: 4 kB / 0.6767 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.249e-05/0.204, allocations: 7.906 kB / 0.6767 GB, free: 11.35 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.044e-05/0.204, allocations: 0 / 0.6767 GB, free: 11.35 MB / 0.5137 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.411e-05/0.2041, allocations: 117.7 kB / 0.6768 GB, free: 11.22 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.301e-05/0.2041, allocations: 0 / 0.6768 GB, free: 11.22 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001528/0.2043, allocations: 132 kB / 0.677 GB, free: 11.08 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.269e-05/0.2044, allocations: 180.2 kB / 0.6771 GB, free: 10.9 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.995e-05/0.2044, allocations: 176.3 kB / 0.6773 GB, free: 10.72 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.687e-05/0.2045, allocations: 184.2 kB / 0.6775 GB, free: 10.53 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002359/0.2047, allocations: 405.2 kB / 0.6779 GB, free: 10.08 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.025e-05/0.2048, allocations: 113 kB / 0.678 GB, free: 9.961 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.596e-05/0.2048, allocations: 108.9 kB / 0.6781 GB, free: 9.848 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.976e-05/0.2049, allocations: 176.3 kB / 0.6782 GB, free: 9.668 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.286e-05/0.205, allocations: 176.3 kB / 0.6784 GB, free: 9.488 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.988e-05/0.205, allocations: 184.2 kB / 0.6786 GB, free: 9.301 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.155e-05/0.2051, allocations: 180.3 kB / 0.6788 GB, free: 9.117 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001672/0.2053, allocations: 315.7 kB / 0.6791 GB, free: 8.785 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 7.465e-05/0.2053, allocations: 178.1 kB / 0.6792 GB, free: 8.586 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.505e-05/0.2054, allocations: 192.2 kB / 0.6794 GB, free: 8.391 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001282/0.2056, allocations: 101 kB / 0.6795 GB, free: 8.285 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.091e-05/0.2057, allocations: 188.2 kB / 0.6797 GB, free: 8.094 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.814e-05/0.2057, allocations: 105 kB / 0.6798 GB, free: 7.984 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.862e-05/0.2058, allocations: 83.55 kB / 0.6799 GB, free: 7.902 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.783e-06/0.2058, allocations: 0 / 0.6799 GB, free: 7.902 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003218/0.2061, allocations: 43.88 kB / 0.6799 GB, free: 7.859 MB / 0.5137 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.0003479/0.2065, allocations: 234.5 kB / 0.6801 GB, free: 7.617 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 9.657e-05/0.2066, allocations: 19.92 kB / 0.6802 GB, free: 7.598 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.2066, allocations: 0 / 0.6802 GB, free: 7.598 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 1.854e-06/0.2066, allocations: 0 / 0.6802 GB, free: 7.598 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004914/0.2071, allocations: 460.5 kB / 0.6806 GB, free: 7.145 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003497/0.2074, allocations: 181.9 kB / 0.6808 GB, free: 6.941 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002364/0.2077, allocations: 0.6767 MB / 0.6814 GB, free: 6.238 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 5.532e-05/0.2078, allocations: 11.98 kB / 0.6814 GB, free: 6.227 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.541e-05/0.2078, allocations: 7.438 kB / 0.6815 GB, free: 6.219 MB / 0.5137 GB Notification: Performance of SimCode: time 2.425e-06/0.2078, allocations: 0 / 0.6815 GB, free: 6.219 MB / 0.5137 GB Notification: Performance of Templates: time 0.004077/0.2119, allocations: 1.171 MB / 0.6826 GB, free: 5.102 MB / 0.5137 GB make -j1 -f Buildings_3.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile (rm -f Buildings_3.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_3.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/Buildings_3.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & ./Buildings_3.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1)