Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.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.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") [/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.1837/0.1857, allocations: 80.84 MB / 0.6707 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.006496/0.1923, allocations: 4.026 MB / 0.6746 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002852/0.1952, allocations: 2.395 MB / 0.6769 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.603e-05/0.1953, allocations: 4 kB / 0.6769 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0002972/0.1956, allocations: 43.67 kB / 0.677 GB, free: 11.51 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0002978/0.196, allocations: 99.41 kB / 0.6771 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.00138/0.1973, allocations: 0.4981 MB / 0.6776 GB, free: 10.92 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0003842/0.1977, allocations: 263.8 kB / 0.6778 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.778e-05/0.1978, allocations: 9.562 kB / 0.6778 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002154/0.198, allocations: 123.5 kB / 0.6779 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000164/0.1982, allocations: 95.58 kB / 0.678 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.232e-05/0.1982, allocations: 8 kB / 0.678 GB, free: 10.42 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008122/0.199, allocations: 431.3 kB / 0.6784 GB, free: 9.996 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 7.48e-05/0.1991, allocations: 35.89 kB / 0.6785 GB, free: 9.961 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001069/0.1992, allocations: 91.58 kB / 0.6786 GB, free: 9.871 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0006343/0.1999, allocations: 391.1 kB / 0.6789 GB, free: 9.488 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.181e-06/0.1999, allocations: 0 / 0.6789 GB, free: 9.488 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.753e-06/0.1999, allocations: 0 / 0.6789 GB, free: 9.488 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.985e-06/0.1999, allocations: 0 / 0.6789 GB, free: 9.488 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.000936/0.2009, allocations: 0.5031 MB / 0.6794 GB, free: 8.934 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.439e-05/0.2009, allocations: 12.03 kB / 0.6794 GB, free: 8.922 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001969/0.2029, allocations: 180.5 kB / 0.6796 GB, free: 8.746 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004196/0.2033, allocations: 208.1 kB / 0.6798 GB, free: 8.504 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.045e-05/0.2034, allocations: 12.7 kB / 0.6798 GB, free: 8.492 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.608e-05/0.2034, allocations: 16.38 kB / 0.6798 GB, free: 8.477 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007105/0.2041, allocations: 304.4 kB / 0.6801 GB, free: 8.145 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.392e-05/0.2042, allocations: 0 / 0.6801 GB, free: 8.145 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.965e-05/0.2042, allocations: 12 kB / 0.6801 GB, free: 8.133 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.732e-05/0.2042, allocations: 7.984 kB / 0.6801 GB, free: 8.125 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007184/0.205, allocations: 263.6 kB / 0.6804 GB, free: 7.867 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001634/0.2066, allocations: 1.385 MB / 0.6818 GB, free: 6.367 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006663/0.2073, allocations: 191.2 kB / 0.6819 GB, free: 6.172 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002395/0.2075, allocations: 80.81 kB / 0.682 GB, free: 6.09 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.028e-05/0.2076, allocations: 7.984 kB / 0.682 GB, free: 6.082 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.054e-05/0.2076, allocations: 34.56 kB / 0.6821 GB, free: 6.039 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=18): time 1.723e-06/0.2076, allocations: 0 / 0.6821 GB, free: 6.039 MB / 0.5137 GB Notification: Performance of matching and sorting (n=18): time 0.0008283/0.2085, allocations: 247.5 kB / 0.6823 GB, free: 5.793 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.371e-05/0.2085, allocations: 51.41 kB / 0.6823 GB, free: 5.73 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001538/0.2087, allocations: 154.3 kB / 0.6825 GB, free: 5.566 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.105e-05/0.2087, allocations: 33.7 kB / 0.6825 GB, free: 5.527 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 8.098e-05/0.2088, allocations: 124 kB / 0.6826 GB, free: 5.402 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.577e-05/0.2089, allocations: 67.03 kB / 0.6827 GB, free: 5.336 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.343e-05/0.209, allocations: 57.83 kB / 0.6828 GB, free: 5.273 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001418/0.2091, allocations: 322.8 kB / 0.6831 GB, free: 4.949 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002387/0.2094, allocations: 64.42 kB / 0.6831 GB, free: 4.887 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002748/0.2096, allocations: 142.3 kB / 0.6833 GB, free: 4.715 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004954/0.2101, allocations: 220.2 kB / 0.6835 GB, free: 4.469 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.027e-05/0.2102, allocations: 4 kB / 0.6835 GB, free: 4.465 MB / 0.5137 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005952/0.2108, allocations: 253.1 kB / 0.6837 GB, free: 4.211 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.2108, allocations: 8 kB / 0.6837 GB, free: 4.203 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.2108, allocations: 7.984 kB / 0.6837 GB, free: 4.195 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.746e-05/0.2108, allocations: 4 kB / 0.6837 GB, free: 4.191 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003401/0.2112, allocations: 68.2 kB / 0.6838 GB, free: 4.125 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.458e-06/0.2112, allocations: 4 kB / 0.6838 GB, free: 4.121 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002224/0.2114, allocations: 35.67 kB / 0.6838 GB, free: 4.086 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.282e-05/0.2114, allocations: 11.94 kB / 0.6838 GB, free: 4.074 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (28): * Single equations (assignments): 28 * 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 0.0001255/0.2116, allocations: 137.6 kB / 0.684 GB, free: 3.93 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.122e-05/0.2116, allocations: 15.81 kB / 0.684 GB, free: 3.914 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006343/0.2123, allocations: 234 kB / 0.6842 GB, free: 3.684 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.2123, allocations: 8 kB / 0.6842 GB, free: 3.676 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.2123, allocations: 0 / 0.6842 GB, free: 3.676 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.389e-06/0.2123, allocations: 0 / 0.6842 GB, free: 3.676 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002591/0.2126, allocations: 241.4 kB / 0.6845 GB, free: 3.391 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.2126, allocations: 3.984 kB / 0.6845 GB, free: 3.387 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002922/0.2129, allocations: 47.91 kB / 0.6845 GB, free: 3.34 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.756e-06/0.2129, allocations: 0 / 0.6845 GB, free: 3.34 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.012e-05/0.2129, allocations: 8 kB / 0.6845 GB, free: 3.332 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.2129, allocations: 0 / 0.6845 GB, free: 3.332 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.2129, allocations: 8 kB / 0.6845 GB, free: 3.324 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006012/0.2135, allocations: 299.2 kB / 0.6848 GB, free: 3.016 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 9.764e-05/0.2136, allocations: 96.98 kB / 0.6849 GB, free: 2.902 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.103e-05/0.2137, allocations: 4 kB / 0.6849 GB, free: 2.898 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002515/0.2139, allocations: 19.98 kB / 0.6849 GB, free: 2.879 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.468e-05/0.214, allocations: 7.984 kB / 0.6849 GB, free: 2.871 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.427e-05/0.214, allocations: 8 kB / 0.6849 GB, free: 2.863 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 8.411e-05/0.2141, allocations: 116.9 kB / 0.685 GB, free: 2.75 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.8e-07/0.2141, allocations: 0 / 0.685 GB, free: 2.75 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003614/0.2145, allocations: 67.97 kB / 0.6851 GB, free: 2.684 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 (20): * Single equations (assignments): 20 * 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.0002002/0.2147, allocations: 135.1 kB / 0.6852 GB, free: 2.543 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005442/0.2152, allocations: 176.4 kB / 0.6854 GB, free: 2.371 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.2152, allocations: 4 kB / 0.6854 GB, free: 2.367 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002317/0.2155, allocations: 91.83 kB / 0.6855 GB, free: 2.277 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004581/0.2159, allocations: 63.77 kB / 0.6856 GB, free: 2.215 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009693/0.2169, allocations: 407.2 kB / 0.6859 GB, free: 1.793 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002786/0.2172, allocations: 0.7095 MB / 0.6866 GB, free: 1.059 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0002609/0.2175, allocations: 57.92 kB / 0.6867 GB, free: 1 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.732e-05/0.2176, allocations: 27.42 kB / 0.6867 GB, free: 0.9727 MB / 0.5137 GB Notification: Performance of SimCode: time 5.11e-07/0.2176, allocations: 0 / 0.6867 GB, free: 0.9727 MB / 0.5137 GB Notification: Performance of Templates: time 0.006724/0.2243, allocations: 3.372 MB / 0.69 GB, free: 13.67 MB / 0.5294 GB make -j1 -f Buildings_3.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.makefile (rm -f Buildings_3.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo Buildings_3.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/Buildings_3.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & ./Buildings_3.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1)