Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.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.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-10,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") translateModel(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-10,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") [/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.5467/0.5493, allocations: 80.82 MB / 0.5904 GB, free: 22.31 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.005359/0.5547, allocations: 1.276 MB / 0.5917 GB, free: 21.31 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00153/0.5563, allocations: 0.6153 MB / 0.5923 GB, free: 20.83 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.508e-05/0.5564, allocations: 0 / 0.5923 GB, free: 20.83 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.299e-05/0.5564, allocations: 7.875 kB / 0.5923 GB, free: 20.82 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.956e-05/0.5566, allocations: 10.98 kB / 0.5923 GB, free: 20.81 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007164/0.5573, allocations: 98.81 kB / 0.5924 GB, free: 20.75 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 8.993e-05/0.5574, allocations: 23.36 kB / 0.5924 GB, free: 20.73 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.932e-05/0.5575, allocations: 6.266 kB / 0.5924 GB, free: 20.73 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.463e-05/0.5575, allocations: 13.12 kB / 0.5924 GB, free: 20.72 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.755e-05/0.5576, allocations: 10.92 kB / 0.5924 GB, free: 20.72 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.517e-05/0.5576, allocations: 0 / 0.5924 GB, free: 20.72 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003967/0.558, allocations: 148.8 kB / 0.5926 GB, free: 20.61 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.543e-05/0.5581, allocations: 0.6875 kB / 0.5926 GB, free: 20.61 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.699e-05/0.5581, allocations: 15.92 kB / 0.5926 GB, free: 20.59 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002652/0.5584, allocations: 92.28 kB / 0.5927 GB, free: 20.51 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.5584, allocations: 0 / 0.5927 GB, free: 20.51 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.816e-06/0.5584, allocations: 0 / 0.5927 GB, free: 20.51 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.663e-06/0.5584, allocations: 0 / 0.5927 GB, free: 20.51 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004985/0.5589, allocations: 356.9 kB / 0.593 GB, free: 20.11 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/0.559, allocations: 8.031 kB / 0.593 GB, free: 20.11 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004513/0.5594, allocations: 34.7 kB / 0.5931 GB, free: 20.07 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001259/0.5596, allocations: 176.2 kB / 0.5932 GB, free: 19.86 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.317e-05/0.5596, allocations: 5.781 kB / 0.5932 GB, free: 19.86 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.018e-05/0.5596, allocations: 4.375 kB / 0.5932 GB, free: 19.86 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002115/0.5598, allocations: 59.62 kB / 0.5933 GB, free: 19.79 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.5599, allocations: 0 / 0.5933 GB, free: 19.79 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.78e-05/0.5599, allocations: 3.984 kB / 0.5933 GB, free: 19.79 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.5599, allocations: 4 kB / 0.5933 GB, free: 19.79 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001381/0.56, allocations: 22.83 kB / 0.5933 GB, free: 19.77 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002031/0.5603, allocations: 165.7 kB / 0.5935 GB, free: 19.55 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000372/0.5606, allocations: 70.52 kB / 0.5936 GB, free: 19.48 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.407e-05/0.5607, allocations: 24.94 kB / 0.5936 GB, free: 19.45 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.901e-05/0.5608, allocations: 7.984 kB / 0.5936 GB, free: 19.44 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.63e-05/0.5608, allocations: 34.5 kB / 0.5936 GB, free: 19.4 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.262e-06/0.5608, allocations: 0 / 0.5936 GB, free: 19.4 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.003356/0.5642, allocations: 0.5721 MB / 0.5942 GB, free: 18.77 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.461e-05/0.5642, allocations: 55.34 kB / 0.5942 GB, free: 18.71 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.943e-05/0.5644, allocations: 97.86 kB / 0.5943 GB, free: 18.6 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.18e-05/0.5644, allocations: 29.64 kB / 0.5944 GB, free: 18.57 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.653e-05/0.5645, allocations: 84.27 kB / 0.5944 GB, free: 18.48 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.414e-05/0.5645, allocations: 27.64 kB / 0.5945 GB, free: 18.45 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.726e-05/0.5646, allocations: 21.7 kB / 0.5945 GB, free: 18.43 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001637/0.5648, allocations: 314.8 kB / 0.5948 GB, free: 18.11 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001498/0.5649, allocations: 35.95 kB / 0.5948 GB, free: 18.07 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001337/0.5651, allocations: 43.97 kB / 0.5949 GB, free: 18.03 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002797/0.5654, allocations: 80.8 kB / 0.5949 GB, free: 17.95 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.5654, allocations: 4 kB / 0.5949 GB, free: 17.95 MB / 446.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003605/0.5657, allocations: 129.7 kB / 0.5951 GB, free: 17.81 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.697e-05/0.5658, allocations: 4 kB / 0.5951 GB, free: 17.81 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.141e-05/0.5658, allocations: 0 / 0.5951 GB, free: 17.81 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.177e-05/0.5658, allocations: 0 / 0.5951 GB, free: 17.81 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002141/0.5661, allocations: 27.91 kB / 0.5951 GB, free: 17.78 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.077e-05/0.5661, allocations: 0 / 0.5951 GB, free: 17.78 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001623/0.5663, allocations: 4 kB / 0.5951 GB, free: 17.78 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.878e-05/0.5663, allocations: 7.984 kB / 0.5951 GB, free: 17.77 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 (7): * Single equations (assignments): 7 * 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 0.0001379/0.5664, allocations: 113.8 kB / 0.5952 GB, free: 17.65 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.941e-05/0.5665, allocations: 7.844 kB / 0.5952 GB, free: 17.64 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.916e-05/0.5666, allocations: 11.97 kB / 0.5952 GB, free: 17.63 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.546e-06/0.5666, allocations: 4.328 kB / 0.5952 GB, free: 17.62 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.247e-06/0.5666, allocations: 0 / 0.5952 GB, free: 17.62 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.564e-06/0.5666, allocations: 3.984 kB / 0.5952 GB, free: 17.62 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000208/0.5668, allocations: 187.5 kB / 0.5954 GB, free: 17.39 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/0.5668, allocations: 3.984 kB / 0.5954 GB, free: 17.39 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002204/0.5671, allocations: 27.97 kB / 0.5955 GB, free: 17.36 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.502e-06/0.5671, allocations: 3.984 kB / 0.5955 GB, free: 17.36 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.88e-05/0.5671, allocations: 0 / 0.5955 GB, free: 17.36 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.949e-06/0.5671, allocations: 4.062 kB / 0.5955 GB, free: 17.35 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.742e-06/0.5671, allocations: 4 kB / 0.5955 GB, free: 17.35 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005853/0.5677, allocations: 196.9 kB / 0.5957 GB, free: 17.14 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.937e-05/0.5678, allocations: 81.02 kB / 0.5957 GB, free: 17.04 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.103e-05/0.5678, allocations: 8 kB / 0.5957 GB, free: 17.03 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001603/0.568, allocations: 15.95 kB / 0.5958 GB, free: 17.02 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.724e-05/0.568, allocations: 0 / 0.5958 GB, free: 17.02 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.486e-05/0.5681, allocations: 7.984 kB / 0.5958 GB, free: 17.01 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.319e-05/0.5681, allocations: 79.28 kB / 0.5958 GB, free: 16.93 MB / 446.1 MB Notification: Performance of sort global known variables: time 4.81e-07/0.5681, allocations: 0 / 0.5958 GB, free: 16.93 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002885/0.5684, allocations: 28 kB / 0.5959 GB, free: 16.9 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y_comp) * 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 (6): * Single equations (assignments): 6 * 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.0002972/0.5687, allocations: 131.2 kB / 0.596 GB, free: 16.77 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003952/0.5691, allocations: 95.86 kB / 0.5961 GB, free: 16.67 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.5691, allocations: 0 / 0.5961 GB, free: 16.67 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000148/0.5693, allocations: 47.95 kB / 0.5961 GB, free: 16.62 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003098/0.5696, allocations: 13.97 kB / 0.5961 GB, free: 16.61 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008677/0.5705, allocations: 161.9 kB / 0.5963 GB, free: 16.43 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002513/0.5707, allocations: 0.6846 MB / 0.597 GB, free: 15.71 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002181/0.571, allocations: 25.25 kB / 0.597 GB, free: 15.69 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.002e-05/0.571, allocations: 19.42 kB / 0.597 GB, free: 15.67 MB / 446.1 MB Notification: Performance of SimCode: time 3.91e-07/0.571, allocations: 0 / 0.597 GB, free: 15.67 MB / 446.1 MB Notification: Performance of Templates: time 0.005027/0.5761, allocations: 1.481 MB / 0.5984 GB, free: 14.24 MB / 446.1 MB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & ./Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1)