Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.Psychrometrics.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.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure") translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Psychrometrics.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.1996/0.2018, allocations: 80.83 MB / 0.6706 GB, free: 2.035 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.00259/0.2044, allocations: 1.414 MB / 0.672 GB, free: 0.6094 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009589/0.2054, allocations: 0.578 MB / 0.6726 GB, free: 24 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.534e-05/0.2055, allocations: 0 / 0.6726 GB, free: 24 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.154e-05/0.2055, allocations: 4 kB / 0.6726 GB, free: 20 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.427e-05/0.2056, allocations: 3.938 kB / 0.6726 GB, free: 16 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003943/0.206, allocations: 95.56 kB / 0.6727 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 6.731e-05/0.206, allocations: 27.91 kB / 0.6727 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 9.348e-05/0.2061, allocations: 7.938 kB / 0.6727 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 4.465e-05/0.2062, allocations: 15.98 kB / 0.6727 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 4.412e-05/0.2062, allocations: 7.938 kB / 0.6727 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.264e-05/0.2063, allocations: 4 kB / 0.6727 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000295/0.2065, allocations: 151.7 kB / 0.6729 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.493e-05/0.2066, allocations: 7.984 kB / 0.6729 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.465e-05/0.2066, allocations: 3.938 kB / 0.6729 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001936/0.2068, allocations: 95.88 kB / 0.673 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.2068, allocations: 3.938 kB / 0.673 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.565e-06/0.2068, allocations: 4 kB / 0.673 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.939e-06/0.2068, allocations: 0 / 0.673 GB, free: 15.6 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.0004574/0.2073, allocations: 363.4 kB / 0.6733 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.2073, allocations: 15.97 kB / 0.6733 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004125/0.2078, allocations: 24.91 kB / 0.6734 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000128/0.2079, allocations: 164.3 kB / 0.6735 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.529e-05/0.2079, allocations: 4.359 kB / 0.6735 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.414e-05/0.2079, allocations: 8.375 kB / 0.6735 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002522/0.2082, allocations: 73.7 kB / 0.6736 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.654e-06/0.2082, allocations: 0 / 0.6736 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.221e-05/0.2082, allocations: 0 / 0.6736 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.2082, allocations: 0 / 0.6736 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002502/0.2085, allocations: 51.94 kB / 0.6736 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004506/0.2089, allocations: 280.8 kB / 0.6739 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000208/0.2092, allocations: 54.48 kB / 0.674 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001285/0.2093, allocations: 36.89 kB / 0.674 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.8e-05/0.2093, allocations: 0 / 0.674 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.14e-05/0.2094, allocations: 30.56 kB / 0.674 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.2094, allocations: 0 / 0.674 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2): time 0.0004991/0.2099, allocations: 121.5 kB / 0.6741 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.611e-05/0.2099, allocations: 55.41 kB / 0.6742 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.928e-05/0.21, allocations: 93.86 kB / 0.6743 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.661e-05/0.21, allocations: 25.7 kB / 0.6743 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.859e-05/0.2101, allocations: 92.11 kB / 0.6744 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.108e-05/0.2101, allocations: 11.84 kB / 0.6744 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.645e-05/0.2101, allocations: 9.844 kB / 0.6744 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001188/0.2103, allocations: 330.8 kB / 0.6747 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001231/0.2104, allocations: 27.91 kB / 0.6748 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001142/0.2105, allocations: 23.97 kB / 0.6748 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002334/0.2108, allocations: 56.88 kB / 0.6748 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.2108, allocations: 0 / 0.6748 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003196/0.2111, allocations: 89.62 kB / 0.6749 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.2111, allocations: 4 kB / 0.6749 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.2111, allocations: 4.031 kB / 0.6749 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.2111, allocations: 0 / 0.6749 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001269/0.2113, allocations: 19.92 kB / 0.6749 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/0.2113, allocations: 0 / 0.6749 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.286e-05/0.2114, allocations: 7.984 kB / 0.675 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.065e-06/0.2114, allocations: 4 kB / 0.675 GB, free: 13.33 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 8.289e-05/0.2115, allocations: 117.8 kB / 0.6751 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.736e-05/0.2115, allocations: 8 kB / 0.6751 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.236e-05/0.2116, allocations: 7.109 kB / 0.6751 GB, free: 13.19 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.2116, allocations: 3.938 kB / 0.6751 GB, free: 13.19 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.147e-06/0.2116, allocations: 192 / 0.6751 GB, free: 13.19 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.2116, allocations: 0 / 0.6751 GB, free: 13.19 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001652/0.2118, allocations: 173.6 kB / 0.6753 GB, free: 12.97 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.2118, allocations: 0 / 0.6753 GB, free: 12.97 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000106/0.2119, allocations: 11.98 kB / 0.6753 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.2119, allocations: 4 kB / 0.6753 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.059e-05/0.2119, allocations: 3.984 kB / 0.6753 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.2119, allocations: 0 / 0.6753 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-06/0.2119, allocations: 0 / 0.6753 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003816/0.2123, allocations: 195.3 kB / 0.6755 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.165e-05/0.2123, allocations: 81.09 kB / 0.6755 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.699e-05/0.2124, allocations: 0 / 0.6755 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001118/0.2125, allocations: 4 kB / 0.6755 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.937e-05/0.2125, allocations: 7.984 kB / 0.6756 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.43e-06/0.2125, allocations: 0 / 0.6756 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.835e-05/0.2126, allocations: 83.28 kB / 0.6756 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2126, allocations: 0 / 0.6756 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002333/0.2128, allocations: 19.94 kB / 0.6756 GB, free: 12.53 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.0001619/0.213, allocations: 111.2 kB / 0.6758 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003185/0.2133, allocations: 55.94 kB / 0.6758 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.2133, allocations: 0 / 0.6758 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001374/0.2135, allocations: 39.95 kB / 0.6758 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002854/0.2138, allocations: 11.94 kB / 0.6759 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004464/0.2142, allocations: 122.6 kB / 0.676 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002416/0.2145, allocations: 0.6768 MB / 0.6766 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 6.547e-05/0.2146, allocations: 16 kB / 0.6767 GB, free: 11.44 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.472e-05/0.2146, allocations: 15.42 kB / 0.6767 GB, free: 11.42 MB / 0.5137 GB Notification: Performance of SimCode: time 3.21e-07/0.2146, allocations: 0 / 0.6767 GB, free: 11.42 MB / 0.5137 GB Notification: Performance of Templates: time 0.003063/0.2177, allocations: 0.7878 MB / 0.6774 GB, free: 10.64 MB / 0.5137 GB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.sim & ./Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1)