Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.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.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure") [/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.1964/0.1983, allocations: 80.83 MB / 0.5897 GB, free: 7.117 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.002913/0.2012, allocations: 1.356 MB / 0.591 GB, free: 5.742 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001021/0.2023, allocations: 0.559 MB / 0.5916 GB, free: 5.176 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.985e-05/0.2023, allocations: 0 / 0.5916 GB, free: 5.176 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.161e-05/0.2024, allocations: 0 / 0.5916 GB, free: 5.176 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.608e-05/0.2025, allocations: 11.92 kB / 0.5916 GB, free: 5.164 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003988/0.2029, allocations: 79.7 kB / 0.5916 GB, free: 5.086 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.086e-05/0.2029, allocations: 15.88 kB / 0.5917 GB, free: 5.07 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.281e-05/0.203, allocations: 7.922 kB / 0.5917 GB, free: 5.062 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.676e-05/0.203, allocations: 8 kB / 0.5917 GB, free: 5.055 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.847e-05/0.2031, allocations: 11.98 kB / 0.5917 GB, free: 5.043 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.438e-05/0.2031, allocations: 0 / 0.5917 GB, free: 5.043 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003052/0.2034, allocations: 143.7 kB / 0.5918 GB, free: 4.902 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.681e-05/0.2034, allocations: 0 / 0.5918 GB, free: 4.902 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.089e-05/0.2035, allocations: 15.94 kB / 0.5918 GB, free: 4.887 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002235/0.2037, allocations: 99.97 kB / 0.5919 GB, free: 4.789 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.2037, allocations: 0 / 0.5919 GB, free: 4.789 MB / 446.1 MB Notification: Performance of FrontEnd: time 8.61e-07/0.2037, allocations: 0 / 0.5919 GB, free: 4.789 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.717e-06/0.2037, allocations: 0 / 0.5919 GB, free: 4.789 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.000464/0.2042, allocations: 351.4 kB / 0.5923 GB, free: 4.398 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.635e-05/0.2043, allocations: 12.03 kB / 0.5923 GB, free: 4.387 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004675/0.2047, allocations: 24.91 kB / 0.5923 GB, free: 4.363 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001186/0.2049, allocations: 164.4 kB / 0.5925 GB, free: 4.164 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.242e-05/0.2049, allocations: 384 / 0.5925 GB, free: 4.164 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.58e-05/0.2049, allocations: 384 / 0.5925 GB, free: 4.164 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001773/0.2051, allocations: 53.8 kB / 0.5925 GB, free: 4.105 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.153e-06/0.2051, allocations: 0 / 0.5925 GB, free: 4.105 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.2051, allocations: 0 / 0.5925 GB, free: 4.105 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.2051, allocations: 4 kB / 0.5925 GB, free: 4.102 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001283/0.2053, allocations: 23.97 kB / 0.5925 GB, free: 4.078 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001751/0.2055, allocations: 153.7 kB / 0.5927 GB, free: 3.879 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001538/0.2056, allocations: 50.48 kB / 0.5927 GB, free: 3.82 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.632e-05/0.2057, allocations: 16.91 kB / 0.5927 GB, free: 3.801 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.974e-05/0.2057, allocations: 0 / 0.5927 GB, free: 3.801 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.569e-05/0.2058, allocations: 38.5 kB / 0.5928 GB, free: 3.754 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 8.11e-07/0.2058, allocations: 0 / 0.5928 GB, free: 3.754 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003062/0.2061, allocations: 77.56 kB / 0.5929 GB, free: 3.672 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.916e-05/0.2061, allocations: 55.34 kB / 0.5929 GB, free: 3.605 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.926e-05/0.2062, allocations: 97.8 kB / 0.593 GB, free: 3.5 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.741e-05/0.2062, allocations: 25.7 kB / 0.593 GB, free: 3.469 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.673e-05/0.2063, allocations: 80.14 kB / 0.5931 GB, free: 3.387 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.129e-05/0.2063, allocations: 20.05 kB / 0.5931 GB, free: 3.367 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.806e-05/0.2063, allocations: 13.72 kB / 0.5931 GB, free: 3.348 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.39e-05/0.2064, allocations: 314.8 kB / 0.5934 GB, free: 3.031 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.407e-05/0.2065, allocations: 11.98 kB / 0.5934 GB, free: 3.02 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.785e-05/0.2066, allocations: 15.98 kB / 0.5935 GB, free: 3.004 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000129/0.2067, allocations: 32.91 kB / 0.5935 GB, free: 2.969 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.2067, allocations: 0 / 0.5935 GB, free: 2.969 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001716/0.2069, allocations: 69.45 kB / 0.5936 GB, free: 2.895 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.2069, allocations: 7.984 kB / 0.5936 GB, free: 2.887 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.2069, allocations: 0 / 0.5936 GB, free: 2.887 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.207, allocations: 0 / 0.5936 GB, free: 2.887 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001045/0.2071, allocations: 4 kB / 0.5936 GB, free: 2.883 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.768e-06/0.2071, allocations: 12.02 kB / 0.5936 GB, free: 2.871 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.235e-05/0.2072, allocations: 0 / 0.5936 GB, free: 2.871 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.585e-06/0.2072, allocations: 0 / 0.5936 GB, free: 2.871 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 (2): * Single equations (assignments): 2 * 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.063e-05/0.2072, allocations: 114.7 kB / 0.5937 GB, free: 2.75 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.508e-05/0.2073, allocations: 7.875 kB / 0.5937 GB, free: 2.742 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.129e-05/0.2073, allocations: 3.125 kB / 0.5937 GB, free: 2.738 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.2073, allocations: 192 / 0.5937 GB, free: 2.738 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/0.2073, allocations: 11.98 kB / 0.5937 GB, free: 2.727 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.2073, allocations: 3.984 kB / 0.5937 GB, free: 2.723 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000113/0.2075, allocations: 157.5 kB / 0.5939 GB, free: 2.52 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.2075, allocations: 0 / 0.5939 GB, free: 2.52 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.141e-05/0.2076, allocations: 11.92 kB / 0.5939 GB, free: 2.508 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.2076, allocations: 0 / 0.5939 GB, free: 2.508 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.456e-06/0.2076, allocations: 0 / 0.5939 GB, free: 2.508 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.2076, allocations: 0 / 0.5939 GB, free: 2.508 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.2076, allocations: 4 kB / 0.5939 GB, free: 2.504 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001957/0.2078, allocations: 85.05 kB / 0.594 GB, free: 2.402 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.808e-05/0.2079, allocations: 89.03 kB / 0.594 GB, free: 2.297 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.706e-05/0.2079, allocations: 0 / 0.594 GB, free: 2.297 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.49e-05/0.208, allocations: 3.984 kB / 0.5941 GB, free: 2.293 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.387e-05/0.208, allocations: 7.938 kB / 0.5941 GB, free: 2.285 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.901e-06/0.208, allocations: 0 / 0.5941 GB, free: 2.285 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.385e-05/0.2081, allocations: 83.31 kB / 0.5941 GB, free: 2.203 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2081, allocations: 0 / 0.5941 GB, free: 2.203 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002117/0.2083, allocations: 12 kB / 0.5942 GB, free: 2.191 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 (2): * Single equations (assignments): 2 * 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.0001743/0.2085, allocations: 111.2 kB / 0.5943 GB, free: 2.074 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001821/0.2087, allocations: 27.97 kB / 0.5943 GB, free: 2.047 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.2087, allocations: 4.062 kB / 0.5943 GB, free: 2.043 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.906e-05/0.2087, allocations: 19.92 kB / 0.5943 GB, free: 2.023 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002549/0.209, allocations: 11.03 kB / 0.5943 GB, free: 2.016 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004043/0.2094, allocations: 128.2 kB / 0.5944 GB, free: 1.867 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002113/0.2096, allocations: 0.681 MB / 0.5951 GB, free: 1.16 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 9.048e-05/0.2097, allocations: 11.94 kB / 0.5951 GB, free: 1.148 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.391e-05/0.2098, allocations: 7.438 kB / 0.5951 GB, free: 1.141 MB / 446.1 MB Notification: Performance of SimCode: time 3.3e-07/0.2098, allocations: 0 / 0.5951 GB, free: 1.141 MB / 446.1 MB Notification: Performance of Templates: time 0.003053/0.2128, allocations: 0.7202 MB / 0.5958 GB, free: 472 kB / 446.1 MB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & ./Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1)