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.001542/0.001542, allocations: 110.2 kB / 15.99 MB, free: 6.359 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.001823/0.001823, allocations: 191.2 kB / 16.91 MB, free: 6.195 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.222/1.222, allocations: 222.9 MB / 240.6 MB, free: 15.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002009/0.002009, allocations: 284.4 kB / 291 MB, free: 14.65 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8948/0.8948, allocations: 169.2 MB / 0.4985 GB, free: 4.746 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001596/0.001596, allocations: 90.42 kB / 0.5953 GB, free: 15.54 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1485/0.1502, allocations: 86.98 MB / 0.6803 GB, free: 8.578 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.00219/0.1524, allocations: 1.343 MB / 0.6816 GB, free: 7.219 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009271/0.1533, allocations: 0.6326 MB / 0.6822 GB, free: 6.582 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.74e-05/0.1534, allocations: 0 / 0.6822 GB, free: 6.582 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.109e-05/0.1534, allocations: 0 / 0.6822 GB, free: 6.582 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.408e-05/0.1535, allocations: 7.922 kB / 0.6822 GB, free: 6.574 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004106/0.1539, allocations: 99.62 kB / 0.6823 GB, free: 6.477 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.278e-05/0.1539, allocations: 27.88 kB / 0.6823 GB, free: 6.449 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.042e-05/0.154, allocations: 7.984 kB / 0.6824 GB, free: 6.441 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.156e-05/0.154, allocations: 4 kB / 0.6824 GB, free: 6.438 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.501e-05/0.1541, allocations: 19.91 kB / 0.6824 GB, free: 6.418 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.188e-05/0.1541, allocations: 4 kB / 0.6824 GB, free: 6.414 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002313/0.1543, allocations: 143.7 kB / 0.6825 GB, free: 6.273 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.111e-05/0.1543, allocations: 3.984 kB / 0.6825 GB, free: 6.27 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.193e-05/0.1544, allocations: 15.98 kB / 0.6825 GB, free: 6.254 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001254/0.1545, allocations: 64.08 kB / 0.6826 GB, free: 6.191 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.1545, allocations: 8 kB / 0.6826 GB, free: 6.184 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1545, allocations: 4 kB / 0.6826 GB, free: 6.18 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.729e-06/0.1545, allocations: 0 / 0.6826 GB, free: 6.18 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004342/0.155, allocations: 347.5 kB / 0.6829 GB, free: 5.789 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.998e-05/0.155, allocations: 12.03 kB / 0.683 GB, free: 5.777 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004187/0.1555, allocations: 24.91 kB / 0.683 GB, free: 5.754 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001003/0.1556, allocations: 164.4 kB / 0.6831 GB, free: 5.555 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.079e-05/0.1556, allocations: 384 / 0.6831 GB, free: 5.555 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.555e-05/0.1556, allocations: 16.2 kB / 0.6832 GB, free: 5.539 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00016/0.1558, allocations: 58.22 kB / 0.6832 GB, free: 5.477 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.302e-06/0.1558, allocations: 192 / 0.6832 GB, free: 5.477 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.373e-05/0.1558, allocations: 3.938 kB / 0.6832 GB, free: 5.473 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.1558, allocations: 0 / 0.6832 GB, free: 5.473 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001294/0.156, allocations: 31.97 kB / 0.6832 GB, free: 5.441 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001537/0.1561, allocations: 157.7 kB / 0.6834 GB, free: 5.238 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002862/0.1564, allocations: 70.52 kB / 0.6835 GB, free: 5.16 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.775e-05/0.1565, allocations: 28.94 kB / 0.6835 GB, free: 5.129 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.873e-05/0.1565, allocations: 0 / 0.6835 GB, free: 5.129 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.073e-05/0.1566, allocations: 42.55 kB / 0.6835 GB, free: 5.078 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 8.22e-07/0.1566, allocations: 0 / 0.6835 GB, free: 5.078 MB / 494.1 MB Notification: Performance of matching and sorting (n=6): time 0.003462/0.16, allocations: 0.5836 MB / 0.6841 GB, free: 4.441 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.301e-05/0.1601, allocations: 55.41 kB / 0.6841 GB, free: 4.375 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.356e-05/0.1601, allocations: 89.86 kB / 0.6842 GB, free: 4.277 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.009e-05/0.1602, allocations: 29.64 kB / 0.6843 GB, free: 4.242 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.035e-05/0.1602, allocations: 88.14 kB / 0.6843 GB, free: 4.152 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.407e-05/0.1602, allocations: 15.7 kB / 0.6844 GB, free: 4.137 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.543e-05/0.1603, allocations: 25.83 kB / 0.6844 GB, free: 4.105 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.785e-05/0.1604, allocations: 322.8 kB / 0.6847 GB, free: 3.781 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00013/0.1605, allocations: 35.97 kB / 0.6847 GB, free: 3.746 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001212/0.1607, allocations: 35.91 kB / 0.6848 GB, free: 3.711 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002504/0.1609, allocations: 88.81 kB / 0.6848 GB, free: 3.621 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.1609, allocations: 0 / 0.6848 GB, free: 3.621 MB / 494.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003185/0.1613, allocations: 121.8 kB / 0.685 GB, free: 3.496 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.1613, allocations: 7.938 kB / 0.685 GB, free: 3.488 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.1613, allocations: 4 kB / 0.685 GB, free: 3.484 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.1613, allocations: 4 kB / 0.685 GB, free: 3.48 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002198/0.1615, allocations: 23.97 kB / 0.685 GB, free: 3.457 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.1616, allocations: 3.938 kB / 0.685 GB, free: 3.453 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001531/0.1617, allocations: 7.984 kB / 0.685 GB, free: 3.445 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.605e-05/0.1617, allocations: 4 kB / 0.685 GB, free: 3.441 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 (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 7.61e-05/0.1618, allocations: 109.8 kB / 0.6851 GB, free: 3.324 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.59e-05/0.1618, allocations: 15.92 kB / 0.6851 GB, free: 3.309 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.031e-05/0.1619, allocations: 7.969 kB / 0.6851 GB, free: 3.297 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.1619, allocations: 4 kB / 0.6851 GB, free: 3.293 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.1619, allocations: 0 / 0.6851 GB, free: 3.293 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.1619, allocations: 0 / 0.6851 GB, free: 3.293 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001466/0.1621, allocations: 183.7 kB / 0.6853 GB, free: 3.07 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.1621, allocations: 4 kB / 0.6853 GB, free: 3.066 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002222/0.1623, allocations: 19.97 kB / 0.6853 GB, free: 3.047 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-06/0.1623, allocations: 3.938 kB / 0.6854 GB, free: 3.043 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.74e-05/0.1624, allocations: 7.984 kB / 0.6854 GB, free: 3.035 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.1624, allocations: 0 / 0.6854 GB, free: 3.035 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.1624, allocations: 0 / 0.6854 GB, free: 3.035 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004984/0.1629, allocations: 196.9 kB / 0.6855 GB, free: 2.824 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.017e-05/0.1629, allocations: 89.08 kB / 0.6856 GB, free: 2.719 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.574e-05/0.163, allocations: 4 kB / 0.6856 GB, free: 2.715 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002073/0.1632, allocations: 12.05 kB / 0.6856 GB, free: 2.703 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.286e-05/0.1632, allocations: 7.938 kB / 0.6857 GB, free: 2.695 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.707e-05/0.1632, allocations: 7.984 kB / 0.6857 GB, free: 2.688 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.794e-05/0.1632, allocations: 75.28 kB / 0.6857 GB, free: 2.613 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1633, allocations: 0 / 0.6857 GB, free: 2.613 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002344/0.1635, allocations: 39.92 kB / 0.6858 GB, free: 2.574 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 (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.0002063/0.1637, allocations: 123.2 kB / 0.6859 GB, free: 2.445 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003128/0.164, allocations: 91.95 kB / 0.686 GB, free: 2.355 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.164, allocations: 0 / 0.686 GB, free: 2.355 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001423/0.1642, allocations: 47.95 kB / 0.686 GB, free: 2.309 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000234/0.1644, allocations: 8.953 kB / 0.686 GB, free: 2.301 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006346/0.1651, allocations: 203.7 kB / 0.6862 GB, free: 2.066 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000203/0.1653, allocations: 0.6845 MB / 0.6869 GB, free: 1.355 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.102e-05/0.1654, allocations: 19.41 kB / 0.6869 GB, free: 1.336 MB / 494.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1654, allocations: 4 kB / 0.6869 GB, free: 1.332 MB / 494.1 MB Notification: Performance of Templates: time 0.2394/0.4048, allocations: 1.566 MB / 0.6884 GB, free: 17.62 MB / 494.1 MB 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)