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.1817/0.1824, allocations: 82.22 MB / 0.5941 GB, free: 5.555 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.00204/0.1845, allocations: 1.015 MB / 0.5951 GB, free: 4.531 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001233/0.1858, allocations: 0.6253 MB / 0.5957 GB, free: 3.898 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.017e-05/0.1858, allocations: 0 / 0.5957 GB, free: 3.898 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.998e-05/0.1859, allocations: 0 / 0.5957 GB, free: 3.898 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.221e-05/0.1859, allocations: 7.922 kB / 0.5957 GB, free: 3.891 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004691/0.1864, allocations: 82.66 kB / 0.5958 GB, free: 3.812 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.677e-05/0.1865, allocations: 31.86 kB / 0.5958 GB, free: 3.781 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.818e-05/0.1866, allocations: 4 kB / 0.5958 GB, free: 3.777 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.08e-05/0.1866, allocations: 11.92 kB / 0.5959 GB, free: 3.766 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.564e-05/0.1867, allocations: 11.98 kB / 0.5959 GB, free: 3.754 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.506e-05/0.1867, allocations: 4 kB / 0.5959 GB, free: 3.75 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003137/0.187, allocations: 147.7 kB / 0.596 GB, free: 3.605 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.558e-05/0.187, allocations: 3.984 kB / 0.596 GB, free: 3.602 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.273e-05/0.1871, allocations: 37.62 kB / 0.5961 GB, free: 3.559 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002385/0.1873, allocations: 96.05 kB / 0.5961 GB, free: 3.465 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.1874, allocations: 0 / 0.5961 GB, free: 3.465 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.1874, allocations: 3.938 kB / 0.5962 GB, free: 3.461 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.089e-06/0.1874, allocations: 0 / 0.5962 GB, free: 3.461 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.0005467/0.1879, allocations: 359.5 kB / 0.5965 GB, free: 3.062 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.145e-05/0.188, allocations: 8.031 kB / 0.5965 GB, free: 3.055 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005152/0.1885, allocations: 28.89 kB / 0.5965 GB, free: 3.027 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000159/0.1887, allocations: 160.4 kB / 0.5967 GB, free: 2.832 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.936e-05/0.1887, allocations: 4.375 kB / 0.5967 GB, free: 2.828 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.219e-05/0.1887, allocations: 8.312 kB / 0.5967 GB, free: 2.82 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001986/0.189, allocations: 65.77 kB / 0.5968 GB, free: 2.75 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.189, allocations: 3.984 kB / 0.5968 GB, free: 2.746 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.497e-05/0.189, allocations: 0 / 0.5968 GB, free: 2.746 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.189, allocations: 0 / 0.5968 GB, free: 2.746 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001471/0.1892, allocations: 23.98 kB / 0.5968 GB, free: 2.723 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001997/0.1894, allocations: 161.7 kB / 0.5969 GB, free: 2.516 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002957/0.1897, allocations: 74.52 kB / 0.597 GB, free: 2.434 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.996e-05/0.1898, allocations: 28.94 kB / 0.597 GB, free: 2.402 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.687e-05/0.1898, allocations: 0 / 0.597 GB, free: 2.402 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.1e-05/0.1898, allocations: 38.5 kB / 0.5971 GB, free: 2.355 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 9.61e-07/0.1898, allocations: 3.938 kB / 0.5971 GB, free: 2.352 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.003441/0.1933, allocations: 0.572 MB / 0.5976 GB, free: 1.727 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001538/0.1935, allocations: 55.41 kB / 0.5977 GB, free: 1.66 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.318e-05/0.1935, allocations: 97.86 kB / 0.5978 GB, free: 1.555 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.461e-05/0.1936, allocations: 25.7 kB / 0.5978 GB, free: 1.523 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.428e-05/0.1936, allocations: 80.14 kB / 0.5979 GB, free: 1.441 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.638e-05/0.1937, allocations: 23.7 kB / 0.5979 GB, free: 1.418 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.549e-05/0.1937, allocations: 9.719 kB / 0.5979 GB, free: 1.402 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001217/0.1938, allocations: 314.8 kB / 0.5982 GB, free: 1.086 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001396/0.194, allocations: 40.09 kB / 0.5983 GB, free: 1.047 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001296/0.1941, allocations: 39.91 kB / 0.5983 GB, free: 1.008 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003405/0.1945, allocations: 76.81 kB / 0.5984 GB, free: 0.9297 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.1945, allocations: 3.938 kB / 0.5984 GB, free: 0.9258 MB / 446.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000359/0.1949, allocations: 133.5 kB / 0.5985 GB, free: 0.7891 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/0.1949, allocations: 8 kB / 0.5985 GB, free: 0.7812 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.942e-06/0.1949, allocations: 0 / 0.5985 GB, free: 0.7812 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.1949, allocations: 0 / 0.5985 GB, free: 0.7812 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002228/0.1951, allocations: 23.95 kB / 0.5985 GB, free: 0.7578 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.697e-06/0.1952, allocations: 11.94 kB / 0.5985 GB, free: 0.7461 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001556/0.1953, allocations: 8 kB / 0.5985 GB, free: 0.7383 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.748e-05/0.1954, allocations: 8.047 kB / 0.5986 GB, free: 0.7305 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 8.653e-05/0.1954, allocations: 110.7 kB / 0.5987 GB, free: 0.6133 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.161e-05/0.1955, allocations: 3.938 kB / 0.5987 GB, free: 0.6094 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.607e-05/0.1956, allocations: 15.97 kB / 0.5987 GB, free: 0.5898 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.1956, allocations: 0 / 0.5987 GB, free: 0.5898 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.1956, allocations: 0 / 0.5987 GB, free: 0.5898 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.1956, allocations: 0 / 0.5987 GB, free: 0.5898 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001854/0.1958, allocations: 195.5 kB / 0.5989 GB, free: 360 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.1958, allocations: 0 / 0.5989 GB, free: 360 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002216/0.196, allocations: 19.97 kB / 0.5989 GB, free: 340 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.196, allocations: 4 kB / 0.5989 GB, free: 336 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.982e-05/0.1961, allocations: 7.984 kB / 0.5989 GB, free: 328 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.1961, allocations: 0 / 0.5989 GB, free: 328 kB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.055e-06/0.1961, allocations: 0 / 0.5989 GB, free: 328 kB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005469/0.1966, allocations: 201.2 kB / 0.5991 GB, free: 108 kB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.547e-05/0.1967, allocations: 85 kB / 0.5992 GB, free: 4 kB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.592e-05/0.1968, allocations: 4 kB / 0.5992 GB, free: 0 / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001814/0.197, allocations: 4.109 kB / 0.5992 GB, free: 15.99 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.049e-05/0.197, allocations: 11.92 kB / 0.5992 GB, free: 15.98 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.207e-05/0.197, allocations: 0 / 0.5992 GB, free: 15.98 MB / 462.1 MB Notification: Performance of sorting global known variables: time 3.193e-05/0.197, allocations: 83.27 kB / 0.5993 GB, free: 15.9 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1971, allocations: 4.156 kB / 0.5993 GB, free: 15.9 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002468/0.1973, allocations: 35.94 kB / 0.5993 GB, free: 15.86 MB / 462.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.0002243/0.1975, allocations: 123.2 kB / 0.5994 GB, free: 15.73 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0003288/0.1979, allocations: 87.86 kB / 0.5995 GB, free: 15.65 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.1979, allocations: 4 kB / 0.5995 GB, free: 15.64 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001523/0.198, allocations: 47.95 kB / 0.5996 GB, free: 15.6 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00023/0.1983, allocations: 7.938 kB / 0.5996 GB, free: 15.59 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006251/0.1989, allocations: 170.9 kB / 0.5997 GB, free: 15.4 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002564/0.1992, allocations: 0.6848 MB / 0.6004 GB, free: 14.69 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.000221/0.1994, allocations: 24 kB / 0.6004 GB, free: 14.66 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.263e-05/0.1995, allocations: 15.42 kB / 0.6004 GB, free: 14.65 MB / 462.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1995, allocations: 0 / 0.6004 GB, free: 14.65 MB / 462.1 MB Notification: Performance of Templates: time 0.004063/0.2036, allocations: 1.442 MB / 0.6018 GB, free: 13.26 MB / 462.1 MB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: