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.1798/0.1817, allocations: 80.83 MB / 0.5899 GB, free: 7.004 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.00279/0.1846, allocations: 1.352 MB / 0.5912 GB, free: 5.633 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001172/0.1858, allocations: 0.6136 MB / 0.5918 GB, free: 5.012 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.432e-05/0.1858, allocations: 4 kB / 0.5918 GB, free: 5.008 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.77e-05/0.1859, allocations: 11.92 kB / 0.5918 GB, free: 4.996 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.011e-05/0.1859, allocations: 0 / 0.5918 GB, free: 4.996 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005113/0.1864, allocations: 91.64 kB / 0.5919 GB, free: 4.906 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.6e-05/0.1865, allocations: 23.91 kB / 0.5919 GB, free: 4.883 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.308e-05/0.1866, allocations: 4 kB / 0.5919 GB, free: 4.879 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.268e-05/0.1866, allocations: 7.938 kB / 0.5919 GB, free: 4.871 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.893e-05/0.1867, allocations: 11.98 kB / 0.592 GB, free: 4.859 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.826e-05/0.1867, allocations: 8 kB / 0.592 GB, free: 4.852 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003274/0.1871, allocations: 151.7 kB / 0.5921 GB, free: 4.703 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.239e-05/0.1871, allocations: 0 / 0.5921 GB, free: 4.703 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.892e-05/0.1871, allocations: 11.92 kB / 0.5921 GB, free: 4.691 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000237/0.1874, allocations: 96 kB / 0.5922 GB, free: 4.598 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.895e-06/0.1874, allocations: 4 kB / 0.5922 GB, free: 4.594 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.435e-06/0.1874, allocations: 0 / 0.5922 GB, free: 4.594 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.082e-05/0.1874, allocations: 3.984 kB / 0.5922 GB, free: 4.59 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.000661/0.1881, allocations: 359.3 kB / 0.5926 GB, free: 4.191 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.476e-05/0.1881, allocations: 8.031 kB / 0.5926 GB, free: 4.184 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005333/0.1887, allocations: 28.91 kB / 0.5926 GB, free: 4.156 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000173/0.1889, allocations: 168.4 kB / 0.5928 GB, free: 3.953 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.369e-05/0.1889, allocations: 384 / 0.5928 GB, free: 3.953 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.071e-05/0.1889, allocations: 4.375 kB / 0.5928 GB, free: 3.949 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002116/0.1891, allocations: 65.75 kB / 0.5928 GB, free: 3.879 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.1892, allocations: 0 / 0.5928 GB, free: 3.879 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.777e-05/0.1892, allocations: 7.938 kB / 0.5928 GB, free: 3.871 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.1892, allocations: 0 / 0.5928 GB, free: 3.871 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001425/0.1893, allocations: 27.97 kB / 0.5929 GB, free: 3.844 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002652/0.1896, allocations: 157.7 kB / 0.593 GB, free: 3.641 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003594/0.19, allocations: 70.58 kB / 0.5931 GB, free: 3.562 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.735e-05/0.1901, allocations: 24.94 kB / 0.5931 GB, free: 3.535 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.603e-05/0.1901, allocations: 0 / 0.5931 GB, free: 3.535 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.493e-05/0.1901, allocations: 46.38 kB / 0.5931 GB, free: 3.48 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 9.02e-07/0.1902, allocations: 4 kB / 0.5932 GB, free: 3.477 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.00359/0.1938, allocations: 0.5642 MB / 0.5937 GB, free: 2.859 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.306e-05/0.1938, allocations: 55.41 kB / 0.5938 GB, free: 2.793 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.783e-05/0.1939, allocations: 97.86 kB / 0.5938 GB, free: 2.688 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.308e-05/0.1939, allocations: 25.7 kB / 0.5939 GB, free: 2.656 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.44e-05/0.194, allocations: 80.14 kB / 0.5939 GB, free: 2.574 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.629e-05/0.194, allocations: 27.69 kB / 0.594 GB, free: 2.547 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.525e-05/0.1941, allocations: 25.7 kB / 0.594 GB, free: 2.516 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001347/0.1943, allocations: 318.8 kB / 0.5943 GB, free: 2.195 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001295/0.1944, allocations: 32.09 kB / 0.5943 GB, free: 2.164 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001363/0.1945, allocations: 39.97 kB / 0.5944 GB, free: 2.125 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002645/0.1948, allocations: 80.81 kB / 0.5944 GB, free: 2.043 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.1948, allocations: 3.938 kB / 0.5945 GB, free: 2.039 MB / 446.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003486/0.1952, allocations: 129.5 kB / 0.5946 GB, free: 1.906 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/0.1952, allocations: 7.938 kB / 0.5946 GB, free: 1.898 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.1952, allocations: 0 / 0.5946 GB, free: 1.898 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.1952, allocations: 0 / 0.5946 GB, free: 1.898 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002277/0.1955, allocations: 23.97 kB / 0.5946 GB, free: 1.875 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.176e-06/0.1955, allocations: 0 / 0.5946 GB, free: 1.875 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001538/0.1956, allocations: 8 kB / 0.5946 GB, free: 1.867 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.128e-05/0.1957, allocations: 11.98 kB / 0.5946 GB, free: 1.855 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.0001003/0.1958, allocations: 106.7 kB / 0.5947 GB, free: 1.742 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.955e-05/0.1958, allocations: 8 kB / 0.5947 GB, free: 1.734 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.309e-05/0.1959, allocations: 19.91 kB / 0.5948 GB, free: 1.711 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.1959, allocations: 3.984 kB / 0.5948 GB, free: 1.707 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.022e-06/0.1959, allocations: 0 / 0.5948 GB, free: 1.707 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.1959, allocations: 4 kB / 0.5948 GB, free: 1.703 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002048/0.1961, allocations: 195.5 kB / 0.5949 GB, free: 1.465 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.1961, allocations: 336 / 0.5949 GB, free: 1.465 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002509/0.1964, allocations: 23.97 kB / 0.595 GB, free: 1.441 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.1964, allocations: 0 / 0.595 GB, free: 1.441 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.899e-05/0.1964, allocations: 4 kB / 0.595 GB, free: 1.438 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.105e-06/0.1964, allocations: 4 kB / 0.595 GB, free: 1.434 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.1965, allocations: 3.938 kB / 0.595 GB, free: 1.43 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005397/0.197, allocations: 196.9 kB / 0.5952 GB, free: 1.219 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.06e-05/0.1971, allocations: 81.02 kB / 0.5952 GB, free: 1.121 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.887e-05/0.1971, allocations: 4.031 kB / 0.5953 GB, free: 1.117 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001747/0.1973, allocations: 11.98 kB / 0.5953 GB, free: 1.105 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.991e-05/0.1973, allocations: 3.938 kB / 0.5953 GB, free: 1.102 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.621e-05/0.1973, allocations: 7.984 kB / 0.5953 GB, free: 1.094 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.127e-05/0.1974, allocations: 75.28 kB / 0.5953 GB, free: 1.02 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1974, allocations: 0 / 0.5953 GB, free: 1.02 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002591/0.1976, allocations: 44.09 kB / 0.5954 GB, free: 0.9766 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.0002177/0.1978, allocations: 119.2 kB / 0.5955 GB, free: 0.8516 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000329/0.1982, allocations: 88.16 kB / 0.5956 GB, free: 0.7656 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1982, allocations: 4 kB / 0.5956 GB, free: 0.7617 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001654/0.1984, allocations: 51.89 kB / 0.5956 GB, free: 0.7109 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002663/0.1986, allocations: 12.08 kB / 0.5957 GB, free: 0.6992 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006677/0.1993, allocations: 170.4 kB / 0.5958 GB, free: 0.5039 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002806/0.1996, allocations: 0.6807 MB / 0.5965 GB, free: 15.8 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.000225/0.1998, allocations: 29.69 kB / 0.5965 GB, free: 15.77 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.259e-05/0.1999, allocations: 15.42 kB / 0.5965 GB, free: 15.75 MB / 462.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1999, allocations: 0 / 0.5965 GB, free: 15.75 MB / 462.1 MB Notification: Performance of Templates: time 0.003766/0.2037, allocations: 1.482 MB / 0.598 GB, free: 14.32 MB / 462.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)