Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.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.Utilities.Psychrometrics.Functions.Examples.pW_X,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X") [/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.1948/0.1955, allocations: 82.2 MB / 0.5935 GB, free: 15.45 MB / 462.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.001436/0.197, allocations: 0.9804 MB / 0.5944 GB, free: 14.46 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005691/0.1976, allocations: 281.1 kB / 0.5947 GB, free: 14.18 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.025e-05/0.1976, allocations: 4 kB / 0.5947 GB, free: 14.18 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 1.429e-05/0.1977, allocations: 4 kB / 0.5947 GB, free: 14.18 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 5.615e-05/0.1977, allocations: 3.938 kB / 0.5947 GB, free: 14.17 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002618/0.198, allocations: 31.83 kB / 0.5947 GB, free: 14.14 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 5.476e-05/0.1981, allocations: 19.92 kB / 0.5947 GB, free: 14.12 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.297e-05/0.1981, allocations: 4 kB / 0.5948 GB, free: 14.12 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.004e-05/0.1982, allocations: 11.92 kB / 0.5948 GB, free: 14.11 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.529e-05/0.1982, allocations: 15.86 kB / 0.5948 GB, free: 14.09 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.096e-05/0.1982, allocations: 4 kB / 0.5948 GB, free: 14.09 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001189/0.1984, allocations: 55.95 kB / 0.5948 GB, free: 14.03 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 7.153e-06/0.1984, allocations: 0 / 0.5948 GB, free: 14.03 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 2.687e-05/0.1984, allocations: 29.7 kB / 0.5949 GB, free: 14 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001098/0.1985, allocations: 40.11 kB / 0.5949 GB, free: 13.96 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.1985, allocations: 4 kB / 0.5949 GB, free: 13.95 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.454e-06/0.1986, allocations: 0 / 0.5949 GB, free: 13.95 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.359e-06/0.1986, allocations: 0 / 0.5949 GB, free: 13.95 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003902/0.199, allocations: 330.8 kB / 0.5952 GB, free: 13.59 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.311e-05/0.199, allocations: 12.03 kB / 0.5952 GB, free: 13.57 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002057/0.1992, allocations: 19.89 kB / 0.5953 GB, free: 13.55 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001107/0.1993, allocations: 159.1 kB / 0.5954 GB, free: 13.36 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.196e-05/0.1994, allocations: 4 kB / 0.5954 GB, free: 13.36 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.161e-05/0.1994, allocations: 11.94 kB / 0.5954 GB, free: 13.34 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000107/0.1995, allocations: 45.69 kB / 0.5955 GB, free: 13.29 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.066e-06/0.1995, allocations: 0 / 0.5955 GB, free: 13.29 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.302e-05/0.1995, allocations: 0 / 0.5955 GB, free: 13.29 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.1995, allocations: 0 / 0.5955 GB, free: 13.29 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.824e-05/0.1996, allocations: 19.94 kB / 0.5955 GB, free: 13.27 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001452/0.1998, allocations: 153.7 kB / 0.5956 GB, free: 13.07 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001594/0.2014, allocations: 274.5 kB / 0.5959 GB, free: 12.8 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.356e-05/0.2014, allocations: 20.84 kB / 0.5959 GB, free: 12.77 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.284e-05/0.2014, allocations: 3.953 kB / 0.5959 GB, free: 12.77 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.035e-05/0.2015, allocations: 34.56 kB / 0.5959 GB, free: 12.73 MB / 462.1 MB Notification: Performance of pre-optimization done (n=4): time 2.955e-06/0.2015, allocations: 3.984 kB / 0.5959 GB, free: 12.72 MB / 462.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001653/0.2016, allocations: 61.62 kB / 0.596 GB, free: 12.66 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.423e-05/0.2017, allocations: 55.41 kB / 0.5961 GB, free: 12.59 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.601e-05/0.2018, allocations: 101.8 kB / 0.5962 GB, free: 12.48 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.314e-05/0.2018, allocations: 25.7 kB / 0.5962 GB, free: 12.45 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.679e-05/0.2018, allocations: 80.14 kB / 0.5963 GB, free: 12.37 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.253e-05/0.2019, allocations: 15.8 kB / 0.5963 GB, free: 12.35 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.637e-06/0.2019, allocations: 0 / 0.5963 GB, free: 12.35 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001124/0.202, allocations: 314.8 kB / 0.5966 GB, free: 12.04 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.765e-05/0.202, allocations: 4 kB / 0.5966 GB, free: 12.03 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.588e-05/0.202, allocations: 8 kB / 0.5966 GB, free: 12.02 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.777e-05/0.2021, allocations: 20.11 kB / 0.5966 GB, free: 12 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.2021, allocations: 0 / 0.5966 GB, free: 12 MB / 462.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.624e-05/0.2021, allocations: 49.64 kB / 0.5967 GB, free: 11.95 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.2022, allocations: 11.95 kB / 0.5967 GB, free: 11.94 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/0.2022, allocations: 3.984 kB / 0.5967 GB, free: 11.93 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/0.2022, allocations: 0 / 0.5967 GB, free: 11.93 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.521e-05/0.2023, allocations: 7.938 kB / 0.5967 GB, free: 11.93 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.2023, allocations: 0 / 0.5967 GB, free: 11.93 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.852e-05/0.2023, allocations: 7.938 kB / 0.5967 GB, free: 11.92 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.937e-06/0.2023, allocations: 0 / 0.5967 GB, free: 11.92 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (4): * Single equations (assignments): 4 * 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 7.285e-05/0.2024, allocations: 114.7 kB / 0.5968 GB, free: 11.8 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.121e-05/0.2024, allocations: 4 kB / 0.5968 GB, free: 11.79 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.155e-05/0.2024, allocations: 11.45 kB / 0.5968 GB, free: 11.78 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.2025, allocations: 0 / 0.5968 GB, free: 11.78 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.2025, allocations: 0 / 0.5968 GB, free: 11.78 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.2025, allocations: 3.984 kB / 0.5968 GB, free: 11.77 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001155/0.2026, allocations: 149.7 kB / 0.597 GB, free: 11.58 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.2026, allocations: 3.984 kB / 0.597 GB, free: 11.57 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.207e-05/0.2026, allocations: 8 kB / 0.597 GB, free: 11.57 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.2027, allocations: 4 kB / 0.597 GB, free: 11.56 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.2027, allocations: 0 / 0.597 GB, free: 11.56 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/0.2027, allocations: 3.953 kB / 0.597 GB, free: 11.56 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.057e-06/0.2027, allocations: 3.938 kB / 0.597 GB, free: 11.55 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.285e-05/0.2028, allocations: 81.03 kB / 0.5971 GB, free: 11.46 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.783e-05/0.2029, allocations: 81.11 kB / 0.5971 GB, free: 11.36 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.335e-05/0.2029, allocations: 3.984 kB / 0.5971 GB, free: 11.36 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.84e-05/0.203, allocations: 3.938 kB / 0.5971 GB, free: 11.35 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.595e-05/0.203, allocations: 11.95 kB / 0.5971 GB, free: 11.34 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.977e-06/0.203, allocations: 0 / 0.5971 GB, free: 11.34 MB / 462.1 MB Notification: Performance of sorting global known variables: time 2.989e-05/0.203, allocations: 75.28 kB / 0.5972 GB, free: 11.27 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.203, allocations: 0 / 0.5972 GB, free: 11.27 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0001757/0.2032, allocations: 12 kB / 0.5972 GB, free: 11.25 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 (4): * Single equations (assignments): 4 * 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.0002337/0.2035, allocations: 99.23 kB / 0.5973 GB, free: 11.15 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0001138/0.2036, allocations: 23.92 kB / 0.5973 GB, free: 11.12 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.2036, allocations: 4.094 kB / 0.5974 GB, free: 11.12 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 2.26e-05/0.2036, allocations: 16.45 kB / 0.5974 GB, free: 11.11 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002155/0.2038, allocations: 12 kB / 0.5974 GB, free: 11.09 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002775/0.2041, allocations: 124.6 kB / 0.5975 GB, free: 10.94 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000269/0.2044, allocations: 0.677 MB / 0.5982 GB, free: 10.24 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 5.014e-05/0.2045, allocations: 12.08 kB / 0.5982 GB, free: 10.23 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.145e-05/0.2045, allocations: 11.38 kB / 0.5982 GB, free: 10.22 MB / 462.1 MB Notification: Performance of SimCode: time 2e-07/0.2045, allocations: 0 / 0.5982 GB, free: 10.22 MB / 462.1 MB Notification: Performance of Templates: time 0.002451/0.2069, allocations: 486.8 kB / 0.5986 GB, free: 9.758 MB / 462.1 MB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & ./Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1) Environment - environmentSimulation: