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.2016/0.2039, allocations: 80.84 MB / 0.6706 GB, free: 2.035 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.002369/0.2063, allocations: 1.284 MB / 0.6719 GB, free: 0.7422 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000927/0.2073, allocations: 0.5508 MB / 0.6724 GB, free: 188 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.999e-05/0.2073, allocations: 0 / 0.6724 GB, free: 188 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.396e-05/0.2073, allocations: 3.938 kB / 0.6724 GB, free: 184 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.535e-05/0.2074, allocations: 7.922 kB / 0.6724 GB, free: 176 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003875/0.2078, allocations: 91.58 kB / 0.6725 GB, free: 84 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.488e-05/0.2079, allocations: 19.86 kB / 0.6725 GB, free: 64 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.689e-05/0.2079, allocations: 7.984 kB / 0.6725 GB, free: 56 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.498e-05/0.2079, allocations: 7.938 kB / 0.6726 GB, free: 48 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.072e-05/0.208, allocations: 8 kB / 0.6726 GB, free: 40 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.146e-05/0.208, allocations: 4 kB / 0.6726 GB, free: 36 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002839/0.2083, allocations: 139.9 kB / 0.6727 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.16e-05/0.2083, allocations: 7.906 kB / 0.6727 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.217e-05/0.2084, allocations: 7.938 kB / 0.6727 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.000178/0.2085, allocations: 79.84 kB / 0.6728 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.2086, allocations: 11.92 kB / 0.6728 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.943e-06/0.2086, allocations: 3.938 kB / 0.6728 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.55e-06/0.2086, allocations: 0 / 0.6728 GB, free: 15.79 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003911/0.209, allocations: 339.5 kB / 0.6731 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.209, allocations: 19.97 kB / 0.6731 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004065/0.2094, allocations: 24.81 kB / 0.6732 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001155/0.2096, allocations: 172.4 kB / 0.6733 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.11e-05/0.2096, allocations: 384 / 0.6733 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.163e-05/0.2096, allocations: 4.375 kB / 0.6733 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001519/0.2097, allocations: 45.8 kB / 0.6734 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.2098, allocations: 4 kB / 0.6734 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.2098, allocations: 0 / 0.6734 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.2098, allocations: 0 / 0.6734 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001213/0.2099, allocations: 23.97 kB / 0.6734 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001702/0.2101, allocations: 161.6 kB / 0.6736 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001475/0.2102, allocations: 54.52 kB / 0.6736 GB, free: 14.81 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.714e-05/0.2103, allocations: 16.91 kB / 0.6736 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.694e-05/0.2103, allocations: 0 / 0.6736 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.887e-05/0.2104, allocations: 38.5 kB / 0.6737 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.2104, allocations: 0 / 0.6737 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2): time 0.0002958/0.2107, allocations: 73.66 kB / 0.6737 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.668e-05/0.2107, allocations: 55.34 kB / 0.6738 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.194e-05/0.2108, allocations: 93.86 kB / 0.6739 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.361e-05/0.2108, allocations: 25.7 kB / 0.6739 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 2.725e-05/0.2109, allocations: 80.14 kB / 0.674 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.686e-05/0.2109, allocations: 7.906 kB / 0.674 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.7e-05/0.2109, allocations: 17.83 kB / 0.674 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001002/0.211, allocations: 314.8 kB / 0.6743 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.653e-05/0.2111, allocations: 15.98 kB / 0.6743 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.66e-05/0.2112, allocations: 15.92 kB / 0.6743 GB, free: 14 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000127/0.2113, allocations: 32.84 kB / 0.6744 GB, free: 13.97 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.2113, allocations: 4.062 kB / 0.6744 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000171/0.2115, allocations: 61.55 kB / 0.6744 GB, free: 13.9 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.2115, allocations: 8 kB / 0.6744 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/0.2115, allocations: 0 / 0.6744 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.2115, allocations: 3.984 kB / 0.6744 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.925e-05/0.2117, allocations: 4 kB / 0.6744 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.2117, allocations: 0 / 0.6744 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.984e-05/0.2117, allocations: 12.02 kB / 0.6745 GB, free: 13.87 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.983e-06/0.2117, allocations: 0 / 0.6745 GB, free: 13.87 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 (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.179e-05/0.2118, allocations: 113.8 kB / 0.6746 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.281e-05/0.2118, allocations: 3.938 kB / 0.6746 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.192e-05/0.2119, allocations: 7.062 kB / 0.6746 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.2119, allocations: 0 / 0.6746 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.2119, allocations: 0 / 0.6746 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.2119, allocations: 4 kB / 0.6746 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001138/0.212, allocations: 169.5 kB / 0.6747 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.212, allocations: 0 / 0.6747 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.79e-05/0.2121, allocations: 7.938 kB / 0.6747 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.2121, allocations: 3.984 kB / 0.6748 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.297e-06/0.2122, allocations: 0 / 0.6748 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.2122, allocations: 0 / 0.6748 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.2122, allocations: 0 / 0.6748 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001903/0.2124, allocations: 89.05 kB / 0.6748 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 7.763e-05/0.2124, allocations: 85.03 kB / 0.6749 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.404e-05/0.2125, allocations: 4 kB / 0.6749 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.55e-05/0.2125, allocations: 0 / 0.6749 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.302e-05/0.2125, allocations: 3.984 kB / 0.6749 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.015e-06/0.2126, allocations: 8.188 kB / 0.6749 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.263e-05/0.2126, allocations: 79.27 kB / 0.675 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2126, allocations: 4.031 kB / 0.675 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0001942/0.2128, allocations: 16 kB / 0.675 GB, free: 13.18 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 (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.0001695/0.213, allocations: 111.2 kB / 0.6751 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001863/0.2132, allocations: 31.91 kB / 0.6752 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.2132, allocations: 0 / 0.6752 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 6.403e-05/0.2133, allocations: 23.98 kB / 0.6752 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001985/0.2135, allocations: 8 kB / 0.6752 GB, free: 13 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003569/0.2138, allocations: 122.5 kB / 0.6753 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002256/0.2141, allocations: 0.6768 MB / 0.676 GB, free: 12.15 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 6.452e-05/0.2141, allocations: 16 kB / 0.676 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.438e-05/0.2142, allocations: 11.44 kB / 0.676 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of SimCode: time 2.21e-07/0.2142, allocations: 0 / 0.676 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of Templates: time 0.002698/0.2169, allocations: 0.7449 MB / 0.6767 GB, free: 11.39 MB / 0.5137 GB 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)