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.1918/0.1928, allocations: 82.22 MB / 0.5941 GB, free: 5.598 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.004449/0.1973, allocations: 3.678 MB / 0.5977 GB, free: 1.895 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.000182/0.1975, allocations: 163.5 kB / 0.5978 GB, free: 1.734 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.57e-05/0.1975, allocations: 0 / 0.5978 GB, free: 1.734 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001009/0.1976, allocations: 0 / 0.5978 GB, free: 1.734 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.924e-05/0.1977, allocations: 19.86 kB / 0.5979 GB, free: 1.715 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002713/0.198, allocations: 67.77 kB / 0.5979 GB, free: 1.648 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 9.483e-05/0.1981, allocations: 47.89 kB / 0.598 GB, free: 1.602 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.849e-05/0.1982, allocations: 4 kB / 0.598 GB, free: 1.598 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.426e-05/0.1982, allocations: 11.98 kB / 0.598 GB, free: 1.586 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.088e-05/0.1983, allocations: 19.86 kB / 0.598 GB, free: 1.566 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.366e-05/0.1983, allocations: 4 kB / 0.598 GB, free: 1.562 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002123/0.1985, allocations: 75.78 kB / 0.5981 GB, free: 1.488 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.848e-05/0.1986, allocations: 7.984 kB / 0.5981 GB, free: 1.48 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.34e-05/0.1986, allocations: 37.62 kB / 0.5981 GB, free: 1.438 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000121/0.1988, allocations: 44.19 kB / 0.5982 GB, free: 1.395 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.1988, allocations: 0 / 0.5982 GB, free: 1.395 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.1988, allocations: 0 / 0.5982 GB, free: 1.395 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.338e-06/0.1988, allocations: 0 / 0.5982 GB, free: 1.395 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.0004033/0.1992, allocations: 327.5 kB / 0.5985 GB, free: 1.027 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/0.1993, allocations: 12.03 kB / 0.5985 GB, free: 1.016 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.722e-05/0.1993, allocations: 4.922 kB / 0.5985 GB, free: 1.012 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001074/0.1994, allocations: 160.4 kB / 0.5986 GB, free: 0.8164 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.872e-05/0.1995, allocations: 34.27 kB / 0.5987 GB, free: 0.7773 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.244e-05/0.1995, allocations: 4.312 kB / 0.5987 GB, free: 0.7734 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001303/0.1996, allocations: 41.62 kB / 0.5987 GB, free: 0.7266 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.896e-06/0.1997, allocations: 0 / 0.5987 GB, free: 0.7266 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.059e-05/0.1997, allocations: 0 / 0.5987 GB, free: 0.7266 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.46e-05/0.1997, allocations: 7.984 kB / 0.5987 GB, free: 0.7188 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.348e-05/0.1998, allocations: 12 kB / 0.5987 GB, free: 0.707 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004177/0.2002, allocations: 334 kB / 0.5991 GB, free: 320 kB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.397e-05/0.2002, allocations: 22.52 kB / 0.5991 GB, free: 288 kB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.458e-05/0.2002, allocations: 4.922 kB / 0.5991 GB, free: 280 kB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.63e-05/0.2003, allocations: 89.09 kB / 0.5992 GB, free: 172 kB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.667e-05/0.2004, allocations: 38.5 kB / 0.5992 GB, free: 124 kB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 1.333e-06/0.2004, allocations: 0 / 0.5992 GB, free: 124 kB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001396/0.2005, allocations: 33.7 kB / 0.5992 GB, free: 84 kB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.415e-05/0.2006, allocations: 55.53 kB / 0.5993 GB, free: 16 kB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.911e-05/0.2007, allocations: 105.8 kB / 0.5994 GB, free: 15.9 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.444e-05/0.2007, allocations: 29.64 kB / 0.5994 GB, free: 15.87 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.586e-05/0.2008, allocations: 84.05 kB / 0.5995 GB, free: 15.78 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.386e-06/0.2008, allocations: 7.906 kB / 0.5995 GB, free: 15.77 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.028e-05/0.2008, allocations: 9.719 kB / 0.5995 GB, free: 15.76 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001107/0.2009, allocations: 322.8 kB / 0.5998 GB, free: 15.43 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.324e-05/0.2009, allocations: 4 kB / 0.5998 GB, free: 15.43 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.46e-05/0.201, allocations: 17.72 kB / 0.5998 GB, free: 15.41 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.204e-05/0.201, allocations: 17.72 kB / 0.5999 GB, free: 15.38 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.201, allocations: 3.938 kB / 0.5999 GB, free: 15.38 MB / 462.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.271e-05/0.2011, allocations: 53.62 kB / 0.5999 GB, free: 15.32 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/0.2011, allocations: 4 kB / 0.5999 GB, free: 15.32 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.2011, allocations: 0 / 0.5999 GB, free: 15.32 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.12e-05/0.2011, allocations: 64 / 0.5999 GB, free: 15.32 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.045e-05/0.2012, allocations: 11.98 kB / 0.5999 GB, free: 15.3 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.67e-06/0.2012, allocations: 4 kB / 0.5999 GB, free: 15.3 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.695e-05/0.2012, allocations: 0 / 0.5999 GB, free: 15.3 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.135e-06/0.2012, allocations: 0 / 0.5999 GB, free: 15.3 MB / 462.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 6.825e-05/0.2013, allocations: 114.7 kB / 0.6 GB, free: 15.18 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.471e-05/0.2014, allocations: 0 / 0.6 GB, free: 15.18 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001147/0.2015, allocations: 128.2 kB / 0.6002 GB, free: 15.04 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.599e-05/0.2015, allocations: 180.5 kB / 0.6003 GB, free: 14.86 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.583e-05/0.2016, allocations: 180.2 kB / 0.6005 GB, free: 14.68 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.623e-05/0.2017, allocations: 180.3 kB / 0.6007 GB, free: 14.49 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002137/0.2019, allocations: 409.1 kB / 0.6011 GB, free: 14.04 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.169e-05/0.2019, allocations: 109 kB / 0.6012 GB, free: 13.92 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.074e-05/0.202, allocations: 105 kB / 0.6013 GB, free: 13.81 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.328e-05/0.202, allocations: 188.2 kB / 0.6015 GB, free: 13.62 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.343e-05/0.2021, allocations: 176.3 kB / 0.6016 GB, free: 13.44 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.315e-05/0.2022, allocations: 184.2 kB / 0.6018 GB, free: 13.25 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.493e-05/0.2022, allocations: 180.3 kB / 0.602 GB, free: 13.07 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001294/0.2024, allocations: 315.7 kB / 0.6023 GB, free: 12.74 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.232e-05/0.2024, allocations: 189.9 kB / 0.6025 GB, free: 12.53 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.578e-05/0.2025, allocations: 184.2 kB / 0.6026 GB, free: 12.34 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00012/0.2027, allocations: 105 kB / 0.6027 GB, free: 12.23 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.836e-05/0.2027, allocations: 180.2 kB / 0.6029 GB, free: 12.05 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.011e-05/0.2028, allocations: 109 kB / 0.603 GB, free: 11.93 MB / 462.1 MB Notification: Performance of sorting global known variables: time 4.869e-05/0.2028, allocations: 87.27 kB / 0.6031 GB, free: 11.85 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2028, allocations: 0 / 0.6031 GB, free: 11.85 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002597/0.2031, allocations: 19.94 kB / 0.6031 GB, free: 11.83 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.0002396/0.2033, allocations: 198.4 kB / 0.6033 GB, free: 11.62 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 6.541e-05/0.2034, allocations: 11.94 kB / 0.6033 GB, free: 11.61 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/0.2034, allocations: 0 / 0.6033 GB, free: 11.61 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 3.868e-06/0.2034, allocations: 4 kB / 0.6033 GB, free: 11.61 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004033/0.2038, allocations: 0.5185 MB / 0.6038 GB, free: 11.08 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002593/0.2041, allocations: 192 kB / 0.604 GB, free: 10.87 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002389/0.2044, allocations: 0.6731 MB / 0.6047 GB, free: 10.17 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 3.908e-05/0.2044, allocations: 4 kB / 0.6047 GB, free: 10.16 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.646e-05/0.2044, allocations: 15.38 kB / 0.6047 GB, free: 10.15 MB / 462.1 MB Notification: Performance of SimCode: time 5.01e-07/0.2044, allocations: 0 / 0.6047 GB, free: 10.15 MB / 462.1 MB Notification: Performance of Templates: time 0.002666/0.2071, allocations: 0.5677 MB / 0.6052 GB, free: 9.598 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: