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.1876/0.1883, allocations: 82.21 MB / 0.5941 GB, free: 5.578 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.001731/0.1901, allocations: 0.9959 MB / 0.5951 GB, free: 4.57 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001299/0.1915, allocations: 0.6759 MB / 0.5957 GB, free: 3.887 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.266e-05/0.1915, allocations: 0 / 0.5957 GB, free: 3.887 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.075e-05/0.1916, allocations: 3.938 kB / 0.5957 GB, free: 3.883 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.537e-05/0.1916, allocations: 3.984 kB / 0.5957 GB, free: 3.879 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004657/0.1921, allocations: 95.62 kB / 0.5958 GB, free: 3.785 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.285e-05/0.1922, allocations: 23.8 kB / 0.5959 GB, free: 3.762 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.799e-05/0.1922, allocations: 4 kB / 0.5959 GB, free: 3.758 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.442e-05/0.1923, allocations: 8 kB / 0.5959 GB, free: 3.75 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.421e-05/0.1923, allocations: 7.984 kB / 0.5959 GB, free: 3.742 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.338e-05/0.1924, allocations: 0 / 0.5959 GB, free: 3.742 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003338/0.1927, allocations: 167.6 kB / 0.596 GB, free: 3.578 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.947e-05/0.1927, allocations: 7.984 kB / 0.5961 GB, free: 3.57 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.726e-05/0.1928, allocations: 29.7 kB / 0.5961 GB, free: 3.535 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002442/0.193, allocations: 100 kB / 0.5962 GB, free: 3.438 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.1931, allocations: 4 kB / 0.5962 GB, free: 3.434 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.1931, allocations: 4 kB / 0.5962 GB, free: 3.43 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.639e-06/0.1931, allocations: 0 / 0.5962 GB, free: 3.43 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.0004785/0.1936, allocations: 347.5 kB / 0.5965 GB, free: 3.043 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.925e-05/0.1936, allocations: 12.03 kB / 0.5965 GB, free: 3.031 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.142e-05/0.1937, allocations: 0.9375 kB / 0.5965 GB, free: 3.031 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001244/0.1938, allocations: 180.2 kB / 0.5967 GB, free: 2.816 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.296e-05/0.1939, allocations: 30.27 kB / 0.5967 GB, free: 2.781 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.826e-06/0.1939, allocations: 4.375 kB / 0.5967 GB, free: 2.777 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000137/0.194, allocations: 45.62 kB / 0.5968 GB, free: 2.727 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.1941, allocations: 0 / 0.5968 GB, free: 2.727 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.426e-06/0.1941, allocations: 0 / 0.5968 GB, free: 2.727 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.1941, allocations: 0 / 0.5968 GB, free: 2.727 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.331e-05/0.1942, allocations: 11.98 kB / 0.5968 GB, free: 2.715 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001841/0.1944, allocations: 153.7 kB / 0.5969 GB, free: 2.516 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.343e-05/0.1945, allocations: 34.52 kB / 0.597 GB, free: 2.473 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.432e-05/0.1945, allocations: 20.94 kB / 0.597 GB, free: 2.449 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002331/0.1948, allocations: 93.03 kB / 0.5971 GB, free: 2.34 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.244e-05/0.1948, allocations: 30.56 kB / 0.5971 GB, free: 2.301 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.343e-06/0.1948, allocations: 0 / 0.5971 GB, free: 2.301 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002316/0.195, allocations: 57.58 kB / 0.5972 GB, free: 2.238 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.732e-05/0.1951, allocations: 63.41 kB / 0.5972 GB, free: 2.164 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.14e-05/0.1952, allocations: 89.86 kB / 0.5973 GB, free: 2.066 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.299e-05/0.1952, allocations: 29.7 kB / 0.5973 GB, free: 2.031 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.843e-05/0.1952, allocations: 84.08 kB / 0.5974 GB, free: 1.945 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.663e-05/0.1953, allocations: 11.89 kB / 0.5974 GB, free: 1.934 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.144e-05/0.1953, allocations: 9.719 kB / 0.5974 GB, free: 1.918 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.846e-05/0.1954, allocations: 310.8 kB / 0.5977 GB, free: 1.605 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.137e-05/0.1954, allocations: 8 kB / 0.5977 GB, free: 1.598 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.791e-05/0.1955, allocations: 15.98 kB / 0.5978 GB, free: 1.582 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.1e-05/0.1956, allocations: 21.31 kB / 0.5978 GB, free: 1.559 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.1956, allocations: 0 / 0.5978 GB, free: 1.559 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000125/0.1957, allocations: 53.62 kB / 0.5978 GB, free: 1.5 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.1957, allocations: 4 kB / 0.5978 GB, free: 1.496 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.1957, allocations: 48 / 0.5978 GB, free: 1.496 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.1958, allocations: 3.984 kB / 0.5978 GB, free: 1.492 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.82e-05/0.1958, allocations: 11.94 kB / 0.5978 GB, free: 1.48 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.1959, allocations: 4 kB / 0.5978 GB, free: 1.477 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.304e-05/0.1959, allocations: 7.922 kB / 0.5979 GB, free: 1.469 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-06/0.1959, allocations: 0 / 0.5979 GB, free: 1.469 MB / 446.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 (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 7.856e-05/0.196, allocations: 110.7 kB / 0.598 GB, free: 1.352 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.048e-05/0.196, allocations: 3.938 kB / 0.598 GB, free: 1.348 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001563/0.1962, allocations: 65.09 kB / 0.598 GB, free: 1.273 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.1962, allocations: 4 kB / 0.598 GB, free: 1.27 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.1962, allocations: 0 / 0.598 GB, free: 1.27 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.1962, allocations: 4 kB / 0.598 GB, free: 1.266 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001077/0.1963, allocations: 157.6 kB / 0.5982 GB, free: 1.062 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.1963, allocations: 3.938 kB / 0.5982 GB, free: 1.059 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.052e-05/0.1964, allocations: 7.938 kB / 0.5982 GB, free: 1.051 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.1964, allocations: 0 / 0.5982 GB, free: 1.051 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.841e-06/0.1964, allocations: 0 / 0.5982 GB, free: 1.051 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/0.1964, allocations: 8 kB / 0.5982 GB, free: 1.043 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1964, allocations: 0 / 0.5982 GB, free: 1.043 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001343/0.1965, allocations: 73.11 kB / 0.5983 GB, free: 0.9531 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.502e-05/0.1966, allocations: 88.98 kB / 0.5984 GB, free: 0.8477 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.09e-05/0.1966, allocations: 0 / 0.5984 GB, free: 0.8477 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.853e-05/0.1967, allocations: 7.984 kB / 0.5984 GB, free: 0.8398 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.939e-05/0.1967, allocations: 4 kB / 0.5984 GB, free: 0.8359 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.086e-06/0.1967, allocations: 0 / 0.5984 GB, free: 0.8359 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.439e-05/0.1967, allocations: 79.28 kB / 0.5984 GB, free: 0.7578 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1968, allocations: 0 / 0.5984 GB, free: 0.7578 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002287/0.197, allocations: 23.98 kB / 0.5985 GB, free: 0.7344 MB / 446.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 (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.0002554/0.1972, allocations: 143.1 kB / 0.5986 GB, free: 0.5859 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001309/0.1974, allocations: 19.92 kB / 0.5986 GB, free: 0.5664 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.1974, allocations: 0 / 0.5986 GB, free: 0.5664 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.841e-05/0.1975, allocations: 15.98 kB / 0.5986 GB, free: 0.5508 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002144/0.1977, allocations: 7.938 kB / 0.5986 GB, free: 0.543 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002676/0.1979, allocations: 138.7 kB / 0.5988 GB, free: 392 kB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002543/0.1982, allocations: 0.677 MB / 0.5994 GB, free: 15.68 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 3.699e-05/0.1983, allocations: 0 / 0.5994 GB, free: 15.68 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.752e-05/0.1983, allocations: 11.44 kB / 0.5994 GB, free: 15.67 MB / 462.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1983, allocations: 0 / 0.5994 GB, free: 15.67 MB / 462.1 MB Notification: Performance of Templates: time 0.003001/0.2013, allocations: 0.8554 MB / 0.6003 GB, free: 14.82 MB / 462.1 MB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: