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.00103/0.00103, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001031/0.001032, allocations: 194.3 kB / 16.25 MB, free: 6.625 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.318/1.318, allocations: 222.9 MB / 239.9 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002134/0.002134, allocations: 282.9 kB / 290.4 MB, free: 2.113 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9456/0.9456, allocations: 169.2 MB / 0.4978 GB, free: 14.08 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00167/0.00167, allocations: 89.81 kB / 0.5947 GB, free: 28.21 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1632/0.1649, allocations: 86.99 MB / 0.6796 GB, free: 1.031 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.002273/0.1672, allocations: 1.345 MB / 0.681 GB, free: 15.68 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00094/0.1682, allocations: 0.6386 MB / 0.6816 GB, free: 15.04 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.528e-05/0.1682, allocations: 0 / 0.6816 GB, free: 15.04 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.789e-05/0.1682, allocations: 0 / 0.6816 GB, free: 15.04 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.853e-05/0.1683, allocations: 3.938 kB / 0.6816 GB, free: 15.04 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003952/0.1687, allocations: 95.67 kB / 0.6817 GB, free: 14.95 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.436e-05/0.1688, allocations: 31.81 kB / 0.6817 GB, free: 14.91 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.586e-05/0.1688, allocations: 7.984 kB / 0.6817 GB, free: 14.91 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.945e-05/0.1688, allocations: 7.938 kB / 0.6817 GB, free: 14.9 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.348e-05/0.1689, allocations: 27.91 kB / 0.6818 GB, free: 14.87 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.046e-05/0.1689, allocations: 0 / 0.6818 GB, free: 14.87 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002359/0.1691, allocations: 143.7 kB / 0.6819 GB, free: 14.73 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.124e-05/0.1692, allocations: 4 kB / 0.6819 GB, free: 14.73 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.105e-05/0.1692, allocations: 7.984 kB / 0.6819 GB, free: 14.72 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001802/0.1694, allocations: 96.05 kB / 0.682 GB, free: 14.62 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.1694, allocations: 0 / 0.682 GB, free: 14.62 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.1694, allocations: 0 / 0.682 GB, free: 14.62 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.707e-06/0.1694, allocations: 0 / 0.682 GB, free: 14.62 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.0004387/0.1698, allocations: 363.5 kB / 0.6823 GB, free: 14.22 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.033e-05/0.1699, allocations: 8.031 kB / 0.6823 GB, free: 14.21 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004197/0.1703, allocations: 28.91 kB / 0.6824 GB, free: 14.18 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001001/0.1704, allocations: 172.2 kB / 0.6825 GB, free: 13.98 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.192e-05/0.1704, allocations: 4.375 kB / 0.6825 GB, free: 13.97 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.02e-05/0.1705, allocations: 384 / 0.6825 GB, free: 13.97 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001618/0.1706, allocations: 62.2 kB / 0.6826 GB, free: 13.91 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.1706, allocations: 192 / 0.6826 GB, free: 13.91 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.243e-05/0.1707, allocations: 3.938 kB / 0.6826 GB, free: 13.9 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.1707, allocations: 0 / 0.6826 GB, free: 13.9 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001281/0.1708, allocations: 31.97 kB / 0.6826 GB, free: 13.87 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001637/0.171, allocations: 157.7 kB / 0.6828 GB, free: 13.67 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003004/0.1713, allocations: 74.52 kB / 0.6829 GB, free: 13.59 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.961e-05/0.1714, allocations: 24.94 kB / 0.6829 GB, free: 13.56 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.833e-05/0.1714, allocations: 0 / 0.6829 GB, free: 13.56 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.024e-05/0.1714, allocations: 30.56 kB / 0.6829 GB, free: 13.52 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.232e-06/0.1714, allocations: 4 kB / 0.6829 GB, free: 13.52 MB / 494.1 MB Notification: Performance of matching and sorting (n=6): time 0.003585/0.175, allocations: 0.584 MB / 0.6835 GB, free: 12.88 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.052e-05/0.1751, allocations: 51.41 kB / 0.6835 GB, free: 12.82 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.189e-05/0.1751, allocations: 101.8 kB / 0.6836 GB, free: 12.71 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.315e-05/0.1752, allocations: 29.64 kB / 0.6837 GB, free: 12.67 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.328e-05/0.1752, allocations: 80.14 kB / 0.6837 GB, free: 12.59 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.57e-05/0.1752, allocations: 23.7 kB / 0.6838 GB, free: 12.57 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.447e-05/0.1753, allocations: 21.7 kB / 0.6838 GB, free: 12.54 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001002/0.1754, allocations: 322.8 kB / 0.6841 GB, free: 12.21 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001336/0.1755, allocations: 36.09 kB / 0.6841 GB, free: 12.18 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001271/0.1757, allocations: 35.97 kB / 0.6842 GB, free: 12.14 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002694/0.176, allocations: 76.81 kB / 0.6842 GB, free: 12.07 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.176, allocations: 0 / 0.6842 GB, free: 12.07 MB / 494.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003516/0.1763, allocations: 125.6 kB / 0.6843 GB, free: 11.94 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.1763, allocations: 11.94 kB / 0.6844 GB, free: 11.93 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.1764, allocations: 0 / 0.6844 GB, free: 11.93 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.049e-05/0.1764, allocations: 3.938 kB / 0.6844 GB, free: 11.92 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002279/0.1766, allocations: 23.97 kB / 0.6844 GB, free: 11.9 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.499e-06/0.1766, allocations: 0 / 0.6844 GB, free: 11.9 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001699/0.1768, allocations: 20.05 kB / 0.6844 GB, free: 11.88 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.4e-05/0.1768, allocations: 0 / 0.6844 GB, free: 11.88 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 7.961e-05/0.1769, allocations: 111.2 kB / 0.6845 GB, free: 11.76 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.292e-05/0.1769, allocations: 7.875 kB / 0.6845 GB, free: 11.75 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.514e-05/0.177, allocations: 19.95 kB / 0.6845 GB, free: 11.73 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-06/0.177, allocations: 0 / 0.6845 GB, free: 11.73 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.177, allocations: 0 / 0.6845 GB, free: 11.73 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.177, allocations: 0 / 0.6845 GB, free: 11.73 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001558/0.1772, allocations: 187.7 kB / 0.6847 GB, free: 11.51 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.1772, allocations: 0 / 0.6847 GB, free: 11.51 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000233/0.1774, allocations: 23.97 kB / 0.6847 GB, free: 11.48 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.1774, allocations: 3.938 kB / 0.6847 GB, free: 11.48 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.587e-05/0.1775, allocations: 4 kB / 0.6847 GB, free: 11.48 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-06/0.1775, allocations: 0 / 0.6847 GB, free: 11.48 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.1775, allocations: 7.922 kB / 0.6848 GB, free: 11.47 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005188/0.178, allocations: 192.9 kB / 0.6849 GB, free: 11.26 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.952e-05/0.178, allocations: 81.05 kB / 0.685 GB, free: 11.16 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.643e-05/0.1781, allocations: 4 kB / 0.685 GB, free: 11.16 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000197/0.1783, allocations: 12.02 kB / 0.685 GB, free: 11.15 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.248e-05/0.1783, allocations: 0 / 0.685 GB, free: 11.15 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.459e-05/0.1783, allocations: 7.984 kB / 0.685 GB, free: 11.14 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.187e-05/0.1784, allocations: 79.28 kB / 0.6851 GB, free: 11.06 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1784, allocations: 4.156 kB / 0.6851 GB, free: 11.06 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002273/0.1786, allocations: 35.88 kB / 0.6852 GB, free: 11.02 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.0001862/0.1788, allocations: 131.2 kB / 0.6853 GB, free: 10.89 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003251/0.1791, allocations: 91.86 kB / 0.6854 GB, free: 10.8 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.1791, allocations: 0 / 0.6854 GB, free: 10.8 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001417/0.1793, allocations: 43.97 kB / 0.6854 GB, free: 10.75 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002016/0.1795, allocations: 11.92 kB / 0.6854 GB, free: 10.74 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006622/0.1802, allocations: 182.2 kB / 0.6856 GB, free: 10.54 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002663/0.1804, allocations: 0.6768 MB / 0.6863 GB, free: 9.832 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0002298/0.1807, allocations: 27.94 kB / 0.6863 GB, free: 9.805 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.543e-05/0.1807, allocations: 23.41 kB / 0.6863 GB, free: 9.781 MB / 494.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1807, allocations: 0 / 0.6863 GB, free: 9.781 MB / 494.1 MB Notification: Performance of Templates: time 0.003901/0.1847, allocations: 1.498 MB / 0.6878 GB, free: 8.336 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1)