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.2173/0.2193, allocations: 80.84 MB / 0.6706 GB, free: 1.984 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.003079/0.2224, allocations: 1.257 MB / 0.6719 GB, free: 0.7188 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001385/0.2239, allocations: 0.6597 MB / 0.6725 GB, free: 52 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.899e-05/0.2239, allocations: 0 / 0.6725 GB, free: 52 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.197e-05/0.224, allocations: 11.92 kB / 0.6725 GB, free: 40 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.296e-05/0.2241, allocations: 4 kB / 0.6725 GB, free: 36 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007135/0.2248, allocations: 111.6 kB / 0.6726 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001255/0.2249, allocations: 19.92 kB / 0.6726 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 6.72e-05/0.225, allocations: 4 kB / 0.6727 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 5.676e-05/0.2251, allocations: 7.938 kB / 0.6727 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 7.654e-05/0.2251, allocations: 15.92 kB / 0.6727 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.355e-05/0.2252, allocations: 0 / 0.6727 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003175/0.2255, allocations: 151.8 kB / 0.6728 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.668e-05/0.2255, allocations: 7.984 kB / 0.6728 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.856e-05/0.2255, allocations: 11.94 kB / 0.6728 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002158/0.2258, allocations: 99.67 kB / 0.6729 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.2258, allocations: 0 / 0.6729 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.904e-06/0.2258, allocations: 0 / 0.6729 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.563e-06/0.2258, allocations: 0 / 0.6729 GB, free: 15.61 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.000475/0.2263, allocations: 359.4 kB / 0.6733 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/0.2263, allocations: 11.97 kB / 0.6733 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.392e-05/0.2264, allocations: 8.844 kB / 0.6733 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001642/0.2265, allocations: 168.4 kB / 0.6735 GB, free: 14.99 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.258e-05/0.2266, allocations: 26.27 kB / 0.6735 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.436e-05/0.2266, allocations: 8.375 kB / 0.6735 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001352/0.2268, allocations: 37.62 kB / 0.6735 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.2268, allocations: 0 / 0.6735 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.948e-06/0.2268, allocations: 0 / 0.6735 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/0.2268, allocations: 4 kB / 0.6735 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.197e-05/0.2269, allocations: 11.98 kB / 0.6735 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002076/0.2271, allocations: 157.7 kB / 0.6737 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001082/0.2272, allocations: 34.52 kB / 0.6737 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.199e-05/0.2273, allocations: 20.88 kB / 0.6737 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001941/0.2275, allocations: 93.03 kB / 0.6738 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.848e-05/0.2275, allocations: 30.56 kB / 0.6739 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=3): time 1.333e-06/0.2276, allocations: 4 kB / 0.6739 GB, free: 14.47 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3): time 0.0002626/0.2278, allocations: 65.61 kB / 0.6739 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.328e-05/0.2279, allocations: 51.41 kB / 0.674 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.204e-05/0.2279, allocations: 98.03 kB / 0.6741 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.161e-05/0.228, allocations: 25.7 kB / 0.6741 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 2.704e-05/0.228, allocations: 80.14 kB / 0.6742 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.057e-05/0.228, allocations: 15.8 kB / 0.6742 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.858e-05/0.2281, allocations: 13.72 kB / 0.6742 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001094/0.2282, allocations: 318.8 kB / 0.6745 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.577e-05/0.2282, allocations: 8 kB / 0.6745 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.741e-05/0.2283, allocations: 7.984 kB / 0.6745 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.055e-05/0.2284, allocations: 20.84 kB / 0.6745 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.2284, allocations: 0 / 0.6745 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000125/0.2285, allocations: 61.56 kB / 0.6746 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/0.2285, allocations: 4 kB / 0.6746 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.2285, allocations: 4 kB / 0.6746 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.2286, allocations: 0 / 0.6746 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.874e-05/0.2286, allocations: 15.92 kB / 0.6746 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.2287, allocations: 0 / 0.6746 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.794e-05/0.2287, allocations: 0 / 0.6746 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.472e-06/0.2287, allocations: 0 / 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 7.674e-05/0.2288, allocations: 117.8 kB / 0.6747 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.179e-05/0.2288, allocations: 3.938 kB / 0.6747 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001657/0.229, allocations: 61.11 kB / 0.6748 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.229, allocations: 4 kB / 0.6748 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.229, allocations: 3.938 kB / 0.6748 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.229, allocations: 0 / 0.6748 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001185/0.2291, allocations: 153.7 kB / 0.6749 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.2291, allocations: 3.938 kB / 0.675 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.314e-05/0.2292, allocations: 4 kB / 0.675 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.2292, allocations: 0 / 0.675 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.284e-06/0.2292, allocations: 0 / 0.675 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.629e-06/0.2292, allocations: 4 kB / 0.675 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.2292, allocations: 7.984 kB / 0.675 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001592/0.2294, allocations: 73.03 kB / 0.675 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.931e-05/0.2295, allocations: 85.05 kB / 0.6751 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.584e-05/0.2295, allocations: 3.984 kB / 0.6751 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.744e-05/0.2295, allocations: 0 / 0.6751 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.599e-05/0.2296, allocations: 4 kB / 0.6751 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.317e-06/0.2296, allocations: 3.938 kB / 0.6751 GB, free: 13 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.996e-05/0.2297, allocations: 87.7 kB / 0.6752 GB, free: 12.92 MB / 0.5137 GB Notification: Performance of sort global known variables: time 5.41e-07/0.2297, allocations: 3.938 kB / 0.6752 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002437/0.2299, allocations: 23.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.0002789/0.2302, allocations: 131.2 kB / 0.6754 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001712/0.2304, allocations: 20.12 kB / 0.6754 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.2304, allocations: 0 / 0.6754 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 5.47e-05/0.2305, allocations: 16.08 kB / 0.6754 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002246/0.2307, allocations: 12.03 kB / 0.6754 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003629/0.2311, allocations: 127 kB / 0.6755 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003259/0.2314, allocations: 0.6768 MB / 0.6762 GB, free: 11.85 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.654e-05/0.2315, allocations: 11.95 kB / 0.6762 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.203e-05/0.2315, allocations: 7.438 kB / 0.6762 GB, free: 11.83 MB / 0.5137 GB Notification: Performance of SimCode: time 3.81e-07/0.2315, allocations: 0 / 0.6762 GB, free: 11.83 MB / 0.5137 GB Notification: Performance of Templates: time 0.003639/0.2351, allocations: 0.8969 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)