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.0008006/0.0008005, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.0008824/0.0008823, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.341/1.341, allocations: 223.3 MB / 240 MB, free: 5.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00178/0.00178, allocations: 281.7 kB / 291.4 MB, free: 1.938 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9563/0.9563, allocations: 169.5 MB / 0.5 GB, free: 14.21 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004035/0.0004037, allocations: 13.56 kB / 0.598 GB, free: 28.26 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1693/0.1697, allocations: 88.55 MB / 0.6845 GB, free: 15.43 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.0012/0.1709, allocations: 0.9961 MB / 0.6855 GB, free: 14.43 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009/0.1718, allocations: 0.6095 MB / 0.6861 GB, free: 13.82 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.688e-05/0.1719, allocations: 0 / 0.6861 GB, free: 13.82 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.387e-05/0.1719, allocations: 4 kB / 0.6861 GB, free: 13.82 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.837e-05/0.1719, allocations: 3.938 kB / 0.6861 GB, free: 13.81 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003466/0.1723, allocations: 97.89 kB / 0.6862 GB, free: 13.72 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.08e-05/0.1724, allocations: 15.94 kB / 0.6862 GB, free: 13.7 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.969e-05/0.1724, allocations: 3.984 kB / 0.6862 GB, free: 13.7 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.058e-05/0.1724, allocations: 8 kB / 0.6862 GB, free: 13.69 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.787e-05/0.1725, allocations: 15.92 kB / 0.6862 GB, free: 13.68 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.063e-05/0.1725, allocations: 0 / 0.6862 GB, free: 13.68 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002459/0.1728, allocations: 152.2 kB / 0.6864 GB, free: 13.53 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.956e-06/0.1728, allocations: 0.75 kB / 0.6864 GB, free: 13.53 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.501e-05/0.1728, allocations: 29.7 kB / 0.6864 GB, free: 13.49 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001291/0.1729, allocations: 64.8 kB / 0.6864 GB, free: 13.43 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.173, allocations: 0.8438 kB / 0.6864 GB, free: 13.43 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.173, allocations: 0 / 0.6864 GB, free: 13.43 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.737e-06/0.173, allocations: 4 kB / 0.6865 GB, free: 13.43 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.0004555/0.1734, allocations: 350.8 kB / 0.6868 GB, free: 13.04 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.174e-05/0.1735, allocations: 8.031 kB / 0.6868 GB, free: 13.03 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003632/0.1738, allocations: 31.91 kB / 0.6868 GB, free: 13 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.867e-05/0.1739, allocations: 159.7 kB / 0.687 GB, free: 12.8 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.333e-05/0.174, allocations: 8.969 kB / 0.687 GB, free: 12.8 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.14e-05/0.174, allocations: 3.938 kB / 0.687 GB, free: 12.79 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001573/0.1742, allocations: 58.34 kB / 0.687 GB, free: 12.73 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/0.1742, allocations: 0.625 kB / 0.687 GB, free: 12.73 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.1742, allocations: 0 / 0.687 GB, free: 12.73 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.1742, allocations: 0.7188 kB / 0.687 GB, free: 12.73 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000119/0.1743, allocations: 33.77 kB / 0.6871 GB, free: 12.7 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001702/0.1745, allocations: 173.6 kB / 0.6872 GB, free: 12.48 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002751/0.1748, allocations: 70.47 kB / 0.6873 GB, free: 12.4 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.212e-05/0.1749, allocations: 24.94 kB / 0.6873 GB, free: 12.38 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.117e-05/0.1749, allocations: 4 kB / 0.6873 GB, free: 12.37 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.929e-05/0.1749, allocations: 38.56 kB / 0.6874 GB, free: 12.32 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.1749, allocations: 3.938 kB / 0.6874 GB, free: 12.32 MB / 494.1 MB Notification: Performance of matching and sorting (n=6): time 0.002956/0.1779, allocations: 0.5643 MB / 0.6879 GB, free: 11.7 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.433e-05/0.1779, allocations: 59.36 kB / 0.688 GB, free: 11.63 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.055e-05/0.178, allocations: 97.84 kB / 0.6881 GB, free: 11.53 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.193e-05/0.178, allocations: 29.7 kB / 0.6881 GB, free: 11.49 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.69e-05/0.1781, allocations: 80.14 kB / 0.6882 GB, free: 11.41 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.703e-05/0.1781, allocations: 19.72 kB / 0.6882 GB, free: 11.39 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.008e-05/0.1781, allocations: 0 / 0.6882 GB, free: 11.39 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001065/0.1782, allocations: 314.8 kB / 0.6885 GB, free: 11.07 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001238/0.1784, allocations: 48.03 kB / 0.6885 GB, free: 11.03 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001139/0.1785, allocations: 35.95 kB / 0.6886 GB, free: 10.99 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001231/0.1786, allocations: 35.98 kB / 0.6886 GB, free: 10.96 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.1786, allocations: 0 / 0.6886 GB, free: 10.96 MB / 494.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002883/0.1789, allocations: 121.6 kB / 0.6887 GB, free: 10.83 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.1789, allocations: 4 kB / 0.6887 GB, free: 10.83 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.451e-06/0.179, allocations: 336 / 0.6887 GB, free: 10.83 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.179, allocations: 0 / 0.6887 GB, free: 10.83 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001916/0.1792, allocations: 27.95 kB / 0.6888 GB, free: 10.8 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.1792, allocations: 0 / 0.6888 GB, free: 10.8 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001274/0.1793, allocations: 7.953 kB / 0.6888 GB, free: 10.79 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.57e-05/0.1793, allocations: 11.98 kB / 0.6888 GB, free: 10.78 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.8e-05/0.1794, allocations: 114.4 kB / 0.6889 GB, free: 10.66 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.857e-05/0.1795, allocations: 7.984 kB / 0.6889 GB, free: 10.65 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.843e-05/0.1795, allocations: 11.97 kB / 0.6889 GB, free: 10.64 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-06/0.1795, allocations: 3.938 kB / 0.6889 GB, free: 10.64 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.1795, allocations: 0 / 0.6889 GB, free: 10.64 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.1796, allocations: 7.938 kB / 0.6889 GB, free: 10.63 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001439/0.1797, allocations: 187.6 kB / 0.6891 GB, free: 10.4 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.1797, allocations: 0 / 0.6891 GB, free: 10.4 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001966/0.1799, allocations: 23.97 kB / 0.6891 GB, free: 10.38 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.1799, allocations: 0 / 0.6891 GB, free: 10.38 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.803e-05/0.1799, allocations: 7.984 kB / 0.6891 GB, free: 10.37 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.18, allocations: 0 / 0.6891 GB, free: 10.37 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.18, allocations: 4 kB / 0.6891 GB, free: 10.37 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004611/0.1804, allocations: 196.8 kB / 0.6893 GB, free: 10.16 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.602e-05/0.1805, allocations: 77.17 kB / 0.6894 GB, free: 10.06 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.303e-05/0.1805, allocations: 4 kB / 0.6894 GB, free: 10.06 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001577/0.1807, allocations: 12.02 kB / 0.6894 GB, free: 10.05 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.599e-05/0.1807, allocations: 4 kB / 0.6894 GB, free: 10.04 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.591e-05/0.1807, allocations: 12.11 kB / 0.6894 GB, free: 10.03 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.891e-05/0.1808, allocations: 79.28 kB / 0.6895 GB, free: 9.953 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1808, allocations: 0 / 0.6895 GB, free: 9.953 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002381/0.181, allocations: 35.94 kB / 0.6895 GB, free: 9.918 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 (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.0002028/0.1812, allocations: 135.3 kB / 0.6897 GB, free: 9.777 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002918/0.1815, allocations: 83.92 kB / 0.6897 GB, free: 9.695 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.1815, allocations: 3.938 kB / 0.6898 GB, free: 9.691 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001254/0.1817, allocations: 47.95 kB / 0.6898 GB, free: 9.645 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002043/0.1819, allocations: 8 kB / 0.6898 GB, free: 9.637 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005478/0.1824, allocations: 174.8 kB / 0.69 GB, free: 9.438 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002305/0.1827, allocations: 0.6809 MB / 0.6906 GB, free: 8.73 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0002173/0.1829, allocations: 31.84 kB / 0.6907 GB, free: 8.699 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.119e-05/0.183, allocations: 19.41 kB / 0.6907 GB, free: 8.68 MB / 494.1 MB Notification: Performance of SimCode: time 2.91e-07/0.183, allocations: 0 / 0.6907 GB, free: 8.68 MB / 494.1 MB Notification: Performance of Templates: time 0.003581/0.1865, allocations: 1.438 MB / 0.6921 GB, free: 7.293 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)