Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.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.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") [/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.1789/0.1796, allocations: 82.22 MB / 0.5934 GB, free: 6.031 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.005058/0.1847, allocations: 3.378 MB / 0.5967 GB, free: 2.633 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001867/0.185, allocations: 135.7 kB / 0.5968 GB, free: 2.5 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.099e-05/0.185, allocations: 0 / 0.5968 GB, free: 2.5 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001112/0.1851, allocations: 0 / 0.5968 GB, free: 2.5 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.011e-05/0.1852, allocations: 7.984 kB / 0.5968 GB, free: 2.492 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003169/0.1855, allocations: 51.84 kB / 0.5968 GB, free: 2.441 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.944e-05/0.1856, allocations: 15.97 kB / 0.5969 GB, free: 2.426 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.606e-05/0.1856, allocations: 0 / 0.5969 GB, free: 2.426 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.522e-05/0.1857, allocations: 15.98 kB / 0.5969 GB, free: 2.41 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.032e-05/0.1858, allocations: 7.984 kB / 0.5969 GB, free: 2.402 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.419e-05/0.1858, allocations: 4 kB / 0.5969 GB, free: 2.398 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001801/0.186, allocations: 35.86 kB / 0.5969 GB, free: 2.363 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.439e-05/0.186, allocations: 7.984 kB / 0.5969 GB, free: 2.355 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.585e-05/0.186, allocations: 29.7 kB / 0.597 GB, free: 2.32 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 9.333e-05/0.1861, allocations: 28.2 kB / 0.597 GB, free: 2.293 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.846e-06/0.1862, allocations: 0 / 0.597 GB, free: 2.293 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1862, allocations: 0 / 0.597 GB, free: 2.293 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.338e-06/0.1862, allocations: 0 / 0.597 GB, free: 2.293 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.000395/0.1866, allocations: 334.4 kB / 0.5973 GB, free: 1.922 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.1866, allocations: 12.03 kB / 0.5973 GB, free: 1.91 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.498e-05/0.1866, allocations: 0 / 0.5973 GB, free: 1.91 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001024/0.1868, allocations: 171 kB / 0.5975 GB, free: 1.703 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.118e-05/0.1868, allocations: 29.7 kB / 0.5975 GB, free: 1.668 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.516e-06/0.1868, allocations: 3.938 kB / 0.5975 GB, free: 1.664 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000119/0.187, allocations: 41.69 kB / 0.5975 GB, free: 1.617 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.843e-06/0.187, allocations: 0 / 0.5975 GB, free: 1.617 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.187, allocations: 0 / 0.5975 GB, free: 1.617 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.676e-05/0.187, allocations: 8 kB / 0.5976 GB, free: 1.609 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.875e-05/0.1871, allocations: 11.98 kB / 0.5976 GB, free: 1.598 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004169/0.1875, allocations: 338 kB / 0.5979 GB, free: 1.199 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.591e-05/0.1875, allocations: 18.52 kB / 0.5979 GB, free: 1.172 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.689e-05/0.1876, allocations: 85.16 kB / 0.598 GB, free: 1.07 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.9e-05/0.1877, allocations: 42.56 kB / 0.598 GB, free: 1.02 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 9.42e-07/0.1877, allocations: 0 / 0.598 GB, free: 1.02 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001608/0.1878, allocations: 29.7 kB / 0.5981 GB, free: 0.9844 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.985e-05/0.1879, allocations: 51.41 kB / 0.5981 GB, free: 0.9219 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.065e-05/0.1879, allocations: 113.8 kB / 0.5982 GB, free: 0.8008 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.375e-05/0.188, allocations: 25.7 kB / 0.5982 GB, free: 0.7695 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.616e-05/0.188, allocations: 84.05 kB / 0.5983 GB, free: 0.6836 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.583e-06/0.188, allocations: 3.906 kB / 0.5983 GB, free: 0.6797 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.775e-06/0.188, allocations: 3.938 kB / 0.5983 GB, free: 0.6758 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001038/0.1881, allocations: 318.9 kB / 0.5986 GB, free: 364 kB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.457e-05/0.1882, allocations: 11.98 kB / 0.5986 GB, free: 352 kB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.014e-05/0.1882, allocations: 17.66 kB / 0.5987 GB, free: 328 kB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.834e-05/0.1882, allocations: 4 kB / 0.5987 GB, free: 324 kB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.1882, allocations: 0 / 0.5987 GB, free: 324 kB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.25e-05/0.1883, allocations: 49.62 kB / 0.5987 GB, free: 268 kB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.151e-05/0.1883, allocations: 12.06 kB / 0.5987 GB, free: 256 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.1883, allocations: 0 / 0.5987 GB, free: 256 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.018e-05/0.1883, allocations: 0 / 0.5987 GB, free: 256 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.927e-05/0.1884, allocations: 4 kB / 0.5987 GB, free: 252 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.1884, allocations: 0 / 0.5987 GB, free: 252 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.937e-05/0.1884, allocations: 4 kB / 0.5987 GB, free: 248 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.187e-05/0.1884, allocations: 3.984 kB / 0.5987 GB, free: 244 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.773e-05/0.1885, allocations: 121.8 kB / 0.5988 GB, free: 112 kB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.037e-05/0.1885, allocations: 0 / 0.5988 GB, free: 112 kB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001159/0.1887, allocations: 120.9 kB / 0.599 GB, free: 15.98 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.484e-05/0.1887, allocations: 180.2 kB / 0.5991 GB, free: 15.79 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.415e-05/0.1888, allocations: 180.3 kB / 0.5993 GB, free: 15.61 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.865e-05/0.1889, allocations: 180.2 kB / 0.5995 GB, free: 15.43 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002073/0.1891, allocations: 405.2 kB / 0.5999 GB, free: 14.97 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.499e-05/0.1891, allocations: 120.9 kB / 0.6 GB, free: 14.85 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.206e-05/0.1892, allocations: 105 kB / 0.6001 GB, free: 14.74 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.773e-05/0.1892, allocations: 180.2 kB / 0.6003 GB, free: 14.55 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.57e-05/0.1893, allocations: 180.2 kB / 0.6004 GB, free: 14.37 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.922e-05/0.1893, allocations: 180.2 kB / 0.6006 GB, free: 14.19 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.614e-05/0.1894, allocations: 188.2 kB / 0.6008 GB, free: 14 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001191/0.1895, allocations: 303.8 kB / 0.6011 GB, free: 13.68 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.205e-05/0.1896, allocations: 189.9 kB / 0.6012 GB, free: 13.46 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.137e-05/0.1897, allocations: 176.3 kB / 0.6014 GB, free: 13.29 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001204/0.1898, allocations: 112.9 kB / 0.6015 GB, free: 13.17 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.182e-05/0.1899, allocations: 184.2 kB / 0.6017 GB, free: 12.98 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.107e-05/0.1899, allocations: 101 kB / 0.6018 GB, free: 12.88 MB / 462.1 MB Notification: Performance of sorting global known variables: time 3.67e-05/0.19, allocations: 83.22 kB / 0.6019 GB, free: 12.79 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.19, allocations: 4 kB / 0.6019 GB, free: 12.79 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002211/0.1902, allocations: 15.94 kB / 0.6019 GB, free: 12.77 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 (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.0001461/0.1904, allocations: 186.5 kB / 0.6021 GB, free: 12.58 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 8.44e-05/0.1905, allocations: 19.92 kB / 0.6021 GB, free: 12.56 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1905, allocations: 0 / 0.6021 GB, free: 12.56 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 1.493e-06/0.1905, allocations: 0 / 0.6021 GB, free: 12.56 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003531/0.1908, allocations: 0.5286 MB / 0.6026 GB, free: 12.03 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002285/0.1911, allocations: 188 kB / 0.6028 GB, free: 11.82 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002277/0.1913, allocations: 0.677 MB / 0.6034 GB, free: 11.11 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 3.6e-05/0.1914, allocations: 4 kB / 0.6034 GB, free: 11.11 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.592e-05/0.1914, allocations: 7.438 kB / 0.6035 GB, free: 11.1 MB / 462.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1914, allocations: 4 kB / 0.6035 GB, free: 11.1 MB / 462.1 MB Notification: Performance of Templates: time 0.00267/0.1941, allocations: 0.5065 MB / 0.604 GB, free: 10.61 MB / 462.1 MB make -j1 -f Buildings_3.0.0_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_3.0.0_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_3.0.0_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./Buildings_3.0.0_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) Environment - environmentSimulation: