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.1962/0.1997, allocations: 80.84 MB / 0.5899 GB, free: 6.996 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.005392/0.2052, allocations: 3.327 MB / 0.5931 GB, free: 3.637 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 9.855e-05/0.2053, allocations: 51.88 kB / 0.5932 GB, free: 3.586 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.168e-05/0.2054, allocations: 0 / 0.5932 GB, free: 3.586 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001021/0.2055, allocations: 0 / 0.5932 GB, free: 3.586 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 8.726e-05/0.2056, allocations: 11.91 kB / 0.5932 GB, free: 3.574 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004919/0.2061, allocations: 155.4 kB / 0.5933 GB, free: 3.422 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.755e-05/0.2062, allocations: 31.91 kB / 0.5934 GB, free: 3.391 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.783e-05/0.2062, allocations: 4 kB / 0.5934 GB, free: 3.387 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.998e-05/0.2063, allocations: 19.92 kB / 0.5934 GB, free: 3.367 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.939e-05/0.2064, allocations: 11.92 kB / 0.5934 GB, free: 3.355 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.402e-05/0.2064, allocations: 4 kB / 0.5934 GB, free: 3.352 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003299/0.2067, allocations: 171.6 kB / 0.5936 GB, free: 3.184 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.836e-05/0.2068, allocations: 7.969 kB / 0.5936 GB, free: 3.176 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.859e-05/0.2068, allocations: 11.94 kB / 0.5936 GB, free: 3.164 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002499/0.2071, allocations: 136 kB / 0.5937 GB, free: 3.031 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.2071, allocations: 0 / 0.5937 GB, free: 3.031 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.2071, allocations: 0 / 0.5937 GB, free: 3.031 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.939e-06/0.2071, allocations: 4 kB / 0.5937 GB, free: 3.027 MB / 446.1 MB 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.0004462/0.2076, allocations: 347.5 kB / 0.5941 GB, free: 2.641 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.863e-05/0.2076, allocations: 8.031 kB / 0.5941 GB, free: 2.633 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.539e-05/0.2077, allocations: 12.83 kB / 0.5941 GB, free: 2.621 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001177/0.2078, allocations: 160.4 kB / 0.5942 GB, free: 2.426 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.023e-05/0.2079, allocations: 30.27 kB / 0.5943 GB, free: 2.391 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.299e-05/0.2079, allocations: 4.375 kB / 0.5943 GB, free: 2.387 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001392/0.208, allocations: 57.5 kB / 0.5943 GB, free: 2.324 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.2081, allocations: 0 / 0.5943 GB, free: 2.324 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.221e-05/0.2081, allocations: 0 / 0.5943 GB, free: 2.324 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.957e-05/0.2081, allocations: 0 / 0.5943 GB, free: 2.324 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.281e-05/0.2081, allocations: 15.98 kB / 0.5943 GB, free: 2.309 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007095/0.2089, allocations: 0.5833 MB / 0.5949 GB, free: 1.602 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.869e-05/0.2089, allocations: 22.52 kB / 0.5949 GB, free: 1.57 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.359e-05/0.2089, allocations: 8.859 kB / 0.5949 GB, free: 1.559 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002463/0.2092, allocations: 344.5 kB / 0.5953 GB, free: 1.148 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.457e-05/0.2092, allocations: 34.56 kB / 0.5953 GB, free: 1.105 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 1.042e-06/0.2092, allocations: 0 / 0.5953 GB, free: 1.105 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001363/0.2094, allocations: 29.7 kB / 0.5953 GB, free: 1.07 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.916e-05/0.2095, allocations: 51.41 kB / 0.5954 GB, free: 1.008 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.464e-05/0.2095, allocations: 101.8 kB / 0.5955 GB, free: 0.8984 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.844e-05/0.2096, allocations: 33.83 kB / 0.5955 GB, free: 0.8594 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001017/0.2097, allocations: 87.98 kB / 0.5956 GB, free: 0.7695 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.107e-05/0.2097, allocations: 3.906 kB / 0.5956 GB, free: 0.7656 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.076e-05/0.2097, allocations: 17.72 kB / 0.5956 GB, free: 0.7422 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001263/0.2099, allocations: 318.8 kB / 0.5959 GB, free: 432 kB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.506e-05/0.2099, allocations: 4 kB / 0.5959 GB, free: 428 kB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.511e-05/0.2099, allocations: 17.72 kB / 0.5959 GB, free: 404 kB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.939e-05/0.21, allocations: 21.7 kB / 0.5959 GB, free: 376 kB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.21, allocations: 7.938 kB / 0.596 GB, free: 368 kB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.275e-05/0.2101, allocations: 45.64 kB / 0.596 GB, free: 316 kB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.2101, allocations: 4 kB / 0.596 GB, free: 312 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.2101, allocations: 0 / 0.596 GB, free: 312 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.2101, allocations: 3.984 kB / 0.596 GB, free: 308 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001445/0.2103, allocations: 8 kB / 0.596 GB, free: 300 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.2103, allocations: 64 / 0.596 GB, free: 300 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.861e-05/0.2103, allocations: 7.938 kB / 0.596 GB, free: 292 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.149e-05/0.2103, allocations: 4 kB / 0.596 GB, free: 288 kB / 446.1 MB 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 7.308e-05/0.2104, allocations: 118.7 kB / 0.5961 GB, free: 160 kB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.469e-05/0.2104, allocations: 288 / 0.5961 GB, free: 160 kB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001268/0.2105, allocations: 120.9 kB / 0.5963 GB, free: 28 kB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.029e-05/0.2106, allocations: 184.2 kB / 0.5964 GB, free: 15.84 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.614e-05/0.2107, allocations: 188.2 kB / 0.5966 GB, free: 15.65 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.868e-05/0.2108, allocations: 176.3 kB / 0.5968 GB, free: 15.47 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002526/0.2111, allocations: 409.1 kB / 0.5972 GB, free: 15.01 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-05/0.2111, allocations: 105 kB / 0.5973 GB, free: 14.9 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.302e-05/0.2112, allocations: 105 kB / 0.5974 GB, free: 14.79 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.082e-05/0.2112, allocations: 184.3 kB / 0.5975 GB, free: 14.61 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.094e-05/0.2113, allocations: 184.3 kB / 0.5977 GB, free: 14.42 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.621e-05/0.2114, allocations: 184.1 kB / 0.5979 GB, free: 14.23 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.492e-05/0.2114, allocations: 176.3 kB / 0.5981 GB, free: 14.05 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001633/0.2116, allocations: 315.7 kB / 0.5984 GB, free: 13.72 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.935e-05/0.2117, allocations: 182 kB / 0.5985 GB, free: 13.52 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.247e-05/0.2118, allocations: 188.2 kB / 0.5987 GB, free: 13.32 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000135/0.2119, allocations: 109 kB / 0.5988 GB, free: 13.21 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.276e-05/0.212, allocations: 184.3 kB / 0.599 GB, free: 13.02 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.109e-05/0.2121, allocations: 104.9 kB / 0.5991 GB, free: 12.91 MB / 462.1 MB Notification: Performance of sorting global known variables: time 4.69e-05/0.2121, allocations: 87.27 kB / 0.5992 GB, free: 12.83 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2121, allocations: 0 / 0.5992 GB, free: 12.83 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0003168/0.2124, allocations: 32 kB / 0.5992 GB, free: 12.8 MB / 462.1 MB 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.0003392/0.2128, allocations: 238.3 kB / 0.5994 GB, free: 12.55 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 7.732e-05/0.2129, allocations: 12 kB / 0.5994 GB, free: 12.54 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.2129, allocations: 3.938 kB / 0.5994 GB, free: 12.54 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 2.675e-06/0.2129, allocations: 3.984 kB / 0.5995 GB, free: 12.54 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005521/0.2135, allocations: 458.8 kB / 0.5999 GB, free: 12.09 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003236/0.2138, allocations: 182 kB / 0.6001 GB, free: 11.88 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004846/0.2143, allocations: 0.6729 MB / 0.6007 GB, free: 11.18 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 4.592e-05/0.2143, allocations: 4 kB / 0.6007 GB, free: 11.18 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.818e-05/0.2144, allocations: 7.438 kB / 0.6007 GB, free: 11.17 MB / 462.1 MB Notification: Performance of SimCode: time 4.31e-07/0.2144, allocations: 4 kB / 0.6007 GB, free: 11.17 MB / 462.1 MB Notification: Performance of Templates: time 0.003924/0.2183, allocations: 1.161 MB / 0.6019 GB, free: 10.06 MB / 462.1 MB 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)