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.1859/0.1866, allocations: 82.22 MB / 0.5935 GB, free: 5.977 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.001467/0.1881, allocations: 0.9843 MB / 0.5944 GB, free: 4.98 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001064/0.1892, allocations: 0.6257 MB / 0.5951 GB, free: 4.348 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.901e-05/0.1893, allocations: 0 / 0.5951 GB, free: 4.348 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.646e-05/0.1893, allocations: 3.984 kB / 0.5951 GB, free: 4.344 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.814e-05/0.1894, allocations: 3.938 kB / 0.5951 GB, free: 4.34 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003919/0.1898, allocations: 87.62 kB / 0.5951 GB, free: 4.254 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.179e-05/0.1898, allocations: 23.92 kB / 0.5952 GB, free: 4.23 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.08e-05/0.1899, allocations: 4 kB / 0.5952 GB, free: 4.227 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.619e-05/0.19, allocations: 7.938 kB / 0.5952 GB, free: 4.219 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.827e-05/0.19, allocations: 11.98 kB / 0.5952 GB, free: 4.207 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.436e-05/0.1901, allocations: 0 / 0.5952 GB, free: 4.207 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003196/0.1904, allocations: 159.7 kB / 0.5953 GB, free: 4.051 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.159e-05/0.1904, allocations: 0 / 0.5953 GB, free: 4.051 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.029e-05/0.1904, allocations: 37.64 kB / 0.5954 GB, free: 4.008 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000149/0.1906, allocations: 68.14 kB / 0.5954 GB, free: 3.941 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.1906, allocations: 4 kB / 0.5954 GB, free: 3.938 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.1906, allocations: 0 / 0.5954 GB, free: 3.938 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.1906, allocations: 4 kB / 0.5954 GB, free: 3.934 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.000439/0.1911, allocations: 347.2 kB / 0.5958 GB, free: 3.547 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/0.1911, allocations: 12.03 kB / 0.5958 GB, free: 3.535 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.853e-05/0.1912, allocations: 4 kB / 0.5958 GB, free: 3.531 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001386/0.1913, allocations: 167 kB / 0.596 GB, free: 3.328 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.061e-05/0.1914, allocations: 33.66 kB / 0.596 GB, free: 3.289 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.925e-06/0.1914, allocations: 0 / 0.596 GB, free: 3.289 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001233/0.1916, allocations: 41.69 kB / 0.596 GB, free: 3.242 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.203e-06/0.1916, allocations: 0 / 0.596 GB, free: 3.242 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.1916, allocations: 4 kB / 0.596 GB, free: 3.238 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.1916, allocations: 0 / 0.596 GB, free: 3.238 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.65e-05/0.1917, allocations: 15.92 kB / 0.596 GB, free: 3.223 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001833/0.1919, allocations: 157.7 kB / 0.5962 GB, free: 3.02 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.928e-05/0.192, allocations: 26.58 kB / 0.5962 GB, free: 2.984 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.2e-05/0.192, allocations: 28.88 kB / 0.5962 GB, free: 2.953 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001931/0.1922, allocations: 93.09 kB / 0.5963 GB, free: 2.844 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.536e-05/0.1923, allocations: 30.56 kB / 0.5964 GB, free: 2.805 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.1923, allocations: 0 / 0.5964 GB, free: 2.805 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002292/0.1925, allocations: 57.61 kB / 0.5964 GB, free: 2.742 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.955e-05/0.1926, allocations: 55.41 kB / 0.5965 GB, free: 2.676 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.208e-05/0.1926, allocations: 97.86 kB / 0.5966 GB, free: 2.57 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.445e-05/0.1927, allocations: 25.7 kB / 0.5966 GB, free: 2.539 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.914e-05/0.1927, allocations: 92.06 kB / 0.5967 GB, free: 2.445 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.146e-05/0.1927, allocations: 7.812 kB / 0.5967 GB, free: 2.438 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.845e-06/0.1927, allocations: 0 / 0.5967 GB, free: 2.438 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001077/0.1929, allocations: 318.8 kB / 0.597 GB, free: 2.117 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.869e-05/0.1929, allocations: 4 kB / 0.597 GB, free: 2.113 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.153e-05/0.1929, allocations: 7.984 kB / 0.597 GB, free: 2.105 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.844e-05/0.193, allocations: 12 kB / 0.597 GB, free: 2.094 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.193, allocations: 0 / 0.597 GB, free: 2.094 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000108/0.1931, allocations: 53.58 kB / 0.5971 GB, free: 2.035 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.1931, allocations: 4 kB / 0.5971 GB, free: 2.031 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.1931, allocations: 7.938 kB / 0.5971 GB, free: 2.023 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.1932, allocations: 3.984 kB / 0.5971 GB, free: 2.02 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.127e-05/0.1932, allocations: 4 kB / 0.5971 GB, free: 2.016 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.1932, allocations: 0 / 0.5971 GB, free: 2.016 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.752e-05/0.1933, allocations: 4 kB / 0.5971 GB, free: 2.012 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.895e-06/0.1933, allocations: 4 kB / 0.5971 GB, free: 2.008 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.462e-05/0.1934, allocations: 114.7 kB / 0.5972 GB, free: 1.887 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.529e-05/0.1934, allocations: 3.953 kB / 0.5972 GB, free: 1.883 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001515/0.1935, allocations: 65.11 kB / 0.5973 GB, free: 1.809 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.1936, allocations: 0 / 0.5973 GB, free: 1.809 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.1936, allocations: 0 / 0.5973 GB, free: 1.809 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.1936, allocations: 0 / 0.5973 GB, free: 1.809 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001058/0.1937, allocations: 149.7 kB / 0.5974 GB, free: 1.613 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.1937, allocations: 0 / 0.5974 GB, free: 1.613 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.961e-05/0.1937, allocations: 15.98 kB / 0.5974 GB, free: 1.598 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.1937, allocations: 4 kB / 0.5974 GB, free: 1.594 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.404e-06/0.1938, allocations: 3.953 kB / 0.5974 GB, free: 1.59 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.1938, allocations: 0 / 0.5974 GB, free: 1.59 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.42e-07/0.1938, allocations: 0 / 0.5974 GB, free: 1.59 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000133/0.1939, allocations: 73.59 kB / 0.5975 GB, free: 1.5 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.429e-05/0.194, allocations: 85.03 kB / 0.5976 GB, free: 1.398 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.239e-05/0.194, allocations: 4 kB / 0.5976 GB, free: 1.395 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.717e-05/0.194, allocations: 7.953 kB / 0.5976 GB, free: 1.387 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.113e-05/0.1941, allocations: 11.97 kB / 0.5976 GB, free: 1.375 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.489e-06/0.1941, allocations: 3.984 kB / 0.5976 GB, free: 1.371 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.384e-05/0.1941, allocations: 79.28 kB / 0.5977 GB, free: 1.293 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1941, allocations: 0 / 0.5977 GB, free: 1.293 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002438/0.1944, allocations: 24 kB / 0.5977 GB, free: 1.27 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 (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.0002048/0.1946, allocations: 131.2 kB / 0.5978 GB, free: 1.133 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001373/0.1947, allocations: 19.98 kB / 0.5979 GB, free: 1.113 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.1947, allocations: 0 / 0.5979 GB, free: 1.113 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.069e-05/0.1948, allocations: 15.94 kB / 0.5979 GB, free: 1.098 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002007/0.195, allocations: 14.03 kB / 0.5979 GB, free: 1.086 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002481/0.1952, allocations: 130.5 kB / 0.598 GB, free: 0.9336 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002268/0.1955, allocations: 0.677 MB / 0.5987 GB, free: 236 kB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.639e-05/0.1955, allocations: 0 / 0.5987 GB, free: 236 kB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.065e-05/0.1955, allocations: 15.42 kB / 0.5987 GB, free: 220 kB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1956, allocations: 0 / 0.5987 GB, free: 220 kB / 446.1 MB Notification: Performance of Templates: time 0.003025/0.1986, allocations: 0.8432 MB / 0.5995 GB, free: 15.38 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: