Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.conf.json 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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") translateModel(BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001043/0.001043, allocations: 103.9 kB / 16.35 MB, free: 5.824 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001047/0.001047, allocations: 193.9 kB / 17.29 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.27/1.27, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002091/0.002091, allocations: 291.7 kB / 291.4 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9047/0.9047, allocations: 169.3 MB / 0.4989 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002793/0.002793, allocations: 103.3 kB / 0.5967 GB, free: 14.41 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1733/0.1761, allocations: 86.97 MB / 0.6816 GB, free: 7.434 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.002225/0.1784, allocations: 1.289 MB / 0.6829 GB, free: 6.133 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.000931/0.1793, allocations: 0.6396 MB / 0.6835 GB, free: 5.488 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.557e-05/0.1794, allocations: 0 / 0.6835 GB, free: 5.488 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.585e-05/0.1794, allocations: 3.938 kB / 0.6835 GB, free: 5.484 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.456e-05/0.1794, allocations: 0 / 0.6835 GB, free: 5.484 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003773/0.1798, allocations: 111.5 kB / 0.6836 GB, free: 5.375 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.435e-05/0.1799, allocations: 27.81 kB / 0.6836 GB, free: 5.348 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.612e-05/0.1799, allocations: 7.984 kB / 0.6836 GB, free: 5.34 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.142e-05/0.18, allocations: 8 kB / 0.6836 GB, free: 5.332 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.858e-05/0.18, allocations: 15.97 kB / 0.6837 GB, free: 5.316 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.041e-05/0.18, allocations: 3.938 kB / 0.6837 GB, free: 5.312 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002427/0.1803, allocations: 143.8 kB / 0.6838 GB, free: 5.172 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.079e-05/0.1803, allocations: 0 / 0.6838 GB, free: 5.172 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.428e-05/0.1803, allocations: 15.98 kB / 0.6838 GB, free: 5.156 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001841/0.1805, allocations: 95.77 kB / 0.6839 GB, free: 5.062 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.1805, allocations: 0 / 0.6839 GB, free: 5.062 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1805, allocations: 0 / 0.6839 GB, free: 5.062 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.889e-06/0.1806, allocations: 0 / 0.6839 GB, free: 5.062 MB / 494.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.0004162/0.181, allocations: 355.5 kB / 0.6842 GB, free: 4.664 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.092e-05/0.181, allocations: 12.03 kB / 0.6843 GB, free: 4.652 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004137/0.1814, allocations: 28.89 kB / 0.6843 GB, free: 4.625 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001156/0.1816, allocations: 164.3 kB / 0.6844 GB, free: 4.426 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.069e-05/0.1816, allocations: 8.312 kB / 0.6844 GB, free: 4.418 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.534e-05/0.1816, allocations: 8.281 kB / 0.6845 GB, free: 4.41 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001629/0.1818, allocations: 62.2 kB / 0.6845 GB, free: 4.344 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.172e-06/0.1818, allocations: 192 / 0.6845 GB, free: 4.344 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.308e-05/0.1818, allocations: 3.938 kB / 0.6845 GB, free: 4.34 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.209e-06/0.1818, allocations: 3.984 kB / 0.6845 GB, free: 4.336 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001238/0.1819, allocations: 23.98 kB / 0.6845 GB, free: 4.312 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001616/0.1821, allocations: 165.7 kB / 0.6847 GB, free: 4.102 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002751/0.1824, allocations: 66.52 kB / 0.6848 GB, free: 4.027 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.441e-05/0.1825, allocations: 24.94 kB / 0.6848 GB, free: 4 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.317e-05/0.1825, allocations: 8 kB / 0.6848 GB, free: 3.992 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.844e-05/0.1825, allocations: 38.56 kB / 0.6848 GB, free: 3.945 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.1825, allocations: 0 / 0.6848 GB, free: 3.945 MB / 494.1 MB Notification: Performance of matching and sorting (n=6): time 0.003323/0.1859, allocations: 0.5797 MB / 0.6854 GB, free: 3.312 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.915e-05/0.1859, allocations: 55.41 kB / 0.6855 GB, free: 3.246 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.703e-05/0.186, allocations: 89.86 kB / 0.6855 GB, free: 3.148 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.136e-05/0.186, allocations: 33.7 kB / 0.6856 GB, free: 3.109 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.476e-05/0.1861, allocations: 80.14 kB / 0.6857 GB, free: 3.027 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.03e-05/0.1861, allocations: 19.64 kB / 0.6857 GB, free: 3.008 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.389e-05/0.1862, allocations: 25.7 kB / 0.6857 GB, free: 2.977 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.087e-05/0.1862, allocations: 315 kB / 0.686 GB, free: 2.66 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001261/0.1864, allocations: 43.95 kB / 0.686 GB, free: 2.617 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001182/0.1865, allocations: 35.97 kB / 0.6861 GB, free: 2.582 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002539/0.1868, allocations: 84.81 kB / 0.6862 GB, free: 2.496 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.1868, allocations: 0 / 0.6862 GB, free: 2.496 MB / 494.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003172/0.1871, allocations: 121.6 kB / 0.6863 GB, free: 2.371 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.1871, allocations: 7.938 kB / 0.6863 GB, free: 2.363 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.1871, allocations: 0 / 0.6863 GB, free: 2.363 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.1871, allocations: 4 kB / 0.6863 GB, free: 2.359 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002129/0.1874, allocations: 27.91 kB / 0.6863 GB, free: 2.332 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.1874, allocations: 0 / 0.6863 GB, free: 2.332 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000151/0.1875, allocations: 4 kB / 0.6863 GB, free: 2.328 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.684e-05/0.1876, allocations: 7.984 kB / 0.6863 GB, free: 2.32 MB / 494.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.017e-05/0.1876, allocations: 113.8 kB / 0.6864 GB, free: 2.199 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.263e-05/0.1877, allocations: 3.938 kB / 0.6864 GB, free: 2.195 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.627e-05/0.1877, allocations: 15.91 kB / 0.6864 GB, free: 2.176 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.1877, allocations: 4 kB / 0.6864 GB, free: 2.172 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.1877, allocations: 0 / 0.6864 GB, free: 2.172 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.1878, allocations: 3.984 kB / 0.6865 GB, free: 2.168 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001431/0.1879, allocations: 179.7 kB / 0.6866 GB, free: 1.949 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.1879, allocations: 3.984 kB / 0.6866 GB, free: 1.945 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002169/0.1881, allocations: 24.3 kB / 0.6866 GB, free: 1.922 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.1881, allocations: 3.938 kB / 0.6867 GB, free: 1.918 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.765e-05/0.1882, allocations: 11.94 kB / 0.6867 GB, free: 1.906 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.1882, allocations: 0 / 0.6867 GB, free: 1.906 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.1882, allocations: 0 / 0.6867 GB, free: 1.906 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004922/0.1887, allocations: 200.8 kB / 0.6869 GB, free: 1.691 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.006e-05/0.1887, allocations: 85.2 kB / 0.6869 GB, free: 1.59 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.432e-05/0.1888, allocations: 4 kB / 0.6869 GB, free: 1.586 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001837/0.1889, allocations: 11.98 kB / 0.687 GB, free: 1.574 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.254e-05/0.189, allocations: 0 / 0.687 GB, free: 1.574 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.689e-05/0.189, allocations: 12.05 kB / 0.687 GB, free: 1.562 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.967e-05/0.189, allocations: 79.28 kB / 0.687 GB, free: 1.484 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.189, allocations: 0 / 0.687 GB, free: 1.484 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002404/0.1893, allocations: 31.94 kB / 0.6871 GB, free: 1.453 MB / 494.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.0001849/0.1895, allocations: 131.2 kB / 0.6872 GB, free: 1.316 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003146/0.1898, allocations: 87.97 kB / 0.6873 GB, free: 1.23 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1898, allocations: 0 / 0.6873 GB, free: 1.23 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000137/0.1899, allocations: 47.95 kB / 0.6873 GB, free: 1.184 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001893/0.1901, allocations: 4 kB / 0.6873 GB, free: 1.18 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005998/0.1907, allocations: 174.3 kB / 0.6875 GB, free: 0.9805 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002248/0.191, allocations: 0.6845 MB / 0.6882 GB, free: 276 kB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.000144/0.1911, allocations: 27.94 kB / 0.6882 GB, free: 248 kB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.077e-05/0.1912, allocations: 15.42 kB / 0.6882 GB, free: 232 kB / 494.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1912, allocations: 0 / 0.6882 GB, free: 232 kB / 494.1 MB Notification: Performance of Templates: time 0.2362/0.4274, allocations: 1.495 MB / 0.6897 GB, free: 17.63 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1)