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.0007791/0.0007791, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005437/0.005437, allocations: 170 kB / 16.26 MB, free: 6.613 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.434/1.434, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00169/0.00169, allocations: 282.3 kB / 291.7 MB, free: 1.887 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9797/0.9797, allocations: 169.5 MB / 0.5004 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000433/0.000433, allocations: 17.33 kB / 0.5987 GB, free: 28 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1734/0.1738, allocations: 88.55 MB / 0.6851 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.001335/0.1752, allocations: 1.006 MB / 0.6861 GB, free: 14.05 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001036/0.1763, allocations: 0.6361 MB / 0.6868 GB, free: 13.41 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.332e-05/0.1763, allocations: 0 / 0.6868 GB, free: 13.41 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.575e-05/0.1763, allocations: 0 / 0.6868 GB, free: 13.41 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.768e-05/0.1764, allocations: 4.5 kB / 0.6868 GB, free: 13.41 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003319/0.1767, allocations: 92.41 kB / 0.6868 GB, free: 13.32 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.349e-05/0.1768, allocations: 33.7 kB / 0.6869 GB, free: 13.29 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.04e-05/0.1768, allocations: 0 / 0.6869 GB, free: 13.29 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.434e-05/0.1768, allocations: 15.98 kB / 0.6869 GB, free: 13.27 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.377e-05/0.1769, allocations: 7.984 kB / 0.6869 GB, free: 13.27 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.228e-05/0.1769, allocations: 0 / 0.6869 GB, free: 13.27 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002508/0.1772, allocations: 156.6 kB / 0.687 GB, free: 13.11 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.224e-05/0.1772, allocations: 11.91 kB / 0.6871 GB, free: 13.1 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.188e-05/0.1772, allocations: 37.11 kB / 0.6871 GB, free: 13.06 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001788/0.1774, allocations: 96.05 kB / 0.6872 GB, free: 12.97 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.1774, allocations: 0 / 0.6872 GB, free: 12.97 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.1774, allocations: 0 / 0.6872 GB, free: 12.97 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.306e-06/0.1774, allocations: 0 / 0.6872 GB, free: 12.97 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.0003917/0.1778, allocations: 351.5 kB / 0.6875 GB, free: 12.57 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.173e-05/0.1779, allocations: 10.47 kB / 0.6875 GB, free: 12.57 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003863/0.1783, allocations: 28.89 kB / 0.6876 GB, free: 12.54 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001121/0.1784, allocations: 164.3 kB / 0.6877 GB, free: 12.34 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.33e-05/0.1784, allocations: 5.125 kB / 0.6877 GB, free: 12.34 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.247e-05/0.1784, allocations: 8.219 kB / 0.6877 GB, free: 12.33 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001673/0.1786, allocations: 56.72 kB / 0.6878 GB, free: 12.27 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.221e-06/0.1786, allocations: 192 / 0.6878 GB, free: 12.27 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.548e-05/0.1787, allocations: 7.938 kB / 0.6878 GB, free: 12.26 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-06/0.1787, allocations: 0 / 0.6878 GB, free: 12.26 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001311/0.1788, allocations: 30.78 kB / 0.6878 GB, free: 12.23 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001657/0.179, allocations: 157.7 kB / 0.688 GB, free: 12.03 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000298/0.1793, allocations: 75.25 kB / 0.688 GB, free: 11.95 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.009e-05/0.1794, allocations: 26.66 kB / 0.6881 GB, free: 11.92 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.492e-05/0.1794, allocations: 0 / 0.6881 GB, free: 11.92 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.004e-05/0.1794, allocations: 31.44 kB / 0.6881 GB, free: 11.88 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 8.31e-07/0.1794, allocations: 0 / 0.6881 GB, free: 11.88 MB / 494.1 MB Notification: Performance of matching and sorting (n=6): time 0.003272/0.1827, allocations: 0.5793 MB / 0.6887 GB, free: 11.25 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.874e-05/0.1828, allocations: 55.41 kB / 0.6887 GB, free: 11.19 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.701e-05/0.1828, allocations: 101.8 kB / 0.6888 GB, free: 11.08 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.223e-05/0.1829, allocations: 25.7 kB / 0.6888 GB, free: 11.05 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.869e-05/0.1829, allocations: 84.14 kB / 0.6889 GB, free: 10.96 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.157e-05/0.1829, allocations: 15.72 kB / 0.6889 GB, free: 10.95 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.303e-05/0.183, allocations: 17.7 kB / 0.689 GB, free: 10.92 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001219/0.1831, allocations: 314.8 kB / 0.6893 GB, free: 10.61 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001375/0.1832, allocations: 44.09 kB / 0.6893 GB, free: 10.56 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001241/0.1834, allocations: 35.97 kB / 0.6893 GB, free: 10.53 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002643/0.1836, allocations: 76.97 kB / 0.6894 GB, free: 10.45 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.1837, allocations: 4 kB / 0.6894 GB, free: 10.45 MB / 494.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003609/0.184, allocations: 125.6 kB / 0.6895 GB, free: 10.32 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.184, allocations: 14.12 kB / 0.6895 GB, free: 10.3 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.912e-06/0.1841, allocations: 0 / 0.6895 GB, free: 10.3 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.054e-05/0.1841, allocations: 3.938 kB / 0.6895 GB, free: 10.3 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002068/0.1843, allocations: 19.97 kB / 0.6896 GB, free: 10.28 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.1843, allocations: 8 kB / 0.6896 GB, free: 10.27 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001491/0.1845, allocations: 11.97 kB / 0.6896 GB, free: 10.26 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.216e-05/0.1845, allocations: 0 / 0.6896 GB, free: 10.26 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.903e-05/0.1846, allocations: 119.1 kB / 0.6897 GB, free: 10.14 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.77e-05/0.1846, allocations: 3.938 kB / 0.6897 GB, free: 10.13 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.587e-05/0.1847, allocations: 15.97 kB / 0.6897 GB, free: 10.12 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.1847, allocations: 3.938 kB / 0.6897 GB, free: 10.11 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.1847, allocations: 4.062 kB / 0.6897 GB, free: 10.11 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.1847, allocations: 0 / 0.6897 GB, free: 10.11 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001508/0.1848, allocations: 187.7 kB / 0.6899 GB, free: 9.883 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.1849, allocations: 0 / 0.6899 GB, free: 9.883 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002118/0.1851, allocations: 19.97 kB / 0.6899 GB, free: 9.863 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/0.1851, allocations: 11.94 kB / 0.6899 GB, free: 9.852 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.48e-05/0.1851, allocations: 3.984 kB / 0.6899 GB, free: 9.848 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.1851, allocations: 0 / 0.6899 GB, free: 9.848 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.1851, allocations: 3.938 kB / 0.6899 GB, free: 9.844 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005082/0.1856, allocations: 193 kB / 0.6901 GB, free: 9.637 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.364e-05/0.1857, allocations: 81.05 kB / 0.6902 GB, free: 9.539 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.284e-05/0.1857, allocations: 3.984 kB / 0.6902 GB, free: 9.535 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001811/0.1859, allocations: 8 kB / 0.6902 GB, free: 9.527 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.581e-05/0.1859, allocations: 3.984 kB / 0.6902 GB, free: 9.523 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.485e-05/0.1859, allocations: 8 kB / 0.6902 GB, free: 9.516 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.483e-05/0.186, allocations: 79.34 kB / 0.6903 GB, free: 9.438 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.186, allocations: 0 / 0.6903 GB, free: 9.438 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000235/0.1862, allocations: 35.92 kB / 0.6903 GB, free: 9.402 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.0002013/0.1864, allocations: 131.2 kB / 0.6905 GB, free: 9.266 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003219/0.1868, allocations: 91.95 kB / 0.6905 GB, free: 9.176 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.1868, allocations: 0 / 0.6905 GB, free: 9.176 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001415/0.1869, allocations: 47.89 kB / 0.6906 GB, free: 9.129 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002379/0.1872, allocations: 9.969 kB / 0.6906 GB, free: 9.121 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005913/0.1878, allocations: 186.3 kB / 0.6908 GB, free: 8.91 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002281/0.188, allocations: 0.6809 MB / 0.6914 GB, free: 8.203 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0002179/0.1882, allocations: 24 kB / 0.6915 GB, free: 8.18 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.174e-05/0.1883, allocations: 15.42 kB / 0.6915 GB, free: 8.164 MB / 494.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1883, allocations: 0 / 0.6915 GB, free: 8.164 MB / 494.1 MB Notification: Performance of Templates: time 0.00425/0.1925, allocations: 1.465 MB / 0.6929 GB, free: 6.75 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)