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.0112/0.0112, allocations: 101.4 kB / 15.73 MB, free: 5.523 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.002485/0.002485, allocations: 196 kB / 16.67 MB, free: 5.461 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.709/1.709, allocations: 205.1 MB / 222.5 MB, free: 4.371 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.6446/0.6446, allocations: 95.48 MB / 365.4 MB, free: 9.684 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.001523/0.001523, allocations: 74.25 kB / 0.5036 GB, free: 13.59 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1604/0.1619, allocations: 69.09 MB / 0.5711 GB, free: 8.434 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.001876/0.1639, allocations: 0.5386 MB / 0.5716 GB, free: 7.895 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001266/0.1651, allocations: 0.8978 MB / 0.5725 GB, free: 6.984 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.043e-05/0.1652, allocations: 4 kB / 0.5725 GB, free: 6.98 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.717e-05/0.1652, allocations: 3.938 kB / 0.5725 GB, free: 6.977 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.151e-05/0.1652, allocations: 4 kB / 0.5725 GB, free: 6.973 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000303/0.1656, allocations: 31.83 kB / 0.5725 GB, free: 6.941 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.879e-05/0.1656, allocations: 11.98 kB / 0.5726 GB, free: 6.93 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.131e-05/0.1657, allocations: 7.938 kB / 0.5726 GB, free: 6.922 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.116e-05/0.1657, allocations: 3.984 kB / 0.5726 GB, free: 6.918 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.029e-05/0.1658, allocations: 4 kB / 0.5726 GB, free: 6.914 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.156e-05/0.1658, allocations: 0 / 0.5726 GB, free: 6.914 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001188/0.1659, allocations: 55.95 kB / 0.5726 GB, free: 6.859 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.091e-05/0.1659, allocations: 0 / 0.5726 GB, free: 6.859 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.33e-05/0.1659, allocations: 7.875 kB / 0.5726 GB, free: 6.852 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001191/0.1661, allocations: 35.89 kB / 0.5727 GB, free: 6.816 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.1661, allocations: 0 / 0.5727 GB, free: 6.816 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.1661, allocations: 4 kB / 0.5727 GB, free: 6.812 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.959e-06/0.1661, allocations: 0 / 0.5727 GB, free: 6.812 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.0003738/0.1665, allocations: 323.6 kB / 0.573 GB, free: 6.445 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.48e-05/0.1665, allocations: 15.92 kB / 0.573 GB, free: 6.43 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002042/0.1667, allocations: 20.92 kB / 0.573 GB, free: 6.41 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001261/0.1669, allocations: 160.4 kB / 0.5732 GB, free: 6.215 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.003e-05/0.1669, allocations: 384 / 0.5732 GB, free: 6.215 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.12e-05/0.1669, allocations: 4.375 kB / 0.5732 GB, free: 6.211 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001027/0.167, allocations: 38.25 kB / 0.5732 GB, free: 6.168 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-06/0.167, allocations: 192 / 0.5732 GB, free: 6.168 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.328e-05/0.167, allocations: 3.938 kB / 0.5732 GB, free: 6.164 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.1671, allocations: 4 kB / 0.5732 GB, free: 6.16 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.347e-05/0.1671, allocations: 4 kB / 0.5732 GB, free: 6.156 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001709/0.1673, allocations: 153.7 kB / 0.5734 GB, free: 5.957 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.008e-05/0.1673, allocations: 22.52 kB / 0.5734 GB, free: 5.926 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.917e-05/0.1673, allocations: 4.859 kB / 0.5734 GB, free: 5.918 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.385e-06/0.1674, allocations: 0 / 0.5734 GB, free: 5.918 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.802e-05/0.1674, allocations: 38.62 kB / 0.5734 GB, free: 5.871 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.373e-06/0.1674, allocations: 4 kB / 0.5734 GB, free: 5.867 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0009235/0.1683, allocations: 310.3 kB / 0.5737 GB, free: 5.512 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.458e-05/0.1684, allocations: 55.34 kB / 0.5738 GB, free: 5.445 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.262e-05/0.1685, allocations: 89.86 kB / 0.5739 GB, free: 5.348 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.786e-05/0.1685, allocations: 33.7 kB / 0.5739 GB, free: 5.309 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.826e-05/0.1685, allocations: 80.14 kB / 0.574 GB, free: 5.227 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.359e-05/0.1685, allocations: 3.906 kB / 0.574 GB, free: 5.223 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.999e-05/0.1686, allocations: 21.7 kB / 0.574 GB, free: 5.195 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001097/0.1687, allocations: 311 kB / 0.5743 GB, free: 4.883 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.031e-05/0.1687, allocations: 8 kB / 0.5743 GB, free: 4.875 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.171e-05/0.1688, allocations: 29.66 kB / 0.5743 GB, free: 4.84 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.594e-05/0.1689, allocations: 29.7 kB / 0.5744 GB, free: 4.805 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.1689, allocations: 0 / 0.5744 GB, free: 4.805 MB / 446.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001116/0.169, allocations: 57.55 kB / 0.5744 GB, free: 4.742 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.169, allocations: 9.094 kB / 0.5744 GB, free: 4.734 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.047e-06/0.169, allocations: 4 kB / 0.5744 GB, free: 4.73 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.1691, allocations: 4 kB / 0.5744 GB, free: 4.727 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001324/0.1692, allocations: 7.984 kB / 0.5744 GB, free: 4.719 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.1692, allocations: 0 / 0.5744 GB, free: 4.719 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.48e-05/0.1693, allocations: 4 kB / 0.5744 GB, free: 4.715 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.035e-06/0.1693, allocations: 0 / 0.5744 GB, free: 4.715 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.865e-05/0.1694, allocations: 117.8 kB / 0.5746 GB, free: 4.59 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.49e-05/0.1694, allocations: 3.938 kB / 0.5746 GB, free: 4.586 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.881e-05/0.1695, allocations: 15.64 kB / 0.5746 GB, free: 4.562 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.1695, allocations: 3.984 kB / 0.5746 GB, free: 4.559 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.576e-06/0.1695, allocations: 0 / 0.5746 GB, free: 4.559 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.554e-06/0.1695, allocations: 0 / 0.5746 GB, free: 4.559 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001148/0.1696, allocations: 157.7 kB / 0.5747 GB, free: 4.355 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.1696, allocations: 0 / 0.5747 GB, free: 4.355 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000118/0.1697, allocations: 7.938 kB / 0.5747 GB, free: 4.348 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.52e-06/0.1698, allocations: 7.938 kB / 0.5747 GB, free: 4.34 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.197e-06/0.1698, allocations: 0 / 0.5747 GB, free: 4.34 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.1698, allocations: 3.984 kB / 0.5748 GB, free: 4.336 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.1698, allocations: 0 / 0.5748 GB, free: 4.336 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001822/0.17, allocations: 89.12 kB / 0.5748 GB, free: 4.23 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.99e-05/0.17, allocations: 77.11 kB / 0.5749 GB, free: 4.137 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.824e-05/0.1701, allocations: 3.938 kB / 0.5749 GB, free: 4.133 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001025/0.1702, allocations: 4.031 kB / 0.5749 GB, free: 4.129 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.108e-05/0.1702, allocations: 7.922 kB / 0.5749 GB, free: 4.121 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.871e-06/0.1702, allocations: 0 / 0.5749 GB, free: 4.121 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.151e-05/0.1702, allocations: 75.28 kB / 0.575 GB, free: 4.047 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1702, allocations: 4.156 kB / 0.575 GB, free: 4.043 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001874/0.1704, allocations: 8 kB / 0.575 GB, free: 4.035 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.0001241/0.1706, allocations: 107.2 kB / 0.5751 GB, free: 3.918 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001233/0.1707, allocations: 19.98 kB / 0.5751 GB, free: 3.898 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.1707, allocations: 0 / 0.5751 GB, free: 3.898 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.23e-05/0.1707, allocations: 12 kB / 0.5751 GB, free: 3.887 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000154/0.1709, allocations: 3.938 kB / 0.5751 GB, free: 3.883 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003873/0.1713, allocations: 130.1 kB / 0.5753 GB, free: 3.73 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002465/0.1716, allocations: 0.6768 MB / 0.5759 GB, free: 3.027 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.513e-05/0.1716, allocations: 8 kB / 0.5759 GB, free: 3.02 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.652e-05/0.1717, allocations: 7.438 kB / 0.5759 GB, free: 3.012 MB / 446.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1717, allocations: 0 / 0.5759 GB, free: 3.012 MB / 446.1 MB Notification: Performance of Templates: time 0.00242/0.1741, allocations: 0.5468 MB / 0.5765 GB, free: 2.508 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)