Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/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(Annex60.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-10,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") translateModel(Annex60.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-10,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.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.008695/0.008696, allocations: 101.7 kB / 15.73 MB, free: 6.059 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.00147/0.00147, allocations: 188.8 kB / 16.67 MB, free: 5.969 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.495/1.495, allocations: 205.1 MB / 222.5 MB, free: 4.516 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.5257/0.5257, allocations: 54.95 MB / 324.8 MB, free: 15.89 MB / 270.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: Annex60 requested package Modelica of version 3.2.2. 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.001659/0.001659, allocations: 69.81 kB / 456.2 MB, free: 38.19 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1589/0.1605, allocations: 59.59 MB / 0.5037 GB, free: 9.648 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.00209/0.1627, allocations: 1.267 MB / 0.505 GB, free: 8.652 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009117/0.1636, allocations: 0.6182 MB / 0.5056 GB, free: 8.164 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.987e-05/0.1636, allocations: 4 kB / 0.5056 GB, free: 8.16 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.262e-05/0.1637, allocations: 0 / 0.5056 GB, free: 8.16 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.622e-05/0.1637, allocations: 5.312 kB / 0.5056 GB, free: 8.156 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004594/0.1642, allocations: 115.1 kB / 0.5057 GB, free: 8.074 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 7.164e-05/0.1643, allocations: 24.3 kB / 0.5057 GB, free: 8.062 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.359e-05/0.1643, allocations: 1.375 kB / 0.5057 GB, free: 8.062 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.092e-05/0.1644, allocations: 14.86 kB / 0.5057 GB, free: 8.055 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.403e-05/0.1644, allocations: 8.062 kB / 0.5057 GB, free: 8.051 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.572e-05/0.1645, allocations: 9.359 kB / 0.5058 GB, free: 8.043 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000273/0.1647, allocations: 139.3 kB / 0.5059 GB, free: 7.977 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.495e-05/0.1648, allocations: 5.359 kB / 0.5059 GB, free: 7.973 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.888e-05/0.1648, allocations: 16.05 kB / 0.5059 GB, free: 7.961 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002139/0.165, allocations: 103.6 kB / 0.506 GB, free: 7.902 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.165, allocations: 0 / 0.506 GB, free: 7.902 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.165, allocations: 0 / 0.506 GB, free: 7.902 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.463e-06/0.1651, allocations: 1.375 kB / 0.506 GB, free: 7.902 MB / 382.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.0004482/0.1655, allocations: 353.1 kB / 0.5063 GB, free: 7.527 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.367e-05/0.1656, allocations: 13.62 kB / 0.5064 GB, free: 7.523 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003939/0.166, allocations: 29.39 kB / 0.5064 GB, free: 7.512 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.901e-05/0.166, allocations: 164.3 kB / 0.5065 GB, free: 7.312 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.328e-05/0.1661, allocations: 5.75 kB / 0.5065 GB, free: 7.309 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.823e-05/0.1661, allocations: 7.125 kB / 0.5066 GB, free: 7.305 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001755/0.1663, allocations: 60.78 kB / 0.5066 GB, free: 7.25 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.1663, allocations: 0 / 0.5066 GB, free: 7.25 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.441e-05/0.1663, allocations: 0 / 0.5066 GB, free: 7.25 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.663e-06/0.1663, allocations: 1.375 kB / 0.5066 GB, free: 7.25 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001411/0.1665, allocations: 31.03 kB / 0.5066 GB, free: 7.234 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001601/0.1666, allocations: 171.1 kB / 0.5068 GB, free: 7.023 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003092/0.167, allocations: 67.41 kB / 0.5069 GB, free: 6.977 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.281e-05/0.167, allocations: 29.31 kB / 0.5069 GB, free: 6.957 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.459e-05/0.1671, allocations: 0 / 0.5069 GB, free: 6.957 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.846e-05/0.1671, allocations: 35.88 kB / 0.5069 GB, free: 6.914 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.1671, allocations: 0 / 0.5069 GB, free: 6.914 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.003112/0.1702, allocations: 0.57 MB / 0.5075 GB, free: 6.477 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.221e-05/0.1703, allocations: 52.62 kB / 0.5075 GB, free: 6.414 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.601e-05/0.1703, allocations: 104.2 kB / 0.5076 GB, free: 6.305 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.454e-05/0.1704, allocations: 27.08 kB / 0.5077 GB, free: 6.273 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.829e-05/0.1704, allocations: 80.14 kB / 0.5077 GB, free: 6.191 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.197e-05/0.1704, allocations: 26.33 kB / 0.5078 GB, free: 6.168 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.561e-05/0.1705, allocations: 29.5 kB / 0.5078 GB, free: 6.141 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.948e-05/0.1705, allocations: 310.8 kB / 0.5081 GB, free: 5.828 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001363/0.1707, allocations: 33.97 kB / 0.5081 GB, free: 5.812 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001275/0.1708, allocations: 42.72 kB / 0.5082 GB, free: 5.789 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002732/0.1711, allocations: 83.39 kB / 0.5082 GB, free: 5.742 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.1711, allocations: 0.9688 kB / 0.5082 GB, free: 5.742 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003356/0.1715, allocations: 132.5 kB / 0.5084 GB, free: 5.652 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.1715, allocations: 5.75 kB / 0.5084 GB, free: 5.652 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.1715, allocations: 0 / 0.5084 GB, free: 5.652 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.738e-05/0.1715, allocations: 5.172 kB / 0.5084 GB, free: 5.648 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000199/0.1717, allocations: 22.66 kB / 0.5084 GB, free: 5.641 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.1717, allocations: 0 / 0.5084 GB, free: 5.641 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001315/0.1719, allocations: 8.25 kB / 0.5084 GB, free: 5.637 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.639e-05/0.1719, allocations: 6.297 kB / 0.5084 GB, free: 5.633 MB / 382.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 6.62e-05/0.172, allocations: 112.5 kB / 0.5085 GB, free: 5.516 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.274e-05/0.172, allocations: 9.531 kB / 0.5085 GB, free: 5.508 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.353e-05/0.1721, allocations: 17.25 kB / 0.5085 GB, free: 5.488 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.1721, allocations: 1.125 kB / 0.5085 GB, free: 5.488 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.1721, allocations: 5.203 kB / 0.5086 GB, free: 5.484 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.1721, allocations: 3.938 kB / 0.5086 GB, free: 5.48 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001267/0.1722, allocations: 197.9 kB / 0.5087 GB, free: 5.246 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.1722, allocations: 1.25 kB / 0.5087 GB, free: 5.246 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002042/0.1724, allocations: 21.34 kB / 0.5088 GB, free: 5.238 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.1724, allocations: 1.219 kB / 0.5088 GB, free: 5.238 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.67e-05/0.1725, allocations: 5.078 kB / 0.5088 GB, free: 5.234 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.1725, allocations: 8.906 kB / 0.5088 GB, free: 5.227 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.1725, allocations: 0 / 0.5088 GB, free: 5.227 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005086/0.173, allocations: 195.1 kB / 0.509 GB, free: 5.086 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.493e-05/0.173, allocations: 78.55 kB / 0.509 GB, free: 4.992 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.517e-05/0.1731, allocations: 0 / 0.509 GB, free: 4.992 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000169/0.1732, allocations: 11.02 kB / 0.5091 GB, free: 4.988 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.051e-05/0.1733, allocations: 3 kB / 0.5091 GB, free: 4.988 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.891e-05/0.1733, allocations: 13.48 kB / 0.5091 GB, free: 4.977 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.486e-05/0.1733, allocations: 81.5 kB / 0.5091 GB, free: 4.898 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1733, allocations: 160 / 0.5091 GB, free: 4.898 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002591/0.1736, allocations: 35.31 kB / 0.5092 GB, free: 4.887 MB / 382.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.0002111/0.1738, allocations: 127.6 kB / 0.5093 GB, free: 4.785 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003489/0.1742, allocations: 88.98 kB / 0.5094 GB, free: 4.742 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.1742, allocations: 4 kB / 0.5094 GB, free: 4.738 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001481/0.1743, allocations: 48.61 kB / 0.5094 GB, free: 4.715 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002799/0.1746, allocations: 10.78 kB / 0.5094 GB, free: 4.707 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006902/0.1753, allocations: 165.6 kB / 0.5096 GB, free: 4.551 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001626/0.1755, allocations: 0.6768 MB / 0.5103 GB, free: 3.848 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001526/0.1757, allocations: 27.94 kB / 0.5103 GB, free: 3.82 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.971e-05/0.1757, allocations: 19.42 kB / 0.5103 GB, free: 3.801 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1757, allocations: 0 / 0.5103 GB, free: 3.801 MB / 382.1 MB Notification: Performance of Templates: time 0.003588/0.1793, allocations: 1.502 MB / 0.5118 GB, free: 2.34 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.makefile (rm -f Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & ./Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1)