Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.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.WaterVaporPressureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck") translateModel(BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000954/0.0009591, 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.007098/0.007098, allocations: 170.7 kB / 16.26 MB, free: 6.676 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.323/1.323, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001783/0.001783, allocations: 263 kB / 291.7 MB, free: 1.871 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9287/0.9287, allocations: 169.5 MB / 0.5004 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004023/0.0004023, allocations: 14.56 kB / 0.5987 GB, free: 28.16 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1761/0.1765, 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.WaterVaporPressureDerivativeCheck): time 0.001708/0.1783, allocations: 0.979 MB / 0.6861 GB, free: 14.09 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005965/0.1789, allocations: 242 kB / 0.6863 GB, free: 13.85 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.274e-05/0.1789, allocations: 0 / 0.6863 GB, free: 13.85 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.709e-05/0.179, allocations: 0 / 0.6863 GB, free: 13.85 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.206e-05/0.179, allocations: 4 kB / 0.6863 GB, free: 13.85 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002539/0.1793, allocations: 36.67 kB / 0.6864 GB, free: 13.81 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.11e-05/0.1793, allocations: 9.188 kB / 0.6864 GB, free: 13.8 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.224e-05/0.1794, allocations: 7.984 kB / 0.6864 GB, free: 13.8 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.594e-05/0.1794, allocations: 11.94 kB / 0.6864 GB, free: 13.79 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.672e-05/0.1795, allocations: 13.47 kB / 0.6864 GB, free: 13.77 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.269e-05/0.1795, allocations: 3.938 kB / 0.6864 GB, free: 13.77 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001073/0.1796, allocations: 43.97 kB / 0.6865 GB, free: 13.73 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.463e-05/0.1797, allocations: 3.984 kB / 0.6865 GB, free: 13.72 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.936e-05/0.1797, allocations: 34.86 kB / 0.6865 GB, free: 13.68 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001227/0.1798, allocations: 40.17 kB / 0.6865 GB, free: 13.64 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.756e-06/0.1799, allocations: 4 kB / 0.6865 GB, free: 13.64 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.365e-06/0.1799, allocations: 1.031 kB / 0.6865 GB, free: 13.64 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.132e-06/0.1799, allocations: 0 / 0.6865 GB, free: 13.64 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003977/0.1803, allocations: 333.1 kB / 0.6869 GB, free: 13.27 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.83e-05/0.1803, allocations: 12.03 kB / 0.6869 GB, free: 13.25 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001591/0.1805, allocations: 9.672 kB / 0.6869 GB, free: 13.25 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.99e-05/0.1806, allocations: 160.4 kB / 0.687 GB, free: 13.05 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.454e-05/0.1806, allocations: 4.969 kB / 0.687 GB, free: 13.05 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.534e-05/0.1807, allocations: 7 kB / 0.687 GB, free: 13.04 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001186/0.1808, allocations: 50.23 kB / 0.6871 GB, free: 12.99 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.693e-06/0.1808, allocations: 192 / 0.6871 GB, free: 12.99 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.303e-05/0.1808, allocations: 3.938 kB / 0.6871 GB, free: 12.98 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.998e-06/0.1808, allocations: 4 kB / 0.6871 GB, free: 12.98 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.603e-05/0.1809, allocations: 15.94 kB / 0.6871 GB, free: 12.96 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001548/0.181, allocations: 163.6 kB / 0.6873 GB, free: 12.76 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.526e-05/0.1811, allocations: 42.56 kB / 0.6873 GB, free: 12.71 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.79e-05/0.1812, allocations: 16.98 kB / 0.6873 GB, free: 12.69 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.063e-05/0.1812, allocations: 0.5 kB / 0.6873 GB, free: 12.69 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.325e-05/0.1812, allocations: 40.27 kB / 0.6874 GB, free: 12.64 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 1.393e-06/0.1812, allocations: 0 / 0.6874 GB, free: 12.64 MB / 494.1 MB Notification: Performance of matching and sorting (n=8): time 0.002071/0.1833, allocations: 0.506 MB / 0.6879 GB, free: 12.09 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.926e-05/0.1834, allocations: 51.41 kB / 0.6879 GB, free: 12.02 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.551e-05/0.1834, allocations: 89.86 kB / 0.688 GB, free: 11.93 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.442e-05/0.1834, allocations: 29.7 kB / 0.688 GB, free: 11.89 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.661e-05/0.1835, allocations: 84.14 kB / 0.6881 GB, free: 11.8 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.51e-05/0.1835, allocations: 27.64 kB / 0.6881 GB, free: 11.78 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.79e-05/0.1835, allocations: 13.72 kB / 0.6881 GB, free: 11.76 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001239/0.1837, allocations: 318.8 kB / 0.6884 GB, free: 11.44 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.993e-05/0.1837, allocations: 20 kB / 0.6885 GB, free: 11.42 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.085e-05/0.1838, allocations: 23.98 kB / 0.6885 GB, free: 11.39 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001015/0.1839, allocations: 56.98 kB / 0.6885 GB, free: 11.34 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.1839, allocations: 7.938 kB / 0.6885 GB, free: 11.33 MB / 494.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001369/0.184, allocations: 93.59 kB / 0.6886 GB, free: 11.23 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.1841, allocations: 7.938 kB / 0.6886 GB, free: 11.22 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.1841, allocations: 4 kB / 0.6886 GB, free: 11.22 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.1841, allocations: 0 / 0.6886 GB, free: 11.22 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001539/0.1842, allocations: 23.86 kB / 0.6887 GB, free: 11.2 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.1843, allocations: 0 / 0.6887 GB, free: 11.2 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.338e-05/0.1843, allocations: 0 / 0.6887 GB, free: 11.2 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.051e-05/0.1843, allocations: 4 kB / 0.6887 GB, free: 11.19 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 (9): * Single equations (assignments): 9 * 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.14e-05/0.1844, allocations: 111.2 kB / 0.6888 GB, free: 11.07 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.401e-05/0.1845, allocations: 11.94 kB / 0.6888 GB, free: 11.06 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.418e-05/0.1845, allocations: 15.97 kB / 0.6888 GB, free: 11.05 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.085e-06/0.1845, allocations: 3.984 kB / 0.6888 GB, free: 11.04 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.1845, allocations: 0 / 0.6888 GB, free: 11.04 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.1845, allocations: 0 / 0.6888 GB, free: 11.04 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000149/0.1847, allocations: 171.5 kB / 0.689 GB, free: 10.83 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.1847, allocations: 0 / 0.689 GB, free: 10.83 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001266/0.1848, allocations: 12 kB / 0.689 GB, free: 10.82 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.1848, allocations: 3.938 kB / 0.689 GB, free: 10.81 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.152e-05/0.1849, allocations: 4 kB / 0.689 GB, free: 10.81 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.447e-06/0.1849, allocations: 4.375 kB / 0.689 GB, free: 10.8 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.1849, allocations: 4 kB / 0.689 GB, free: 10.8 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002401/0.1851, allocations: 141.1 kB / 0.6891 GB, free: 10.64 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.403e-05/0.1852, allocations: 92.97 kB / 0.6892 GB, free: 10.54 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.595e-05/0.1852, allocations: 4 kB / 0.6892 GB, free: 10.53 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001056/0.1853, allocations: 4 kB / 0.6892 GB, free: 10.53 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.941e-05/0.1853, allocations: 4 kB / 0.6892 GB, free: 10.52 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.058e-05/0.1853, allocations: 7.984 kB / 0.6892 GB, free: 10.52 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.645e-05/0.1854, allocations: 79.34 kB / 0.6893 GB, free: 10.44 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1854, allocations: 0 / 0.6893 GB, free: 10.44 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001854/0.1856, allocations: 12 kB / 0.6893 GB, free: 10.43 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 (8): * Single equations (assignments): 8 * 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.0001122/0.1857, allocations: 103.2 kB / 0.6894 GB, free: 10.32 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001354/0.1858, allocations: 60.02 kB / 0.6895 GB, free: 10.26 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1858, allocations: 0 / 0.6895 GB, free: 10.26 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 4.898e-05/0.1859, allocations: 35.92 kB / 0.6895 GB, free: 10.22 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002136/0.1861, allocations: 12 kB / 0.6895 GB, free: 10.21 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004871/0.1866, allocations: 194.3 kB / 0.6897 GB, free: 9.996 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002387/0.1869, allocations: 0.677 MB / 0.6904 GB, free: 9.293 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 8.399e-05/0.187, allocations: 11.98 kB / 0.6904 GB, free: 9.281 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.06e-05/0.187, allocations: 15.44 kB / 0.6904 GB, free: 9.266 MB / 494.1 MB Notification: Performance of SimCode: time 4.71e-07/0.187, allocations: 0 / 0.6904 GB, free: 9.266 MB / 494.1 MB Notification: Performance of Templates: time 0.002678/0.1897, allocations: 0.6534 MB / 0.691 GB, free: 8.66 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe 2>&1)