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.0009227/0.0009226, allocations: 91.77 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.001121/0.001121, 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.305/1.305, allocations: 223.3 MB / 240 MB, free: 5.199 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002568/0.002568, allocations: 263 kB / 291.3 MB, free: 1.758 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9631/0.9631, allocations: 169.5 MB / 0.5 GB, free: 14.18 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004553/0.0004554, allocations: 13.78 kB / 0.598 GB, free: 28.26 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1763/0.1768, allocations: 88.54 MB / 0.6845 GB, free: 15.41 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.001118/0.178, allocations: 0.9753 MB / 0.6854 GB, free: 14.43 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004227/0.1784, allocations: 208.4 kB / 0.6856 GB, free: 14.23 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.702e-05/0.1784, allocations: 1.188 kB / 0.6856 GB, free: 14.23 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.228e-05/0.1784, allocations: 0 / 0.6856 GB, free: 14.23 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.705e-05/0.1785, allocations: 7.938 kB / 0.6857 GB, free: 14.22 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002158/0.1787, allocations: 37.58 kB / 0.6857 GB, free: 14.18 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.815e-05/0.1788, allocations: 19.91 kB / 0.6857 GB, free: 14.16 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.599e-05/0.1788, allocations: 4.969 kB / 0.6857 GB, free: 14.16 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.966e-05/0.1788, allocations: 8 kB / 0.6857 GB, free: 14.15 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.811e-05/0.1789, allocations: 7.984 kB / 0.6857 GB, free: 14.14 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.799e-06/0.1789, allocations: 2.031 kB / 0.6857 GB, free: 14.14 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.246e-05/0.179, allocations: 43.95 kB / 0.6858 GB, free: 14.1 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.849e-06/0.179, allocations: 7.938 kB / 0.6858 GB, free: 14.09 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.442e-05/0.1791, allocations: 29.7 kB / 0.6858 GB, free: 14.06 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 7.765e-05/0.1791, allocations: 36.17 kB / 0.6858 GB, free: 14.02 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.1792, allocations: 2.406 kB / 0.6858 GB, free: 14.02 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1792, allocations: 0 / 0.6858 GB, free: 14.02 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.386e-06/0.1792, allocations: 0 / 0.6858 GB, free: 14.02 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.0003612/0.1795, allocations: 323.4 kB / 0.6862 GB, free: 13.66 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/0.1796, allocations: 16.47 kB / 0.6862 GB, free: 13.64 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001604/0.1798, allocations: 16.5 kB / 0.6862 GB, free: 13.63 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.684e-05/0.1799, allocations: 163.1 kB / 0.6863 GB, free: 13.43 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.376e-05/0.1799, allocations: 1.219 kB / 0.6863 GB, free: 13.43 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.274e-05/0.1799, allocations: 0 / 0.6863 GB, free: 13.43 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000126/0.18, allocations: 47.12 kB / 0.6864 GB, free: 13.38 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.1801, allocations: 4 kB / 0.6864 GB, free: 13.38 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.453e-05/0.1801, allocations: 0 / 0.6864 GB, free: 13.38 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.1801, allocations: 3.938 kB / 0.6864 GB, free: 13.37 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.418e-05/0.1801, allocations: 20.69 kB / 0.6864 GB, free: 13.35 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002036/0.1804, allocations: 155.4 kB / 0.6866 GB, free: 13.15 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001015/0.1805, allocations: 42.62 kB / 0.6866 GB, free: 13.1 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.572e-05/0.1805, allocations: 21.48 kB / 0.6866 GB, free: 13.08 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.517e-05/0.1805, allocations: 1.719 kB / 0.6866 GB, free: 13.08 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.055e-05/0.1806, allocations: 34.56 kB / 0.6867 GB, free: 13.04 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 1.313e-06/0.1806, allocations: 0 / 0.6867 GB, free: 13.04 MB / 494.1 MB Notification: Performance of matching and sorting (n=8): time 0.001848/0.1824, allocations: 0.5049 MB / 0.6872 GB, free: 12.48 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.297e-05/0.1825, allocations: 59.36 kB / 0.6872 GB, free: 12.41 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.747e-05/0.1825, allocations: 89.86 kB / 0.6873 GB, free: 12.32 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.497e-05/0.1825, allocations: 29.64 kB / 0.6873 GB, free: 12.28 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.326e-05/0.1826, allocations: 80.14 kB / 0.6874 GB, free: 12.2 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.505e-05/0.1826, allocations: 27.64 kB / 0.6874 GB, free: 12.17 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.173e-06/0.1826, allocations: 4 kB / 0.6874 GB, free: 12.17 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.782e-05/0.1827, allocations: 310.8 kB / 0.6877 GB, free: 11.86 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.961e-05/0.1828, allocations: 23.98 kB / 0.6877 GB, free: 11.83 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.579e-05/0.1828, allocations: 24 kB / 0.6878 GB, free: 11.81 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.266e-05/0.1829, allocations: 24 kB / 0.6878 GB, free: 11.79 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.1829, allocations: 0 / 0.6878 GB, free: 11.79 MB / 494.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000147/0.183, allocations: 101.7 kB / 0.6879 GB, free: 11.68 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.183, allocations: 7.984 kB / 0.6879 GB, free: 11.67 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.1831, allocations: 0 / 0.6879 GB, free: 11.67 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.736e-06/0.1831, allocations: 0 / 0.6879 GB, free: 11.67 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000127/0.1832, allocations: 15.94 kB / 0.6879 GB, free: 11.66 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.1832, allocations: 4 kB / 0.6879 GB, free: 11.65 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.551e-05/0.1833, allocations: 3.953 kB / 0.6879 GB, free: 11.65 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.795e-06/0.1833, allocations: 8 kB / 0.6879 GB, free: 11.64 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.598e-05/0.1834, allocations: 110.5 kB / 0.688 GB, free: 11.52 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.798e-06/0.1834, allocations: 0 / 0.688 GB, free: 11.52 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.333e-05/0.1834, allocations: 23.95 kB / 0.6881 GB, free: 11.5 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.1834, allocations: 0 / 0.6881 GB, free: 11.5 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.1834, allocations: 0 / 0.6881 GB, free: 11.5 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.1835, allocations: 0 / 0.6881 GB, free: 11.5 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001165/0.1836, allocations: 171.5 kB / 0.6882 GB, free: 11.29 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.1836, allocations: 448 / 0.6882 GB, free: 11.29 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001177/0.1837, allocations: 12 kB / 0.6882 GB, free: 11.27 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.1837, allocations: 8 kB / 0.6882 GB, free: 11.27 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.148e-05/0.1837, allocations: 8 kB / 0.6882 GB, free: 11.26 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.1837, allocations: 0 / 0.6882 GB, free: 11.26 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.62e-07/0.1837, allocations: 0 / 0.6882 GB, free: 11.26 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002243/0.184, allocations: 157 kB / 0.6884 GB, free: 11.09 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.129e-05/0.184, allocations: 81.02 kB / 0.6885 GB, free: 10.99 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.963e-05/0.184, allocations: 4.031 kB / 0.6885 GB, free: 10.98 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.743e-05/0.1841, allocations: 8.062 kB / 0.6885 GB, free: 10.98 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.82e-05/0.1842, allocations: 11.92 kB / 0.6885 GB, free: 10.96 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.804e-06/0.1842, allocations: 4 kB / 0.6885 GB, free: 10.96 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.526e-05/0.1842, allocations: 75.28 kB / 0.6886 GB, free: 10.89 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1842, allocations: 0 / 0.6886 GB, free: 10.89 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001804/0.1844, allocations: 8 kB / 0.6886 GB, free: 10.88 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 (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.0001079/0.1845, allocations: 107.2 kB / 0.6887 GB, free: 10.77 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001375/0.1847, allocations: 55.92 kB / 0.6887 GB, free: 10.71 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.1847, allocations: 4 kB / 0.6887 GB, free: 10.71 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 4.795e-05/0.1847, allocations: 35.92 kB / 0.6888 GB, free: 10.67 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002062/0.1849, allocations: 10.34 kB / 0.6888 GB, free: 10.66 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004605/0.1854, allocations: 188.8 kB / 0.689 GB, free: 10.45 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00029/0.1857, allocations: 0.6848 MB / 0.6896 GB, free: 9.742 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 8.408e-05/0.1858, allocations: 8.188 kB / 0.6896 GB, free: 9.73 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.998e-05/0.1858, allocations: 11.44 kB / 0.6897 GB, free: 9.719 MB / 494.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1859, allocations: 0 / 0.6897 GB, free: 9.719 MB / 494.1 MB Notification: Performance of Templates: time 0.002661/0.1885, allocations: 0.6445 MB / 0.6903 GB, free: 9.121 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)