Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.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.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") translateModel(BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007104/0.007104, allocations: 103 kB / 15.73 MB, free: 6.051 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.001607/0.001607, allocations: 193 kB / 16.67 MB, free: 5.98 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.321/1.321, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002143/0.002143, allocations: 274.7 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.9601/0.9601, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001652/0.001652, allocations: 99.84 kB / 0.6815 GB, free: 15.47 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1556/0.1573, allocations: 86.97 MB / 0.7664 GB, free: 8.422 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.002291/0.1596, allocations: 1.288 MB / 0.7677 GB, free: 7.125 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001004/0.1607, allocations: 0.64 MB / 0.7683 GB, free: 6.48 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.697e-05/0.1607, allocations: 0 / 0.7683 GB, free: 6.48 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.503e-05/0.1607, allocations: 0 / 0.7683 GB, free: 6.48 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.138e-05/0.1608, allocations: 11.92 kB / 0.7683 GB, free: 6.469 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004121/0.1612, allocations: 107.5 kB / 0.7684 GB, free: 6.363 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.029e-05/0.1613, allocations: 27.91 kB / 0.7684 GB, free: 6.336 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.086e-05/0.1613, allocations: 3.938 kB / 0.7684 GB, free: 6.332 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 2.579e-05/0.1613, allocations: 11.98 kB / 0.7684 GB, free: 6.32 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.882e-05/0.1614, allocations: 8 kB / 0.7684 GB, free: 6.312 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.449e-05/0.1614, allocations: 0 / 0.7684 GB, free: 6.312 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002631/0.1617, allocations: 143.8 kB / 0.7686 GB, free: 6.172 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.627e-05/0.1617, allocations: 11.92 kB / 0.7686 GB, free: 6.16 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.485e-05/0.1618, allocations: 7.938 kB / 0.7686 GB, free: 6.152 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002065/0.162, allocations: 99.75 kB / 0.7687 GB, free: 6.055 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.162, allocations: 4 kB / 0.7687 GB, free: 6.051 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.433e-06/0.162, allocations: 3.938 kB / 0.7687 GB, free: 6.047 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.115e-06/0.162, allocations: 4 kB / 0.7687 GB, free: 6.043 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004775/0.1625, allocations: 351.4 kB / 0.769 GB, free: 5.648 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.1625, allocations: 8.031 kB / 0.7691 GB, free: 5.641 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004236/0.163, allocations: 36.89 kB / 0.7691 GB, free: 5.605 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001149/0.1631, allocations: 160.4 kB / 0.7692 GB, free: 5.41 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.289e-05/0.1631, allocations: 4.375 kB / 0.7692 GB, free: 5.406 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.892e-05/0.1631, allocations: 4.375 kB / 0.7693 GB, free: 5.402 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001799/0.1633, allocations: 50.22 kB / 0.7693 GB, free: 5.348 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.1633, allocations: 12.06 kB / 0.7693 GB, free: 5.336 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.457e-05/0.1634, allocations: 3.938 kB / 0.7693 GB, free: 5.332 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.099e-06/0.1634, allocations: 0 / 0.7693 GB, free: 5.332 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001388/0.1635, allocations: 35.97 kB / 0.7693 GB, free: 5.297 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001815/0.1637, allocations: 157.7 kB / 0.7695 GB, free: 5.094 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003159/0.164, allocations: 66.52 kB / 0.7696 GB, free: 5.02 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.919e-05/0.1641, allocations: 32.94 kB / 0.7696 GB, free: 4.984 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.793e-05/0.1641, allocations: 0 / 0.7696 GB, free: 4.984 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.571e-05/0.1642, allocations: 38.5 kB / 0.7696 GB, free: 4.938 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=4): time 8.81e-07/0.1642, allocations: 0 / 0.7696 GB, free: 4.938 MB / 0.5606 GB Notification: Performance of matching and sorting (n=6): time 0.003193/0.1674, allocations: 0.572 MB / 0.7702 GB, free: 4.312 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.992e-05/0.1674, allocations: 51.41 kB / 0.7702 GB, free: 4.25 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.725e-05/0.1675, allocations: 101.8 kB / 0.7703 GB, free: 4.141 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.056e-05/0.1675, allocations: 25.7 kB / 0.7704 GB, free: 4.109 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.092e-05/0.1676, allocations: 84.14 kB / 0.7704 GB, free: 4.023 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.569e-05/0.1676, allocations: 19.78 kB / 0.7705 GB, free: 4.004 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.522e-05/0.1677, allocations: 33.69 kB / 0.7705 GB, free: 3.965 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001048/0.1678, allocations: 310.8 kB / 0.7708 GB, free: 3.652 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001341/0.1679, allocations: 39.97 kB / 0.7708 GB, free: 3.613 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001239/0.168, allocations: 31.97 kB / 0.7709 GB, free: 3.582 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002761/0.1683, allocations: 88.75 kB / 0.7709 GB, free: 3.492 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/0.1683, allocations: 3.938 kB / 0.7709 GB, free: 3.488 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003329/0.1687, allocations: 121.5 kB / 0.7711 GB, free: 3.363 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.1687, allocations: 11.94 kB / 0.7711 GB, free: 3.352 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.516e-06/0.1687, allocations: 0 / 0.7711 GB, free: 3.352 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.1687, allocations: 3.984 kB / 0.7711 GB, free: 3.348 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000203/0.1689, allocations: 23.97 kB / 0.7711 GB, free: 3.324 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.169, allocations: 240 / 0.7711 GB, free: 3.324 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001408/0.1691, allocations: 4 kB / 0.7711 GB, free: 3.32 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.825e-05/0.1691, allocations: 15.97 kB / 0.7711 GB, free: 3.305 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 (7): * Single equations (assignments): 7 * 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 8.584e-05/0.1692, allocations: 110.5 kB / 0.7712 GB, free: 3.188 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.312e-05/0.1692, allocations: 11.88 kB / 0.7712 GB, free: 3.176 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.327e-05/0.1693, allocations: 7.969 kB / 0.7712 GB, free: 3.168 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.1693, allocations: 0 / 0.7712 GB, free: 3.168 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.1693, allocations: 4.062 kB / 0.7712 GB, free: 3.164 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.1693, allocations: 11.94 kB / 0.7713 GB, free: 3.152 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001526/0.1695, allocations: 187.5 kB / 0.7714 GB, free: 2.918 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.1695, allocations: 4 kB / 0.7714 GB, free: 2.914 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002148/0.1697, allocations: 19.97 kB / 0.7715 GB, free: 2.895 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.1697, allocations: 3.938 kB / 0.7715 GB, free: 2.891 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.584e-05/0.1697, allocations: 7.984 kB / 0.7715 GB, free: 2.883 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.1697, allocations: 0 / 0.7715 GB, free: 2.883 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.1698, allocations: 0 / 0.7715 GB, free: 2.883 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005183/0.1703, allocations: 189 kB / 0.7716 GB, free: 2.68 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.149e-05/0.1703, allocations: 84.95 kB / 0.7717 GB, free: 2.578 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.539e-05/0.1704, allocations: 4.031 kB / 0.7717 GB, free: 2.574 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001812/0.1705, allocations: 23.98 kB / 0.7718 GB, free: 2.551 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.9e-05/0.1706, allocations: 0 / 0.7718 GB, free: 2.551 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.613e-05/0.1706, allocations: 7.984 kB / 0.7718 GB, free: 2.543 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.997e-05/0.1706, allocations: 75.28 kB / 0.7718 GB, free: 2.469 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1706, allocations: 0 / 0.7718 GB, free: 2.469 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000224/0.1709, allocations: 28 kB / 0.7719 GB, free: 2.441 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 (6): * Single equations (assignments): 6 * 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.0001968/0.1711, allocations: 135.3 kB / 0.772 GB, free: 2.301 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003262/0.1714, allocations: 83.92 kB / 0.7721 GB, free: 2.219 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.1714, allocations: 0 / 0.7721 GB, free: 2.219 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001473/0.1716, allocations: 47.89 kB / 0.7721 GB, free: 2.172 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002055/0.1718, allocations: 15.5 kB / 0.7721 GB, free: 2.16 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005911/0.1724, allocations: 154 kB / 0.7723 GB, free: 1.984 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002236/0.1726, allocations: 0.6845 MB / 0.7729 GB, free: 1.273 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001562/0.1728, allocations: 28.27 kB / 0.773 GB, free: 1.246 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.031e-05/0.1728, allocations: 15.42 kB / 0.773 GB, free: 1.23 MB / 0.5606 GB Notification: Performance of SimCode: time 2.21e-07/0.1729, allocations: 0 / 0.773 GB, free: 1.23 MB / 0.5606 GB Notification: Performance of Templates: time 0.309/0.4818, allocations: 1.511 MB / 0.7745 GB, free: 15.22 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1)