Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck") translateModel(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.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.007083/0.007083, allocations: 100.6 kB / 15.73 MB, free: 6.016 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.001195/0.001195, allocations: 189.8 kB / 16.67 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.738/1.738, allocations: 205.1 MB / 222.6 MB, free: 4.488 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.6297/0.6297, allocations: 95.48 MB / 365.4 MB, free: 9.754 MB / 302.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001543/0.001543, allocations: 75.89 kB / 0.5036 GB, free: 13.45 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1681/0.1697, allocations: 69.08 MB / 0.5711 GB, free: 8.305 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.001851/0.1716, allocations: 0.5542 MB / 0.5716 GB, free: 7.75 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001203/0.1728, allocations: 0.9017 MB / 0.5725 GB, free: 6.836 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.438e-05/0.1729, allocations: 0 / 0.5725 GB, free: 6.836 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.825e-05/0.1729, allocations: 0 / 0.5725 GB, free: 6.836 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.189e-05/0.173, allocations: 3.938 kB / 0.5725 GB, free: 6.832 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003595/0.1733, allocations: 35.83 kB / 0.5726 GB, free: 6.797 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.379e-05/0.1734, allocations: 15.94 kB / 0.5726 GB, free: 6.781 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.247e-05/0.1735, allocations: 7.984 kB / 0.5726 GB, free: 6.773 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.862e-05/0.1735, allocations: 7.984 kB / 0.5726 GB, free: 6.766 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.849e-05/0.1736, allocations: 4 kB / 0.5726 GB, free: 6.762 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.469e-05/0.1736, allocations: 0 / 0.5726 GB, free: 6.762 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001521/0.1738, allocations: 43.95 kB / 0.5726 GB, free: 6.719 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.481e-05/0.1738, allocations: 3.938 kB / 0.5726 GB, free: 6.715 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.957e-05/0.1738, allocations: 7.938 kB / 0.5726 GB, free: 6.707 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001494/0.174, allocations: 35.89 kB / 0.5727 GB, free: 6.672 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.174, allocations: 0 / 0.5727 GB, free: 6.672 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.174, allocations: 0 / 0.5727 GB, free: 6.672 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.866e-06/0.174, allocations: 8 kB / 0.5727 GB, free: 6.664 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004335/0.1745, allocations: 319.5 kB / 0.573 GB, free: 6.301 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.077e-05/0.1745, allocations: 15.98 kB / 0.573 GB, free: 6.285 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000234/0.1748, allocations: 16.92 kB / 0.573 GB, free: 6.27 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001412/0.1749, allocations: 164.4 kB / 0.5732 GB, free: 6.07 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.1749, allocations: 384 / 0.5732 GB, free: 6.07 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.249e-05/0.175, allocations: 4.375 kB / 0.5732 GB, free: 6.066 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001122/0.1751, allocations: 38.25 kB / 0.5732 GB, free: 6.023 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.1751, allocations: 192 / 0.5732 GB, free: 6.023 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.479e-05/0.1751, allocations: 3.938 kB / 0.5732 GB, free: 6.02 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.1751, allocations: 0 / 0.5732 GB, free: 6.02 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.098e-05/0.1752, allocations: 7.938 kB / 0.5732 GB, free: 6.012 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001739/0.1753, allocations: 153.6 kB / 0.5734 GB, free: 5.812 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.117e-05/0.1754, allocations: 26.61 kB / 0.5734 GB, free: 5.777 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.467e-05/0.1754, allocations: 16.83 kB / 0.5734 GB, free: 5.758 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.328e-05/0.1755, allocations: 0 / 0.5734 GB, free: 5.758 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.806e-05/0.1755, allocations: 34.62 kB / 0.5735 GB, free: 5.715 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 2.304e-06/0.1755, allocations: 0 / 0.5735 GB, free: 5.715 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0009483/0.1765, allocations: 310.3 kB / 0.5737 GB, free: 5.359 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.463e-05/0.1765, allocations: 51.41 kB / 0.5738 GB, free: 5.297 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.176e-05/0.1766, allocations: 89.86 kB / 0.5739 GB, free: 5.199 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.924e-05/0.1766, allocations: 29.7 kB / 0.5739 GB, free: 5.164 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.748e-05/0.1767, allocations: 80.36 kB / 0.574 GB, free: 5.082 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.967e-05/0.1767, allocations: 19.89 kB / 0.574 GB, free: 5.062 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.079e-05/0.1767, allocations: 17.66 kB / 0.574 GB, free: 5.039 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001176/0.1769, allocations: 314.8 kB / 0.5743 GB, free: 4.723 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.312e-05/0.1769, allocations: 4 kB / 0.5743 GB, free: 4.719 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.399e-05/0.177, allocations: 21.7 kB / 0.5743 GB, free: 4.691 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.368e-05/0.177, allocations: 29.72 kB / 0.5744 GB, free: 4.656 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.1771, allocations: 3.938 kB / 0.5744 GB, free: 4.652 MB / 446.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001394/0.1772, allocations: 57.64 kB / 0.5744 GB, free: 4.59 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.1772, allocations: 7.938 kB / 0.5744 GB, free: 4.582 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.1772, allocations: 0 / 0.5744 GB, free: 4.582 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.996e-05/0.1773, allocations: 7.984 kB / 0.5744 GB, free: 4.574 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001323/0.1774, allocations: 4 kB / 0.5745 GB, free: 4.57 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.1774, allocations: 0 / 0.5745 GB, free: 4.57 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.852e-05/0.1775, allocations: 4 kB / 0.5745 GB, free: 4.566 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.177e-06/0.1775, allocations: 0 / 0.5745 GB, free: 4.566 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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.081e-05/0.1776, allocations: 109.9 kB / 0.5746 GB, free: 4.449 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.324e-05/0.1776, allocations: 7.938 kB / 0.5746 GB, free: 4.441 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.441e-05/0.1777, allocations: 11.5 kB / 0.5746 GB, free: 4.422 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.1777, allocations: 7.922 kB / 0.5746 GB, free: 4.414 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.1777, allocations: 0 / 0.5746 GB, free: 4.414 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.1777, allocations: 0 / 0.5746 GB, free: 4.414 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001528/0.1778, allocations: 153.7 kB / 0.5747 GB, free: 4.215 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.1778, allocations: 4 kB / 0.5747 GB, free: 4.211 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001076/0.178, allocations: 7.984 kB / 0.5747 GB, free: 4.203 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.178, allocations: 7.938 kB / 0.5748 GB, free: 4.195 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.543e-05/0.178, allocations: 4 kB / 0.5748 GB, free: 4.191 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.178, allocations: 0 / 0.5748 GB, free: 4.191 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.178, allocations: 0 / 0.5748 GB, free: 4.191 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001931/0.1782, allocations: 85.12 kB / 0.5748 GB, free: 4.09 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.948e-05/0.1783, allocations: 81.06 kB / 0.5749 GB, free: 3.992 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.86e-05/0.1783, allocations: 3.938 kB / 0.5749 GB, free: 3.988 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.348e-05/0.1784, allocations: 7.922 kB / 0.5749 GB, free: 3.98 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.205e-05/0.1784, allocations: 8.094 kB / 0.5749 GB, free: 3.973 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.778e-06/0.1784, allocations: 4 kB / 0.5749 GB, free: 3.969 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.696e-05/0.1785, allocations: 79.22 kB / 0.575 GB, free: 3.891 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1785, allocations: 0 / 0.575 GB, free: 3.891 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001888/0.1787, allocations: 8 kB / 0.575 GB, free: 3.883 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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 (3): * Single equations (assignments): 3 * 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.0001264/0.1788, allocations: 99.25 kB / 0.5751 GB, free: 3.773 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001309/0.1789, allocations: 24.14 kB / 0.5751 GB, free: 3.75 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.179, allocations: 4.062 kB / 0.5751 GB, free: 3.746 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.718e-05/0.179, allocations: 11.94 kB / 0.5752 GB, free: 3.734 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001617/0.1792, allocations: 3.938 kB / 0.5752 GB, free: 3.73 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004176/0.1796, allocations: 118.1 kB / 0.5753 GB, free: 3.59 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002644/0.1799, allocations: 0.6731 MB / 0.5759 GB, free: 2.891 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.448e-05/0.1799, allocations: 7.984 kB / 0.5759 GB, free: 2.883 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.348e-05/0.18, allocations: 15.44 kB / 0.576 GB, free: 2.867 MB / 446.1 MB Notification: Performance of SimCode: time 6.81e-07/0.18, allocations: 3.938 kB / 0.576 GB, free: 2.863 MB / 446.1 MB Notification: Performance of Templates: time 0.003023/0.183, allocations: 0.5469 MB / 0.5765 GB, free: 2.363 MB / 446.1 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.makefile (rm -f Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.sim & ./Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe 2>&1)