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.004485/0.004485, allocations: 101.5 kB / 15.73 MB, free: 6.031 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.0009936/0.0009936, allocations: 188.6 kB / 16.67 MB, free: 5.969 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.306/1.306, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001956/0.001956, allocations: 274.6 kB / 290.8 MB, free: 1.93 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9205/0.9205, allocations: 169.3 MB / 0.4983 GB, free: 13.84 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001602/0.001602, allocations: 96.61 kB / 0.6815 GB, free: 15.49 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1667/0.1683, allocations: 86.98 MB / 0.7664 GB, free: 8.426 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.002153/0.1705, allocations: 1.256 MB / 0.7676 GB, free: 7.16 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0004547/0.171, allocations: 231.2 kB / 0.7679 GB, free: 6.934 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.854e-05/0.171, allocations: 0 / 0.7679 GB, free: 6.934 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.566e-05/0.1711, allocations: 0 / 0.7679 GB, free: 6.934 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.538e-05/0.1711, allocations: 0 / 0.7679 GB, free: 6.934 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003086/0.1714, allocations: 47.77 kB / 0.7679 GB, free: 6.887 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 6.737e-05/0.1715, allocations: 15.97 kB / 0.7679 GB, free: 6.871 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.961e-05/0.1716, allocations: 8 kB / 0.7679 GB, free: 6.863 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 2.416e-05/0.1716, allocations: 11.92 kB / 0.7679 GB, free: 6.852 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 7.953e-05/0.1717, allocations: 4 kB / 0.7679 GB, free: 6.848 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.292e-05/0.1717, allocations: 0 / 0.7679 GB, free: 6.848 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001125/0.1718, allocations: 51.95 kB / 0.768 GB, free: 6.797 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.487e-05/0.1718, allocations: 4 kB / 0.768 GB, free: 6.793 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.652e-05/0.1719, allocations: 11.91 kB / 0.768 GB, free: 6.781 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001229/0.172, allocations: 39.91 kB / 0.768 GB, free: 6.742 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.172, allocations: 0 / 0.768 GB, free: 6.742 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.653e-06/0.172, allocations: 4 kB / 0.768 GB, free: 6.738 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.391e-06/0.172, allocations: 0 / 0.768 GB, free: 6.738 MB / 0.5606 GB 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.0004071/0.1724, allocations: 331.6 kB / 0.7684 GB, free: 6.363 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.1725, allocations: 15.97 kB / 0.7684 GB, free: 6.348 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001489/0.1726, allocations: 16.77 kB / 0.7684 GB, free: 6.332 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.749e-05/0.1727, allocations: 160.4 kB / 0.7685 GB, free: 6.137 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.16e-05/0.1727, allocations: 4.375 kB / 0.7685 GB, free: 6.133 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.459e-05/0.1728, allocations: 384 / 0.7685 GB, free: 6.133 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001308/0.1729, allocations: 58.22 kB / 0.7686 GB, free: 6.07 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.783e-06/0.1729, allocations: 192 / 0.7686 GB, free: 6.07 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.46e-05/0.1729, allocations: 7.938 kB / 0.7686 GB, free: 6.062 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.173, allocations: 0 / 0.7686 GB, free: 6.062 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.736e-05/0.173, allocations: 12 kB / 0.7686 GB, free: 6.051 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001554/0.1732, allocations: 161.6 kB / 0.7688 GB, free: 5.844 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 9.116e-05/0.1733, allocations: 46.56 kB / 0.7688 GB, free: 5.789 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.682e-05/0.1733, allocations: 28.92 kB / 0.7688 GB, free: 5.758 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.256e-05/0.1733, allocations: 0 / 0.7688 GB, free: 5.758 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.792e-05/0.1734, allocations: 38.55 kB / 0.7689 GB, free: 5.711 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=5): time 7.72e-07/0.1734, allocations: 0 / 0.7689 GB, free: 5.711 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.002094/0.1755, allocations: 0.4903 MB / 0.7694 GB, free: 5.168 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.886e-05/0.1755, allocations: 51.41 kB / 0.7694 GB, free: 5.105 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.033e-05/0.1755, allocations: 89.86 kB / 0.7695 GB, free: 5.008 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.259e-05/0.1756, allocations: 25.7 kB / 0.7695 GB, free: 4.977 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.16e-05/0.1756, allocations: 80.14 kB / 0.7696 GB, free: 4.895 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.036e-05/0.1757, allocations: 35.48 kB / 0.7696 GB, free: 4.859 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.129e-05/0.1757, allocations: 25.72 kB / 0.7697 GB, free: 4.828 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001676/0.1759, allocations: 318.8 kB / 0.77 GB, free: 4.508 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.312e-05/0.176, allocations: 20 kB / 0.77 GB, free: 4.488 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.623e-05/0.176, allocations: 23.98 kB / 0.77 GB, free: 4.465 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.429e-05/0.1761, allocations: 52.86 kB / 0.7701 GB, free: 4.41 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.51e-07/0.1761, allocations: 0 / 0.7701 GB, free: 4.41 MB / 0.5606 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001346/0.1762, allocations: 93.62 kB / 0.7701 GB, free: 4.312 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.1763, allocations: 10.28 kB / 0.7702 GB, free: 4.305 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.1763, allocations: 3.984 kB / 0.7702 GB, free: 4.301 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.1763, allocations: 4 kB / 0.7702 GB, free: 4.297 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001373/0.1764, allocations: 12.28 kB / 0.7702 GB, free: 4.285 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.1765, allocations: 4 kB / 0.7702 GB, free: 4.281 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.895e-05/0.1765, allocations: 4 kB / 0.7702 GB, free: 4.277 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.523e-06/0.1765, allocations: 11.81 kB / 0.7702 GB, free: 4.266 MB / 0.5606 GB 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.344e-05/0.1766, allocations: 110.5 kB / 0.7703 GB, free: 4.148 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.608e-05/0.1766, allocations: 3.938 kB / 0.7703 GB, free: 4.145 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.166e-05/0.1767, allocations: 23.95 kB / 0.7703 GB, free: 4.121 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.1767, allocations: 4 kB / 0.7703 GB, free: 4.117 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.1767, allocations: 0 / 0.7703 GB, free: 4.117 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.1767, allocations: 0 / 0.7703 GB, free: 4.117 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000137/0.1769, allocations: 179.2 kB / 0.7705 GB, free: 3.895 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.1769, allocations: 0 / 0.7705 GB, free: 3.895 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000135/0.177, allocations: 16 kB / 0.7705 GB, free: 3.879 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.58e-06/0.177, allocations: 7.938 kB / 0.7705 GB, free: 3.871 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.567e-06/0.177, allocations: 0 / 0.7705 GB, free: 3.871 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.177, allocations: 0 / 0.7705 GB, free: 3.871 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.177, allocations: 0 / 0.7705 GB, free: 3.871 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002438/0.1773, allocations: 145 kB / 0.7707 GB, free: 3.711 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.89e-05/0.1773, allocations: 89.06 kB / 0.7707 GB, free: 3.605 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.593e-05/0.1774, allocations: 448 / 0.7707 GB, free: 3.605 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001098/0.1775, allocations: 4 kB / 0.7707 GB, free: 3.602 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.701e-05/0.1775, allocations: 7.984 kB / 0.7708 GB, free: 3.594 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.68e-05/0.1775, allocations: 8 kB / 0.7708 GB, free: 3.586 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 2.767e-05/0.1776, allocations: 75.28 kB / 0.7708 GB, free: 3.512 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.01e-07/0.1776, allocations: 0 / 0.7708 GB, free: 3.512 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001973/0.1778, allocations: 12.06 kB / 0.7708 GB, free: 3.5 MB / 0.5606 GB 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.0001256/0.1779, allocations: 107.2 kB / 0.771 GB, free: 3.387 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001687/0.1781, allocations: 60.06 kB / 0.771 GB, free: 3.328 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.1781, allocations: 0 / 0.771 GB, free: 3.328 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 5.489e-05/0.1781, allocations: 39.97 kB / 0.771 GB, free: 3.289 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002007/0.1784, allocations: 7.5 kB / 0.7711 GB, free: 3.285 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005655/0.1789, allocations: 182.7 kB / 0.7712 GB, free: 3.078 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003541/0.1793, allocations: 0.6807 MB / 0.7719 GB, free: 2.371 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 7.081e-05/0.1794, allocations: 19.91 kB / 0.7719 GB, free: 2.352 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.277e-05/0.1794, allocations: 7.438 kB / 0.7719 GB, free: 2.344 MB / 0.5606 GB Notification: Performance of SimCode: time 1.573e-06/0.1794, allocations: 0 / 0.7719 GB, free: 2.344 MB / 0.5606 GB Notification: Performance of Templates: time 0.002942/0.1824, allocations: 0.7223 MB / 0.7726 GB, free: 1.672 MB / 0.5606 GB 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)