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.2252/0.2273, allocations: 80.82 MB / 0.6706 GB, free: 2.004 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002945/0.2303, allocations: 1.269 MB / 0.6719 GB, free: 0.7266 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001581/0.2319, allocations: 0.6636 MB / 0.6725 GB, free: 56 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.858e-05/0.2319, allocations: 0 / 0.6725 GB, free: 56 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.917e-05/0.232, allocations: 0 / 0.6725 GB, free: 56 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 8.945e-05/0.2321, allocations: 7.922 kB / 0.6725 GB, free: 48 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006521/0.2327, allocations: 115.4 kB / 0.6726 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001205/0.2329, allocations: 23.92 kB / 0.6726 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 7.312e-05/0.233, allocations: 0 / 0.6726 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 5.643e-05/0.233, allocations: 4 kB / 0.6727 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 9.453e-05/0.2331, allocations: 11.92 kB / 0.6727 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.792e-05/0.2331, allocations: 0 / 0.6727 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003919/0.2335, allocations: 159.7 kB / 0.6728 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 2.456e-05/0.2336, allocations: 7.984 kB / 0.6728 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.995e-05/0.2336, allocations: 7.938 kB / 0.6728 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002602/0.2339, allocations: 107.8 kB / 0.6729 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 8.116e-06/0.2339, allocations: 0 / 0.6729 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.334e-06/0.2339, allocations: 0 / 0.6729 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.477e-06/0.2339, allocations: 0 / 0.6729 GB, free: 15.62 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.0005518/0.2345, allocations: 355.4 kB / 0.6733 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.688e-05/0.2345, allocations: 8.031 kB / 0.6733 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.417e-05/0.2346, allocations: 8.844 kB / 0.6733 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001721/0.2348, allocations: 164.4 kB / 0.6734 GB, free: 15.01 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.476e-05/0.2349, allocations: 30.27 kB / 0.6735 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.401e-05/0.2349, allocations: 4.375 kB / 0.6735 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001829/0.2351, allocations: 53.55 kB / 0.6735 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.2351, allocations: 0 / 0.6735 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.333e-05/0.2351, allocations: 0 / 0.6735 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.2351, allocations: 0 / 0.6735 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001034/0.2352, allocations: 11.98 kB / 0.6735 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002304/0.2355, allocations: 153.7 kB / 0.6737 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001428/0.2356, allocations: 30.58 kB / 0.6737 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.483e-05/0.2357, allocations: 24.88 kB / 0.6737 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002353/0.236, allocations: 97.03 kB / 0.6738 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.953e-05/0.236, allocations: 34.5 kB / 0.6739 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.236, allocations: 0 / 0.6739 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3): time 0.0003026/0.2363, allocations: 53.67 kB / 0.6739 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.866e-05/0.2364, allocations: 55.41 kB / 0.674 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.979e-05/0.2365, allocations: 97.86 kB / 0.6741 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.011e-05/0.2365, allocations: 25.7 kB / 0.6741 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 9.491e-05/0.2366, allocations: 84.14 kB / 0.6742 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.695e-05/0.2367, allocations: 11.81 kB / 0.6742 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.181e-05/0.2367, allocations: 17.7 kB / 0.6742 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001649/0.2369, allocations: 310.8 kB / 0.6745 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.109e-05/0.2369, allocations: 12 kB / 0.6745 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.14e-05/0.237, allocations: 11.92 kB / 0.6745 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.408e-05/0.2371, allocations: 24.84 kB / 0.6745 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.2371, allocations: 0 / 0.6745 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001401/0.2372, allocations: 49.62 kB / 0.6746 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/0.2373, allocations: 8 kB / 0.6746 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.2373, allocations: 0 / 0.6746 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.231e-05/0.2373, allocations: 0 / 0.6746 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.177e-05/0.2374, allocations: 7.938 kB / 0.6746 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.432e-05/0.2374, allocations: 11.97 kB / 0.6746 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.363e-05/0.2375, allocations: 4 kB / 0.6746 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.477e-06/0.2375, allocations: 4.516 kB / 0.6746 GB, free: 13.64 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 8.954e-05/0.2376, allocations: 113.8 kB / 0.6747 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.025e-05/0.2376, allocations: 3.938 kB / 0.6747 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002019/0.2378, allocations: 65.16 kB / 0.6748 GB, free: 13.44 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.2378, allocations: 0 / 0.6748 GB, free: 13.44 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.2378, allocations: 4 kB / 0.6748 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.2378, allocations: 0 / 0.6748 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000168/0.238, allocations: 157.6 kB / 0.6749 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.238, allocations: 3.938 kB / 0.675 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.134e-05/0.2381, allocations: 8 kB / 0.675 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.2381, allocations: 0 / 0.675 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.447e-06/0.2381, allocations: 0 / 0.675 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.2381, allocations: 0 / 0.675 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.2381, allocations: 0 / 0.675 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001693/0.2383, allocations: 84.95 kB / 0.675 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001032/0.2384, allocations: 85.05 kB / 0.6751 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.399e-05/0.2384, allocations: 0 / 0.6751 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.783e-05/0.2384, allocations: 7.984 kB / 0.6751 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.49e-05/0.2385, allocations: 0 / 0.6751 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.945e-06/0.2385, allocations: 3.938 kB / 0.6751 GB, free: 13 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.24e-05/0.2386, allocations: 79.28 kB / 0.6752 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2386, allocations: 0 / 0.6752 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002468/0.2388, allocations: 31.98 kB / 0.6752 GB, free: 12.89 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.000283/0.2391, allocations: 131.2 kB / 0.6754 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001886/0.2393, allocations: 23.92 kB / 0.6754 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.2393, allocations: 0 / 0.6754 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 4.758e-05/0.2394, allocations: 11.98 kB / 0.6754 GB, free: 12.72 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002198/0.2396, allocations: 7.938 kB / 0.6754 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003765/0.24, allocations: 127.1 kB / 0.6755 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004373/0.2404, allocations: 0.6768 MB / 0.6762 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.806e-05/0.2405, allocations: 3.953 kB / 0.6762 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.854e-05/0.2405, allocations: 11.44 kB / 0.6762 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of SimCode: time 3.61e-07/0.2405, allocations: 4 kB / 0.6762 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of Templates: time 0.004188/0.2447, allocations: 0.9058 MB / 0.6771 GB, free: 10.94 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)