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.001413/0.001413, allocations: 107.4 kB / 15.22 MB, free: 0.6562 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.001164/0.001164, allocations: 197.9 kB / 16.14 MB, free: 6.598 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.308/1.308, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002708/0.002708, allocations: 279.1 kB / 290.2 MB, free: 2.207 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9962/0.9962, allocations: 169.2 MB / 0.4977 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002562/0.002562, allocations: 94.88 kB / 0.5945 GB, free: 28.3 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1721/0.1747, allocations: 86.99 MB / 0.6795 GB, free: 1.168 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.002177/0.1769, allocations: 1.307 MB / 0.6807 GB, free: 15.86 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004488/0.1773, allocations: 242.2 kB / 0.681 GB, free: 15.63 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.056e-05/0.1774, allocations: 0 / 0.681 GB, free: 15.63 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.9e-05/0.1774, allocations: 0 / 0.681 GB, free: 15.63 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.073e-05/0.1774, allocations: 7.938 kB / 0.681 GB, free: 15.62 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002034/0.1776, allocations: 35.81 kB / 0.681 GB, free: 15.59 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.553e-05/0.1777, allocations: 15.94 kB / 0.681 GB, free: 15.57 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.657e-05/0.1777, allocations: 4.781 kB / 0.681 GB, free: 15.57 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.995e-05/0.1778, allocations: 7.984 kB / 0.681 GB, free: 15.56 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.712e-05/0.1778, allocations: 8.625 kB / 0.681 GB, free: 15.55 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.07e-05/0.1778, allocations: 3.938 kB / 0.6811 GB, free: 15.55 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.255e-05/0.1779, allocations: 44.83 kB / 0.6811 GB, free: 15.5 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.241e-05/0.178, allocations: 3.984 kB / 0.6811 GB, free: 15.5 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.681e-05/0.178, allocations: 12.52 kB / 0.6811 GB, free: 15.49 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001051/0.1781, allocations: 44.12 kB / 0.6812 GB, free: 15.45 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.1781, allocations: 1 kB / 0.6812 GB, free: 15.45 MB / 494.1 MB Notification: Performance of FrontEnd: time 7.11e-07/0.1781, allocations: 0 / 0.6812 GB, free: 15.45 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.181e-06/0.1781, allocations: 1.062 kB / 0.6812 GB, free: 15.45 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.0003599/0.1785, allocations: 335.6 kB / 0.6815 GB, free: 15.07 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.027e-05/0.1785, allocations: 8.031 kB / 0.6815 GB, free: 15.06 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001268/0.1787, allocations: 12.92 kB / 0.6815 GB, free: 15.05 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.866e-05/0.1788, allocations: 172.3 kB / 0.6817 GB, free: 14.84 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.586e-06/0.1788, allocations: 4.375 kB / 0.6817 GB, free: 14.84 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.047e-05/0.1788, allocations: 4.375 kB / 0.6817 GB, free: 14.83 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001024/0.1789, allocations: 46.23 kB / 0.6817 GB, free: 14.78 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.891e-06/0.1789, allocations: 192 / 0.6817 GB, free: 14.78 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.026e-05/0.1789, allocations: 3.938 kB / 0.6817 GB, free: 14.78 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.1789, allocations: 8 kB / 0.6817 GB, free: 14.77 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.224e-05/0.179, allocations: 12 kB / 0.6817 GB, free: 14.76 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001431/0.1791, allocations: 161.7 kB / 0.6819 GB, free: 14.55 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.719e-05/0.1792, allocations: 46.56 kB / 0.6819 GB, free: 14.5 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.306e-05/0.1793, allocations: 16.98 kB / 0.6819 GB, free: 14.48 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.869e-06/0.1793, allocations: 0 / 0.6819 GB, free: 14.48 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.485e-05/0.1793, allocations: 42.55 kB / 0.682 GB, free: 14.43 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 7.82e-07/0.1793, allocations: 0 / 0.682 GB, free: 14.43 MB / 494.1 MB Notification: Performance of matching and sorting (n=8): time 0.002067/0.1814, allocations: 497.9 kB / 0.6825 GB, free: 13.89 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.029e-05/0.1814, allocations: 55.41 kB / 0.6825 GB, free: 13.82 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.51e-05/0.1815, allocations: 101.8 kB / 0.6826 GB, free: 13.71 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.645e-05/0.1815, allocations: 25.7 kB / 0.6826 GB, free: 13.68 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.7e-05/0.1816, allocations: 80.14 kB / 0.6827 GB, free: 13.6 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.771e-05/0.1816, allocations: 27.64 kB / 0.6827 GB, free: 13.57 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.264e-05/0.1817, allocations: 17.72 kB / 0.6828 GB, free: 13.55 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.977e-05/0.1818, allocations: 322.8 kB / 0.6831 GB, free: 13.22 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.49e-05/0.1818, allocations: 24 kB / 0.6831 GB, free: 13.2 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.177e-05/0.1819, allocations: 27.92 kB / 0.6831 GB, free: 13.17 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.693e-05/0.182, allocations: 56.86 kB / 0.6832 GB, free: 13.11 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.61e-07/0.182, allocations: 0 / 0.6832 GB, free: 13.11 MB / 494.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001447/0.1821, allocations: 97.53 kB / 0.6833 GB, free: 13.01 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.1822, allocations: 7.938 kB / 0.6833 GB, free: 13 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.1822, allocations: 3.984 kB / 0.6833 GB, free: 13 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.1822, allocations: 0 / 0.6833 GB, free: 13 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001444/0.1823, allocations: 12 kB / 0.6833 GB, free: 12.99 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.1823, allocations: 0 / 0.6833 GB, free: 12.99 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.931e-05/0.1824, allocations: 4 kB / 0.6833 GB, free: 12.98 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.314e-06/0.1824, allocations: 4.078 kB / 0.6833 GB, free: 12.98 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 7.765e-05/0.1825, allocations: 119.1 kB / 0.6834 GB, free: 12.86 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.512e-05/0.1825, allocations: 3.938 kB / 0.6834 GB, free: 12.85 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.813e-05/0.1826, allocations: 15.95 kB / 0.6834 GB, free: 12.84 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.1826, allocations: 0 / 0.6834 GB, free: 12.84 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.1826, allocations: 0 / 0.6834 GB, free: 12.84 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.1826, allocations: 4 kB / 0.6834 GB, free: 12.83 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001324/0.1827, allocations: 175.5 kB / 0.6836 GB, free: 12.61 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.1827, allocations: 0 / 0.6836 GB, free: 12.61 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001337/0.1829, allocations: 16 kB / 0.6836 GB, free: 12.6 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.526e-06/0.1829, allocations: 4.375 kB / 0.6836 GB, free: 12.59 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.548e-06/0.1829, allocations: 0 / 0.6836 GB, free: 12.59 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.1829, allocations: 3.984 kB / 0.6836 GB, free: 12.59 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.023e-06/0.1829, allocations: 8 kB / 0.6836 GB, free: 12.58 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002248/0.1832, allocations: 141.3 kB / 0.6838 GB, free: 12.43 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.841e-05/0.1832, allocations: 92.88 kB / 0.6839 GB, free: 12.32 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.792e-05/0.1832, allocations: 4 kB / 0.6839 GB, free: 12.31 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001153/0.1834, allocations: 12.03 kB / 0.6839 GB, free: 12.3 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.742e-05/0.1834, allocations: 11.97 kB / 0.6839 GB, free: 12.29 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.133e-06/0.1834, allocations: 0 / 0.6839 GB, free: 12.29 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.473e-05/0.1834, allocations: 79.28 kB / 0.684 GB, free: 12.21 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1834, allocations: 0 / 0.684 GB, free: 12.21 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000185/0.1836, allocations: 12 kB / 0.684 GB, free: 12.2 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.0001094/0.1838, allocations: 99.25 kB / 0.6841 GB, free: 12.09 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001361/0.1839, allocations: 71.91 kB / 0.6841 GB, free: 12.02 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.1839, allocations: 0 / 0.6841 GB, free: 12.02 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 5.096e-05/0.184, allocations: 31.98 kB / 0.6842 GB, free: 11.99 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001995/0.1842, allocations: 4 kB / 0.6842 GB, free: 11.99 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004896/0.1847, allocations: 192.2 kB / 0.6843 GB, free: 11.77 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002321/0.1849, allocations: 0.677 MB / 0.685 GB, free: 11.07 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 8.656e-05/0.185, allocations: 15.98 kB / 0.685 GB, free: 11.05 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.714e-05/0.185, allocations: 7.438 kB / 0.685 GB, free: 11.05 MB / 494.1 MB Notification: Performance of SimCode: time 3.21e-07/0.185, allocations: 0 / 0.685 GB, free: 11.05 MB / 494.1 MB Notification: Performance of Templates: time 0.002671/0.1877, allocations: 0.6597 MB / 0.6857 GB, free: 10.43 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)