Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.Psychrometrics.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.Examples.Phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX") translateModel(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Psychrometrics.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.1944/0.1963, allocations: 80.83 MB / 0.5897 GB, free: 7.129 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.00372/0.2001, allocations: 1.549 MB / 0.5912 GB, free: 5.555 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001336/0.2014, allocations: 0.7264 MB / 0.5919 GB, free: 4.82 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.369e-05/0.2015, allocations: 0 / 0.5919 GB, free: 4.82 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 4.644e-05/0.2016, allocations: 3.938 kB / 0.5919 GB, free: 4.816 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.369e-05/0.2017, allocations: 7.922 kB / 0.5919 GB, free: 4.809 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005114/0.2022, allocations: 103.6 kB / 0.592 GB, free: 4.707 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001024/0.2023, allocations: 55.8 kB / 0.5921 GB, free: 4.652 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001061/0.2024, allocations: 16.2 kB / 0.5921 GB, free: 4.637 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.821e-05/0.2025, allocations: 15.94 kB / 0.5921 GB, free: 4.621 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.923e-05/0.2026, allocations: 23.91 kB / 0.5921 GB, free: 4.598 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.43e-05/0.2026, allocations: 0 / 0.5921 GB, free: 4.598 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003725/0.203, allocations: 171.7 kB / 0.5923 GB, free: 4.43 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.983e-05/0.203, allocations: 4 kB / 0.5923 GB, free: 4.426 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.309e-05/0.2031, allocations: 23.86 kB / 0.5923 GB, free: 4.402 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003483/0.2034, allocations: 139.6 kB / 0.5924 GB, free: 4.266 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.2034, allocations: 0 / 0.5924 GB, free: 4.266 MB / 446.1 MB Notification: Performance of FrontEnd: time 8.01e-07/0.2034, allocations: 0 / 0.5924 GB, free: 4.266 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.164e-06/0.2035, allocations: 0 / 0.5924 GB, free: 4.266 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006539/0.2041, allocations: 394.7 kB / 0.5928 GB, free: 3.836 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/0.2042, allocations: 16.02 kB / 0.5928 GB, free: 3.82 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.677e-05/0.2042, allocations: 8.844 kB / 0.5928 GB, free: 3.812 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001262/0.2043, allocations: 164.4 kB / 0.593 GB, free: 3.613 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.54e-05/0.2044, allocations: 4.375 kB / 0.593 GB, free: 3.609 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.233e-05/0.2044, allocations: 384 / 0.593 GB, free: 3.609 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002911/0.2047, allocations: 85.7 kB / 0.5931 GB, free: 3.52 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.2047, allocations: 7.938 kB / 0.5931 GB, free: 3.512 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.647e-05/0.2047, allocations: 4 kB / 0.5931 GB, free: 3.508 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.189e-06/0.2048, allocations: 0 / 0.5931 GB, free: 3.508 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002919/0.2051, allocations: 75.91 kB / 0.5932 GB, free: 3.434 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004726/0.2055, allocations: 284.7 kB / 0.5934 GB, free: 3.105 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002092/0.2058, allocations: 62.47 kB / 0.5935 GB, free: 3.035 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001488/0.2059, allocations: 44.84 kB / 0.5935 GB, free: 2.988 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002169/0.2061, allocations: 89.09 kB / 0.5936 GB, free: 2.883 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.761e-05/0.2062, allocations: 34.56 kB / 0.5937 GB, free: 2.84 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.212e-06/0.2062, allocations: 0 / 0.5937 GB, free: 2.84 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005443/0.2067, allocations: 133.5 kB / 0.5938 GB, free: 2.703 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.113e-05/0.2068, allocations: 51.41 kB / 0.5938 GB, free: 2.641 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001035/0.2069, allocations: 117.8 kB / 0.5939 GB, free: 2.516 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.545e-05/0.2069, allocations: 25.7 kB / 0.594 GB, free: 2.484 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.544e-05/0.207, allocations: 92.08 kB / 0.5941 GB, free: 2.391 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.266e-05/0.2071, allocations: 7.906 kB / 0.5941 GB, free: 2.383 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.613e-05/0.2071, allocations: 21.7 kB / 0.5941 GB, free: 2.355 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001155/0.2072, allocations: 314.8 kB / 0.5944 GB, free: 2.039 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001413/0.2074, allocations: 31.97 kB / 0.5944 GB, free: 2.008 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001303/0.2075, allocations: 31.95 kB / 0.5944 GB, free: 1.977 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002723/0.2078, allocations: 72.78 kB / 0.5945 GB, free: 1.902 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.2078, allocations: 0 / 0.5945 GB, free: 1.902 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003186/0.2081, allocations: 97.53 kB / 0.5946 GB, free: 1.801 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.2082, allocations: 10.03 kB / 0.5946 GB, free: 1.793 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.2082, allocations: 4 kB / 0.5946 GB, free: 1.789 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.2082, allocations: 0 / 0.5946 GB, free: 1.789 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001226/0.2083, allocations: 15.92 kB / 0.5946 GB, free: 1.773 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.997e-06/0.2083, allocations: 4 kB / 0.5946 GB, free: 1.77 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.098e-05/0.2084, allocations: 15.97 kB / 0.5947 GB, free: 1.754 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.228e-06/0.2084, allocations: 4 kB / 0.5947 GB, free: 1.75 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 9.816e-05/0.2085, allocations: 110.7 kB / 0.5948 GB, free: 1.633 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.052e-05/0.2086, allocations: 11.91 kB / 0.5948 GB, free: 1.621 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003519/0.2089, allocations: 105.5 kB / 0.5949 GB, free: 1.512 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.2089, allocations: 0 / 0.5949 GB, free: 1.512 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.209, allocations: 0 / 0.5949 GB, free: 1.512 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.209, allocations: 0 / 0.5949 GB, free: 1.512 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001776/0.2091, allocations: 173.6 kB / 0.595 GB, free: 1.293 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.2092, allocations: 0 / 0.595 GB, free: 1.293 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.397e-05/0.2093, allocations: 23.92 kB / 0.5951 GB, free: 1.27 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.2093, allocations: 3.938 kB / 0.5951 GB, free: 1.266 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.684e-06/0.2093, allocations: 0 / 0.5951 GB, free: 1.266 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.143e-06/0.2093, allocations: 0 / 0.5951 GB, free: 1.266 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.137e-05/0.2093, allocations: 7.938 kB / 0.5951 GB, free: 1.258 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003419/0.2096, allocations: 199.8 kB / 0.5953 GB, free: 1.047 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.856e-05/0.2097, allocations: 85.05 kB / 0.5953 GB, free: 0.9453 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.595e-05/0.2097, allocations: 4 kB / 0.5954 GB, free: 0.9414 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000102/0.2098, allocations: 11.98 kB / 0.5954 GB, free: 0.9297 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.618e-05/0.2099, allocations: 11.98 kB / 0.5954 GB, free: 0.918 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.938e-06/0.2099, allocations: 0 / 0.5954 GB, free: 0.918 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.245e-05/0.2099, allocations: 91.27 kB / 0.5955 GB, free: 0.8281 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.21, allocations: 0 / 0.5955 GB, free: 0.8281 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002718/0.2102, allocations: 35.88 kB / 0.5955 GB, free: 0.793 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.0002278/0.2105, allocations: 143.2 kB / 0.5956 GB, free: 0.6445 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000358/0.2108, allocations: 71.86 kB / 0.5957 GB, free: 0.5742 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.2109, allocations: 0 / 0.5957 GB, free: 0.5742 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000158/0.211, allocations: 35.97 kB / 0.5957 GB, free: 0.5391 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004015/0.2114, allocations: 11.81 kB / 0.5957 GB, free: 0.5312 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004023/0.2118, allocations: 156.9 kB / 0.5959 GB, free: 360 kB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002976/0.2122, allocations: 0.6887 MB / 0.5966 GB, free: 15.64 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 3.552e-05/0.2122, allocations: 4 kB / 0.5966 GB, free: 15.63 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.651e-05/0.2122, allocations: 7.438 kB / 0.5966 GB, free: 15.62 MB / 462.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2122, allocations: 0 / 0.5966 GB, free: 15.62 MB / 462.1 MB Notification: Performance of Templates: time 0.004051/0.2163, allocations: 1.223 MB / 0.5978 GB, free: 14.41 MB / 462.1 MB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.sim & ./Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1)