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.2169/0.2194, allocations: 80.84 MB / 0.5897 GB, free: 7.117 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.007213/0.2267, allocations: 3.331 MB / 0.5929 GB, free: 3.754 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001342/0.2269, allocations: 55.81 kB / 0.593 GB, free: 3.699 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.975e-05/0.227, allocations: 0 / 0.593 GB, free: 3.699 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001637/0.2271, allocations: 0 / 0.593 GB, free: 3.699 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001148/0.2273, allocations: 15.91 kB / 0.593 GB, free: 3.684 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008012/0.2281, allocations: 155.4 kB / 0.5932 GB, free: 3.531 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001177/0.2282, allocations: 51.88 kB / 0.5932 GB, free: 3.48 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.554e-05/0.2283, allocations: 3.984 kB / 0.5932 GB, free: 3.477 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.539e-05/0.2283, allocations: 16 kB / 0.5932 GB, free: 3.461 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.82e-05/0.2284, allocations: 19.91 kB / 0.5932 GB, free: 3.441 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.334e-05/0.2284, allocations: 0 / 0.5932 GB, free: 3.441 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004502/0.2289, allocations: 167.6 kB / 0.5934 GB, free: 3.277 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.435e-05/0.229, allocations: 11.92 kB / 0.5934 GB, free: 3.266 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.267e-05/0.229, allocations: 4 kB / 0.5934 GB, free: 3.262 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003818/0.2294, allocations: 139.9 kB / 0.5935 GB, free: 3.125 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.2294, allocations: 0 / 0.5935 GB, free: 3.125 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.2294, allocations: 3.938 kB / 0.5936 GB, free: 3.121 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.2295, allocations: 4 kB / 0.5936 GB, free: 3.117 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.0006031/0.2301, allocations: 343.5 kB / 0.5939 GB, free: 2.734 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.476e-05/0.2301, allocations: 12.03 kB / 0.5939 GB, free: 2.723 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.49e-05/0.2302, allocations: 4.844 kB / 0.5939 GB, free: 2.719 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001452/0.2303, allocations: 160.4 kB / 0.5941 GB, free: 2.523 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.157e-05/0.2304, allocations: 34.2 kB / 0.5941 GB, free: 2.484 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.868e-06/0.2304, allocations: 384 / 0.5941 GB, free: 2.484 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001626/0.2306, allocations: 49.61 kB / 0.5941 GB, free: 2.43 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.2306, allocations: 7.984 kB / 0.5941 GB, free: 2.422 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.271e-05/0.2307, allocations: 4 kB / 0.5941 GB, free: 2.418 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.066e-05/0.2307, allocations: 0 / 0.5941 GB, free: 2.418 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.836e-05/0.2307, allocations: 15.98 kB / 0.5942 GB, free: 2.402 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007997/0.2316, allocations: 0.5794 MB / 0.5947 GB, free: 1.699 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.483e-05/0.2316, allocations: 22.55 kB / 0.5947 GB, free: 1.668 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.249e-05/0.2316, allocations: 4.859 kB / 0.5948 GB, free: 1.66 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002863/0.2319, allocations: 352.5 kB / 0.5951 GB, free: 1.242 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001495/0.2321, allocations: 30.56 kB / 0.5951 GB, free: 1.203 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 3.497e-06/0.2321, allocations: 0 / 0.5951 GB, free: 1.203 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001645/0.2323, allocations: 37.64 kB / 0.5952 GB, free: 1.16 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.048e-05/0.2323, allocations: 55.39 kB / 0.5952 GB, free: 1.094 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.81e-05/0.2324, allocations: 101.8 kB / 0.5953 GB, free: 0.9844 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.548e-05/0.2325, allocations: 25.83 kB / 0.5953 GB, free: 0.9531 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.591e-05/0.2325, allocations: 88.05 kB / 0.5954 GB, free: 0.8633 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.861e-06/0.2325, allocations: 3.906 kB / 0.5954 GB, free: 0.8594 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.332e-05/0.2326, allocations: 21.7 kB / 0.5954 GB, free: 0.832 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001302/0.2327, allocations: 318.8 kB / 0.5957 GB, free: 0.5117 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.419e-05/0.2327, allocations: 0 / 0.5957 GB, free: 0.5117 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.673e-05/0.2328, allocations: 25.7 kB / 0.5958 GB, free: 492 kB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.344e-05/0.2328, allocations: 21.72 kB / 0.5958 GB, free: 464 kB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.2328, allocations: 0 / 0.5958 GB, free: 464 kB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.455e-05/0.2329, allocations: 49.62 kB / 0.5958 GB, free: 408 kB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.2329, allocations: 8 kB / 0.5958 GB, free: 400 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.2329, allocations: 0 / 0.5958 GB, free: 400 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/0.2329, allocations: 0 / 0.5958 GB, free: 400 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.494e-05/0.233, allocations: 4 kB / 0.5958 GB, free: 396 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.233, allocations: 0 / 0.5958 GB, free: 396 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.156e-05/0.233, allocations: 8 kB / 0.5958 GB, free: 388 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.038e-05/0.2331, allocations: 4 kB / 0.5959 GB, free: 384 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 9.315e-05/0.2332, allocations: 122.6 kB / 0.596 GB, free: 252 kB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.39e-05/0.2332, allocations: 4 kB / 0.596 GB, free: 248 kB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001123/0.2333, allocations: 113 kB / 0.5961 GB, free: 124 kB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.19e-05/0.2334, allocations: 180.2 kB / 0.5963 GB, free: 15.94 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.237e-05/0.2335, allocations: 192.2 kB / 0.5964 GB, free: 15.74 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.175e-05/0.2336, allocations: 176.3 kB / 0.5966 GB, free: 15.56 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000232/0.2338, allocations: 409.1 kB / 0.597 GB, free: 15.11 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.202e-05/0.2338, allocations: 101 kB / 0.5971 GB, free: 15 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.988e-05/0.2339, allocations: 105 kB / 0.5972 GB, free: 14.89 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.793e-05/0.234, allocations: 184.2 kB / 0.5974 GB, free: 14.7 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.669e-05/0.234, allocations: 180.3 kB / 0.5975 GB, free: 14.52 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.415e-05/0.2341, allocations: 180.4 kB / 0.5977 GB, free: 14.34 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-05/0.2342, allocations: 188.3 kB / 0.5979 GB, free: 14.14 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001877/0.2344, allocations: 307.7 kB / 0.5982 GB, free: 13.82 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.279e-05/0.2345, allocations: 186 kB / 0.5984 GB, free: 13.61 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.993e-05/0.2346, allocations: 184.2 kB / 0.5985 GB, free: 13.43 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001319/0.2347, allocations: 112.9 kB / 0.5986 GB, free: 13.31 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.853e-05/0.2348, allocations: 188.2 kB / 0.5988 GB, free: 13.12 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.682e-05/0.2348, allocations: 101 kB / 0.5989 GB, free: 13.01 MB / 462.1 MB Notification: Performance of sorting global known variables: time 4.196e-05/0.2349, allocations: 87.53 kB / 0.599 GB, free: 12.93 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2349, allocations: 4 kB / 0.599 GB, free: 12.92 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.000295/0.2352, allocations: 36 kB / 0.599 GB, free: 12.89 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.000289/0.2355, allocations: 237.6 kB / 0.5993 GB, free: 12.65 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 7.772e-05/0.2356, allocations: 15.92 kB / 0.5993 GB, free: 12.63 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.2356, allocations: 0 / 0.5993 GB, free: 12.63 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 1.202e-06/0.2356, allocations: 0 / 0.5993 GB, free: 12.63 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005519/0.2361, allocations: 0.5224 MB / 0.5998 GB, free: 12.11 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003089/0.2365, allocations: 183.8 kB / 0.6 GB, free: 11.9 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000266/0.2367, allocations: 0.6692 MB / 0.6006 GB, free: 11.21 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 5.069e-05/0.2368, allocations: 7.984 kB / 0.6006 GB, free: 11.2 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.756e-05/0.2368, allocations: 15.38 kB / 0.6006 GB, free: 11.18 MB / 462.1 MB Notification: Performance of SimCode: time 5.31e-07/0.2368, allocations: 0 / 0.6006 GB, free: 11.18 MB / 462.1 MB Notification: Performance of Templates: time 0.003729/0.2406, allocations: 1.141 MB / 0.6018 GB, free: 10.09 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)