Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") translateModel(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.459/1.459, allocations: 252 MB / 267.6 MB, free: 10.9 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001229/0.001229, allocations: 177.5 kB / 327.3 MB, free: 2.211 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.267/2.267, allocations: 205.4 MB / 0.5783 GB, free: 20.25 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007851/0.0007851, allocations: 90.34 kB / 0.6829 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004183/0.0004184, allocations: 11.72 kB / 0.797 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1783/0.1788, allocations: 106.3 MB / 0.9008 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.00129/0.1801, allocations: 1.011 MB / 0.9018 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.000868/0.181, allocations: 0.607 MB / 0.9024 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.984e-05/0.1811, allocations: 4 kB / 0.9024 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.382e-05/0.1811, allocations: 0 / 0.9024 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.223e-05/0.1812, allocations: 3.984 kB / 0.9024 GB, free: 62.24 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004284/0.1816, allocations: 87.64 kB / 0.9025 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.237e-05/0.1817, allocations: 31.84 kB / 0.9025 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.201e-05/0.1817, allocations: 0 / 0.9025 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.202e-05/0.1817, allocations: 11.92 kB / 0.9026 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.654e-05/0.1818, allocations: 15.94 kB / 0.9026 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.115e-05/0.1818, allocations: 4 kB / 0.9026 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002479/0.1821, allocations: 147.8 kB / 0.9027 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.037e-05/0.1821, allocations: 0 / 0.9027 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.222e-05/0.1821, allocations: 33.64 kB / 0.9027 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001399/0.1823, allocations: 64.2 kB / 0.9028 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.1823, allocations: 0 / 0.9028 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.894e-06/0.1823, allocations: 0 / 0.9028 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.067e-06/0.1823, allocations: 3.938 kB / 0.9028 GB, free: 61.84 MB / 0.6042 GB 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.0003914/0.1827, allocations: 353.6 kB / 0.9032 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/0.1827, allocations: 12.03 kB / 0.9032 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004135/0.1832, allocations: 31.95 kB / 0.9032 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.177e-05/0.1833, allocations: 167 kB / 0.9034 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.38e-05/0.1833, allocations: 3.984 kB / 0.9034 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.656e-05/0.1833, allocations: 8 kB / 0.9034 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001591/0.1835, allocations: 57.66 kB / 0.9034 GB, free: 61.13 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.1835, allocations: 0 / 0.9034 GB, free: 61.13 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.427e-05/0.1835, allocations: 0 / 0.9034 GB, free: 61.13 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.1835, allocations: 0 / 0.9034 GB, free: 61.13 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001309/0.1837, allocations: 31.91 kB / 0.9034 GB, free: 61.1 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001372/0.1838, allocations: 169.4 kB / 0.9036 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002947/0.1841, allocations: 66.58 kB / 0.9037 GB, free: 60.81 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.386e-05/0.1842, allocations: 32.88 kB / 0.9037 GB, free: 60.78 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.599e-05/0.1842, allocations: 0 / 0.9037 GB, free: 60.78 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.5e-05/0.1842, allocations: 38.55 kB / 0.9037 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 8.71e-07/0.1842, allocations: 4 kB / 0.9037 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of matching and sorting (n=6): time 0.003417/0.1877, allocations: 0.5642 MB / 0.9043 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.554e-05/0.1877, allocations: 51.41 kB / 0.9043 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.761e-05/0.1878, allocations: 101.9 kB / 0.9044 GB, free: 59.94 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.96e-05/0.1878, allocations: 25.7 kB / 0.9045 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.76e-05/0.1878, allocations: 84.12 kB / 0.9045 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.324e-05/0.1879, allocations: 19.75 kB / 0.9046 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.007e-05/0.1879, allocations: 0 / 0.9046 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.148e-05/0.1879, allocations: 322.8 kB / 0.9049 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001287/0.1881, allocations: 32.09 kB / 0.9049 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001153/0.1882, allocations: 43.95 kB / 0.9049 GB, free: 59.4 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001365/0.1884, allocations: 31.98 kB / 0.905 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.1884, allocations: 0 / 0.905 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003098/0.1887, allocations: 137.4 kB / 0.9051 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.1887, allocations: 8 kB / 0.9051 GB, free: 59.22 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.1887, allocations: 0 / 0.9051 GB, free: 59.22 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.1887, allocations: 0 / 0.9051 GB, free: 59.22 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002134/0.189, allocations: 19.97 kB / 0.9051 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.082e-06/0.189, allocations: 4 kB / 0.9051 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001578/0.1891, allocations: 7.984 kB / 0.9051 GB, free: 59.19 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.519e-05/0.1892, allocations: 8 kB / 0.9052 GB, free: 59.18 MB / 0.6042 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 (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.995e-05/0.1892, allocations: 113.8 kB / 0.9053 GB, free: 59.06 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.914e-05/0.1893, allocations: 3.984 kB / 0.9053 GB, free: 59.06 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.518e-05/0.1893, allocations: 11.97 kB / 0.9053 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.806e-06/0.1893, allocations: 4.328 kB / 0.9053 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.1893, allocations: 0 / 0.9053 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.1894, allocations: 0 / 0.9053 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001201/0.1895, allocations: 195.4 kB / 0.9055 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.1895, allocations: 0 / 0.9055 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002199/0.1897, allocations: 27.91 kB / 0.9055 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.1897, allocations: 0 / 0.9055 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.533e-05/0.1897, allocations: 7.922 kB / 0.9055 GB, free: 58.76 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.1898, allocations: 0 / 0.9055 GB, free: 58.76 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.1898, allocations: 0 / 0.9055 GB, free: 58.76 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004677/0.1902, allocations: 197 kB / 0.9057 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.667e-05/0.1903, allocations: 81.14 kB / 0.9058 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.199e-05/0.1903, allocations: 4.062 kB / 0.9058 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001923/0.1905, allocations: 15.98 kB / 0.9058 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.735e-05/0.1905, allocations: 3.984 kB / 0.9058 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.364e-05/0.1905, allocations: 4 kB / 0.9058 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.896e-05/0.1906, allocations: 75.28 kB / 0.9059 GB, free: 58.35 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1906, allocations: 0 / 0.9059 GB, free: 58.35 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002347/0.1908, allocations: 31.98 kB / 0.9059 GB, free: 58.32 MB / 0.6042 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001929/0.191, allocations: 145.8 kB / 0.906 GB, free: 58.17 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003031/0.1913, allocations: 83.92 kB / 0.9061 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.1913, allocations: 0 / 0.9061 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001333/0.1915, allocations: 47.91 kB / 0.9062 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002168/0.1917, allocations: 15.94 kB / 0.9062 GB, free: 58.03 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006516/0.1923, allocations: 188.3 kB / 0.9064 GB, free: 57.81 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001041/0.1925, allocations: 0.6848 MB / 0.907 GB, free: 57.1 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.233e-05/0.1925, allocations: 23.34 kB / 0.907 GB, free: 57.08 MB / 0.6042 GB Notification: Performance of SimCode: time 2.4e-07/0.1926, allocations: 0 / 0.907 GB, free: 57.08 MB / 0.6042 GB Notification: Performance of Templates: time 0.002874/0.1954, allocations: 1.546 MB / 0.9086 GB, free: 55.53 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1)