Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.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.phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX") [/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.1933/0.1954, allocations: 80.84 MB / 0.6706 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.003244/0.1987, allocations: 1.264 MB / 0.6719 GB, free: 0.7461 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001396/0.2001, allocations: 0.6637 MB / 0.6725 GB, free: 76 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.283e-05/0.2002, allocations: 0 / 0.6725 GB, free: 76 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.201e-05/0.2002, allocations: 7.875 kB / 0.6725 GB, free: 68 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.643e-05/0.2003, allocations: 3.984 kB / 0.6725 GB, free: 64 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007271/0.201, allocations: 107.5 kB / 0.6726 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001109/0.2011, allocations: 23.86 kB / 0.6726 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 6.135e-05/0.2012, allocations: 4 kB / 0.6727 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 4.818e-05/0.2013, allocations: 8 kB / 0.6727 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 6.21e-05/0.2013, allocations: 15.92 kB / 0.6727 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.35e-05/0.2013, allocations: 0 / 0.6727 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003488/0.2017, allocations: 151.8 kB / 0.6728 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.6e-05/0.2017, allocations: 7.984 kB / 0.6728 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.581e-05/0.2018, allocations: 7.938 kB / 0.6728 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001975/0.202, allocations: 99.81 kB / 0.6729 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.202, allocations: 0 / 0.6729 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of FrontEnd: time 3.016e-06/0.202, allocations: 4 kB / 0.6729 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.758e-06/0.202, allocations: 3.938 kB / 0.6729 GB, free: 15.64 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003926/0.2024, allocations: 363.3 kB / 0.6733 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.309e-05/0.2024, allocations: 8.031 kB / 0.6733 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.017e-05/0.2025, allocations: 8.844 kB / 0.6733 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001058/0.2026, allocations: 164.4 kB / 0.6735 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.676e-05/0.2026, allocations: 30.27 kB / 0.6735 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.118e-05/0.2027, allocations: 4.375 kB / 0.6735 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001125/0.2028, allocations: 37.62 kB / 0.6735 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.911e-06/0.2028, allocations: 0 / 0.6735 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.767e-06/0.2028, allocations: 8 kB / 0.6735 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.2028, allocations: 0 / 0.6735 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.103e-05/0.2029, allocations: 15.98 kB / 0.6735 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000152/0.2031, allocations: 157.7 kB / 0.6737 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 8.895e-05/0.2032, allocations: 26.58 kB / 0.6737 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.153e-05/0.2032, allocations: 16.94 kB / 0.6737 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001743/0.2034, allocations: 97.03 kB / 0.6738 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.194e-05/0.2035, allocations: 34.56 kB / 0.6739 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.2035, allocations: 0 / 0.6739 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3): time 0.0002159/0.2037, allocations: 65.61 kB / 0.6739 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.148e-05/0.2037, allocations: 51.41 kB / 0.674 GB, free: 14.37 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.333e-05/0.2038, allocations: 94.19 kB / 0.6741 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.029e-05/0.2038, allocations: 25.7 kB / 0.6741 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 2.44e-05/0.2038, allocations: 84.14 kB / 0.6742 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.426e-05/0.2039, allocations: 15.81 kB / 0.6742 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.26e-05/0.2039, allocations: 13.7 kB / 0.6742 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.987e-05/0.204, allocations: 318.8 kB / 0.6745 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.293e-05/0.2041, allocations: 4 kB / 0.6745 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.847e-05/0.2041, allocations: 12.02 kB / 0.6745 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.213e-05/0.2042, allocations: 20.84 kB / 0.6745 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.2042, allocations: 4 kB / 0.6745 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001192/0.2043, allocations: 57.56 kB / 0.6746 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/0.2043, allocations: 4 kB / 0.6746 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.346e-06/0.2044, allocations: 3.938 kB / 0.6746 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.987e-06/0.2044, allocations: 0 / 0.6746 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.982e-05/0.2044, allocations: 8 kB / 0.6746 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.489e-06/0.2044, allocations: 3.984 kB / 0.6746 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.663e-05/0.2045, allocations: 0 / 0.6746 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.859e-06/0.2045, allocations: 0 / 0.6746 GB, free: 13.67 MB / 0.5137 GB 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 (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.355e-05/0.2046, allocations: 121.8 kB / 0.6747 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.819e-06/0.2046, allocations: 3.938 kB / 0.6747 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001483/0.2047, allocations: 65.09 kB / 0.6748 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.2047, allocations: 0 / 0.6748 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.856e-06/0.2047, allocations: 0 / 0.6748 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.744e-06/0.2048, allocations: 3.938 kB / 0.6748 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.432e-05/0.2049, allocations: 157.6 kB / 0.675 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.2049, allocations: 3.938 kB / 0.675 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.839e-05/0.2049, allocations: 8 kB / 0.675 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.2049, allocations: 0 / 0.675 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.163e-06/0.2049, allocations: 4 kB / 0.675 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.91e-07/0.2049, allocations: 0 / 0.675 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.2049, allocations: 0 / 0.675 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001344/0.2051, allocations: 81.02 kB / 0.675 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.501e-05/0.2051, allocations: 81.05 kB / 0.6751 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.185e-06/0.2051, allocations: 0 / 0.6751 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.936e-05/0.2052, allocations: 7.984 kB / 0.6751 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.785e-05/0.2052, allocations: 4 kB / 0.6751 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.655e-06/0.2052, allocations: 3.938 kB / 0.6751 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.369e-05/0.2053, allocations: 83.28 kB / 0.6752 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2053, allocations: 0 / 0.6752 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002044/0.2055, allocations: 27.98 kB / 0.6752 GB, free: 12.91 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 (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 Backend phase and start with SimCode phase: time 0.0001808/0.2057, allocations: 127.2 kB / 0.6754 GB, free: 12.78 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001195/0.2058, allocations: 24.36 kB / 0.6754 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.2058, allocations: 0 / 0.6754 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 4.769e-05/0.2059, allocations: 15.92 kB / 0.6754 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002085/0.2061, allocations: 15.94 kB / 0.6754 GB, free: 12.72 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002247/0.2063, allocations: 119.1 kB / 0.6755 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002554/0.2066, allocations: 0.6769 MB / 0.6762 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.058e-05/0.2066, allocations: 11.95 kB / 0.6762 GB, free: 11.87 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.558e-05/0.2066, allocations: 7.438 kB / 0.6762 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of SimCode: time 2.11e-07/0.2066, allocations: 0 / 0.6762 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of Templates: time 0.003012/0.2097, allocations: 0.9025 MB / 0.6771 GB, free: 10.96 MB / 0.5137 GB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & ./Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1)