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.006283/0.006283, allocations: 101.3 kB / 15.73 MB, free: 6.039 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.001252/0.001252, allocations: 200.1 kB / 16.67 MB, free: 5.977 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.567/1.567, 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/Annex60 1.0.0/package.mo): time 0.3928/0.3928, allocations: 54.94 MB / 324.8 MB, free: 124 kB / 254.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.001504/0.001504, allocations: 70.25 kB / 456.3 MB, free: 38.22 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1514/0.1529, allocations: 59.58 MB / 0.5038 GB, free: 9.848 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.002235/0.1552, allocations: 1.279 MB / 0.505 GB, free: 8.84 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001017/0.1563, allocations: 0.6209 MB / 0.5056 GB, free: 8.348 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.471e-05/0.1563, allocations: 1.375 kB / 0.5056 GB, free: 8.348 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.197e-05/0.1563, allocations: 0 / 0.5056 GB, free: 8.348 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.852e-05/0.1564, allocations: 3.938 kB / 0.5056 GB, free: 8.344 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004474/0.1568, allocations: 112.5 kB / 0.5057 GB, free: 8.266 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.612e-05/0.1569, allocations: 26.86 kB / 0.5057 GB, free: 8.25 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.767e-05/0.157, allocations: 2.75 kB / 0.5058 GB, free: 8.25 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.612e-05/0.157, allocations: 9.484 kB / 0.5058 GB, free: 8.246 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.561e-05/0.1571, allocations: 16.05 kB / 0.5058 GB, free: 8.234 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.437e-05/0.1571, allocations: 1.375 kB / 0.5058 GB, free: 8.234 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002659/0.1574, allocations: 143.2 kB / 0.5059 GB, free: 8.164 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.515e-05/0.1574, allocations: 9.359 kB / 0.5059 GB, free: 8.156 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.787e-05/0.1574, allocations: 15.98 kB / 0.5059 GB, free: 8.145 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000211/0.1576, allocations: 95.83 kB / 0.506 GB, free: 8.094 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.1577, allocations: 0 / 0.506 GB, free: 8.094 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1577, allocations: 1.375 kB / 0.506 GB, free: 8.094 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.493e-06/0.1577, allocations: 0 / 0.506 GB, free: 8.094 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.0004878/0.1582, allocations: 353.3 kB / 0.5064 GB, free: 7.719 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.1582, allocations: 9.562 kB / 0.5064 GB, free: 7.719 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004296/0.1587, allocations: 32.66 kB / 0.5064 GB, free: 7.703 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.092e-05/0.1587, allocations: 169.6 kB / 0.5066 GB, free: 7.5 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.31e-05/0.1588, allocations: 1.656 kB / 0.5066 GB, free: 7.5 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.883e-05/0.1588, allocations: 2.094 kB / 0.5066 GB, free: 7.5 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001719/0.159, allocations: 60.97 kB / 0.5066 GB, free: 7.445 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.667e-06/0.159, allocations: 0.8438 kB / 0.5066 GB, free: 7.445 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.379e-05/0.159, allocations: 0 / 0.5066 GB, free: 7.445 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.159, allocations: 1.094 kB / 0.5066 GB, free: 7.445 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001409/0.1592, allocations: 34.56 kB / 0.5067 GB, free: 7.426 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001652/0.1593, allocations: 160.6 kB / 0.5068 GB, free: 7.227 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003463/0.1597, allocations: 71.11 kB / 0.5069 GB, free: 7.176 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.69e-05/0.1598, allocations: 23.72 kB / 0.5069 GB, free: 7.16 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.185e-05/0.1598, allocations: 9.172 kB / 0.5069 GB, free: 7.152 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2e-05/0.1598, allocations: 39.8 kB / 0.507 GB, free: 7.105 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.313e-06/0.1599, allocations: 0 / 0.507 GB, free: 7.105 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.003397/0.1633, allocations: 0.5629 MB / 0.5075 GB, free: 6.676 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.281e-05/0.1633, allocations: 56.81 kB / 0.5076 GB, free: 6.609 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.094e-05/0.1634, allocations: 96.53 kB / 0.5077 GB, free: 6.508 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.995e-05/0.1634, allocations: 25.7 kB / 0.5077 GB, free: 6.477 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.119e-05/0.1634, allocations: 81.55 kB / 0.5078 GB, free: 6.395 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.367e-05/0.1635, allocations: 26.06 kB / 0.5078 GB, free: 6.371 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.79e-05/0.1635, allocations: 27.59 kB / 0.5078 GB, free: 6.344 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.312e-05/0.1636, allocations: 316.1 kB / 0.5081 GB, free: 6.027 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001485/0.1638, allocations: 37.81 kB / 0.5081 GB, free: 6.008 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001363/0.1639, allocations: 38.39 kB / 0.5082 GB, free: 5.988 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003007/0.1642, allocations: 88.25 kB / 0.5083 GB, free: 5.938 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.1642, allocations: 0 / 0.5083 GB, free: 5.938 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003506/0.1646, allocations: 125.7 kB / 0.5084 GB, free: 5.855 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/0.1646, allocations: 5.125 kB / 0.5084 GB, free: 5.855 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.1646, allocations: 0 / 0.5084 GB, free: 5.855 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.967e-05/0.1647, allocations: 1.938 kB / 0.5084 GB, free: 5.855 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002188/0.1649, allocations: 25.38 kB / 0.5084 GB, free: 5.844 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.1649, allocations: 0 / 0.5084 GB, free: 5.844 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001453/0.165, allocations: 13.36 kB / 0.5084 GB, free: 5.836 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.654e-05/0.1651, allocations: 5.219 kB / 0.5084 GB, free: 5.832 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 7.611e-05/0.1652, allocations: 120.5 kB / 0.5085 GB, free: 5.707 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.544e-05/0.1652, allocations: 9.438 kB / 0.5086 GB, free: 5.699 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.782e-05/0.1653, allocations: 9.469 kB / 0.5086 GB, free: 5.688 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.1653, allocations: 1.438 kB / 0.5086 GB, free: 5.688 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.471e-06/0.1653, allocations: 4 kB / 0.5086 GB, free: 5.684 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.1653, allocations: 0 / 0.5086 GB, free: 5.684 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001389/0.1654, allocations: 198.7 kB / 0.5088 GB, free: 5.449 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.1654, allocations: 0 / 0.5088 GB, free: 5.449 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000224/0.1657, allocations: 22.41 kB / 0.5088 GB, free: 5.441 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.544e-06/0.1657, allocations: 1.344 kB / 0.5088 GB, free: 5.441 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.811e-05/0.1657, allocations: 5.109 kB / 0.5088 GB, free: 5.438 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.1657, allocations: 0 / 0.5088 GB, free: 5.438 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.1657, allocations: 1.531 kB / 0.5088 GB, free: 5.438 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005465/0.1663, allocations: 195.2 kB / 0.509 GB, free: 5.27 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.555e-05/0.1663, allocations: 81.02 kB / 0.5091 GB, free: 5.172 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.635e-05/0.1663, allocations: 3.984 kB / 0.5091 GB, free: 5.168 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001798/0.1665, allocations: 16.09 kB / 0.5091 GB, free: 5.152 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.273e-05/0.1666, allocations: 7.984 kB / 0.5091 GB, free: 5.145 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.279e-05/0.1666, allocations: 0 / 0.5091 GB, free: 5.145 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.096e-05/0.1666, allocations: 79.28 kB / 0.5092 GB, free: 5.066 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1666, allocations: 0 / 0.5092 GB, free: 5.066 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002677/0.1669, allocations: 39.98 kB / 0.5092 GB, free: 5.027 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.0002254/0.1671, allocations: 135.2 kB / 0.5093 GB, free: 4.887 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003645/0.1675, allocations: 83.92 kB / 0.5094 GB, free: 4.805 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.1675, allocations: 0 / 0.5094 GB, free: 4.805 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001452/0.1676, allocations: 51.89 kB / 0.5095 GB, free: 4.754 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003241/0.168, allocations: 20.06 kB / 0.5095 GB, free: 4.734 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007136/0.1687, allocations: 158.2 kB / 0.5096 GB, free: 4.555 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001674/0.1689, allocations: 0.6768 MB / 0.5103 GB, free: 3.852 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001539/0.169, allocations: 27.98 kB / 0.5103 GB, free: 3.824 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.351e-05/0.1691, allocations: 19.36 kB / 0.5103 GB, free: 3.805 MB / 382.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1691, allocations: 0 / 0.5103 GB, free: 3.805 MB / 382.1 MB Notification: Performance of Templates: time 0.004499/0.1736, allocations: 1.518 MB / 0.5118 GB, free: 2.328 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)