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.1965/0.1973, allocations: 82.22 MB / 0.5934 GB, free: 6.023 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.001546/0.1989, allocations: 0.9823 MB / 0.5943 GB, free: 5.031 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001267/0.2002, allocations: 0.583 MB / 0.5949 GB, free: 4.441 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.551e-05/0.2002, allocations: 4 kB / 0.5949 GB, free: 4.438 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.67e-05/0.2002, allocations: 3.938 kB / 0.5949 GB, free: 4.434 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.805e-05/0.2003, allocations: 7.984 kB / 0.5949 GB, free: 4.426 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004713/0.2008, allocations: 87.72 kB / 0.595 GB, free: 4.34 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001064/0.2009, allocations: 23.97 kB / 0.595 GB, free: 4.316 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.736e-05/0.201, allocations: 0 / 0.595 GB, free: 4.316 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.258e-05/0.201, allocations: 7.938 kB / 0.595 GB, free: 4.309 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.541e-05/0.2011, allocations: 11.98 kB / 0.595 GB, free: 4.297 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.263e-05/0.2011, allocations: 0 / 0.595 GB, free: 4.297 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003838/0.2015, allocations: 171.7 kB / 0.5952 GB, free: 4.129 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.899e-05/0.2015, allocations: 3.984 kB / 0.5952 GB, free: 4.125 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.374e-05/0.2016, allocations: 29.7 kB / 0.5952 GB, free: 4.09 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000208/0.2018, allocations: 76.14 kB / 0.5953 GB, free: 4.016 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.354e-06/0.2018, allocations: 0 / 0.5953 GB, free: 4.016 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.2018, allocations: 4 kB / 0.5953 GB, free: 4.012 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.05e-06/0.2018, allocations: 0 / 0.5953 GB, free: 4.012 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.0005058/0.2023, allocations: 350.4 kB / 0.5956 GB, free: 3.625 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.416e-05/0.2024, allocations: 8.031 kB / 0.5957 GB, free: 3.617 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.994e-05/0.2025, allocations: 3.938 kB / 0.5957 GB, free: 3.613 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001321/0.2026, allocations: 171 kB / 0.5958 GB, free: 3.406 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.683e-05/0.2027, allocations: 29.66 kB / 0.5959 GB, free: 3.371 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.141e-05/0.2027, allocations: 4 kB / 0.5959 GB, free: 3.367 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000134/0.2028, allocations: 41.69 kB / 0.5959 GB, free: 3.32 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.2029, allocations: 0 / 0.5959 GB, free: 3.32 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.245e-05/0.2029, allocations: 0 / 0.5959 GB, free: 3.32 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.2029, allocations: 3.938 kB / 0.5959 GB, free: 3.316 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.023e-05/0.203, allocations: 11.98 kB / 0.5959 GB, free: 3.305 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002062/0.2032, allocations: 157.7 kB / 0.5961 GB, free: 3.102 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.459e-05/0.2033, allocations: 34.44 kB / 0.5961 GB, free: 3.059 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002125/0.2035, allocations: 105.1 kB / 0.5962 GB, free: 2.938 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.271e-05/0.2036, allocations: 30.56 kB / 0.5962 GB, free: 2.898 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.453e-06/0.2036, allocations: 0 / 0.5962 GB, free: 2.898 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002643/0.2038, allocations: 53.67 kB / 0.5963 GB, free: 2.84 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.706e-05/0.2039, allocations: 55.34 kB / 0.5963 GB, free: 2.773 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.094e-05/0.204, allocations: 101.8 kB / 0.5964 GB, free: 2.664 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.744e-05/0.204, allocations: 29.7 kB / 0.5965 GB, free: 2.629 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.489e-05/0.2041, allocations: 80.14 kB / 0.5965 GB, free: 2.547 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.116e-05/0.2041, allocations: 11.81 kB / 0.5965 GB, free: 2.535 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.837e-06/0.2041, allocations: 0 / 0.5965 GB, free: 2.535 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001613/0.2043, allocations: 314.8 kB / 0.5968 GB, free: 2.219 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.423e-05/0.2043, allocations: 7.984 kB / 0.5968 GB, free: 2.211 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.261e-05/0.2044, allocations: 4 kB / 0.5969 GB, free: 2.207 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.744e-05/0.2045, allocations: 11.98 kB / 0.5969 GB, free: 2.195 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.2045, allocations: 4 kB / 0.5969 GB, free: 2.191 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001348/0.2046, allocations: 45.69 kB / 0.5969 GB, free: 2.141 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.173e-05/0.2047, allocations: 7.953 kB / 0.5969 GB, free: 2.133 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.2047, allocations: 0 / 0.5969 GB, free: 2.133 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.2047, allocations: 4 kB / 0.5969 GB, free: 2.129 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.142e-05/0.2048, allocations: 4 kB / 0.5969 GB, free: 2.125 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.2048, allocations: 3.938 kB / 0.5969 GB, free: 2.121 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.475e-05/0.2048, allocations: 7.984 kB / 0.5969 GB, free: 2.113 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.091e-05/0.2048, allocations: 4 kB / 0.5969 GB, free: 2.109 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 8.029e-05/0.2049, allocations: 113.8 kB / 0.597 GB, free: 1.988 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.969e-06/0.2049, allocations: 0 / 0.597 GB, free: 1.988 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001761/0.2051, allocations: 65.12 kB / 0.5971 GB, free: 1.914 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.2051, allocations: 0 / 0.5971 GB, free: 1.914 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.2051, allocations: 0 / 0.5971 GB, free: 1.914 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.2052, allocations: 0 / 0.5971 GB, free: 1.914 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001117/0.2053, allocations: 149.7 kB / 0.5973 GB, free: 1.719 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.2053, allocations: 0 / 0.5973 GB, free: 1.719 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.371e-05/0.2053, allocations: 8 kB / 0.5973 GB, free: 1.711 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.2053, allocations: 4 kB / 0.5973 GB, free: 1.707 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.887e-06/0.2054, allocations: 4 kB / 0.5973 GB, free: 1.703 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-06/0.2054, allocations: 7.891 kB / 0.5973 GB, free: 1.695 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.2054, allocations: 3.938 kB / 0.5973 GB, free: 1.691 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001419/0.2055, allocations: 77.58 kB / 0.5974 GB, free: 1.598 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.647e-05/0.2056, allocations: 81.05 kB / 0.5974 GB, free: 1.5 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.246e-05/0.2056, allocations: 3.938 kB / 0.5974 GB, free: 1.496 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.024e-05/0.2056, allocations: 12.03 kB / 0.5974 GB, free: 1.484 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.91e-05/0.2057, allocations: 15.94 kB / 0.5975 GB, free: 1.469 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.196e-06/0.2057, allocations: 0 / 0.5975 GB, free: 1.469 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.337e-05/0.2057, allocations: 79.28 kB / 0.5975 GB, free: 1.391 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2057, allocations: 0 / 0.5975 GB, free: 1.391 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002366/0.206, allocations: 27.98 kB / 0.5976 GB, free: 1.363 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.0002332/0.2062, allocations: 131.2 kB / 0.5977 GB, free: 1.227 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001446/0.2064, allocations: 27.92 kB / 0.5977 GB, free: 1.199 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.2064, allocations: 0 / 0.5977 GB, free: 1.199 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.944e-05/0.2064, allocations: 15.98 kB / 0.5977 GB, free: 1.184 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001977/0.2066, allocations: 0 / 0.5977 GB, free: 1.184 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002947/0.207, allocations: 126.6 kB / 0.5979 GB, free: 1.035 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003594/0.2073, allocations: 0.6848 MB / 0.5985 GB, free: 332 kB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.803e-05/0.2074, allocations: 3.938 kB / 0.5985 GB, free: 328 kB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.939e-05/0.2074, allocations: 11.44 kB / 0.5985 GB, free: 316 kB / 446.1 MB Notification: Performance of SimCode: time 2.846e-06/0.2074, allocations: 0 / 0.5985 GB, free: 316 kB / 446.1 MB Notification: Performance of Templates: time 0.003445/0.2109, allocations: 0.8433 MB / 0.5994 GB, free: 15.48 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: