Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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(IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") translateModel(IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.001559/0.001559, allocations: 105.2 kB / 16.41 MB, free: 6.512 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.001532/0.001532, allocations: 189.7 kB / 17.34 MB, free: 5.734 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.404/1.404, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8277/0.8277, allocations: 135.2 MB / 426.4 MB, free: 4.066 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001957/0.001957, allocations: 63.33 kB / 0.5863 GB, free: 21.69 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1554/0.1573, allocations: 80.94 MB / 0.6654 GB, free: 5.738 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.002409/0.1597, allocations: 1.272 MB / 0.6666 GB, free: 4.457 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001087/0.1608, allocations: 0.6399 MB / 0.6673 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.733e-05/0.1608, allocations: 0 / 0.6673 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.143e-05/0.1609, allocations: 3.938 kB / 0.6673 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.822e-05/0.1609, allocations: 7.922 kB / 0.6673 GB, free: 3.801 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004414/0.1613, allocations: 103.6 kB / 0.6674 GB, free: 3.699 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.576e-05/0.1614, allocations: 31.86 kB / 0.6674 GB, free: 3.668 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.38e-05/0.1615, allocations: 3.984 kB / 0.6674 GB, free: 3.664 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.906e-05/0.1615, allocations: 15.92 kB / 0.6674 GB, free: 3.648 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.955e-05/0.1615, allocations: 8 kB / 0.6674 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.199e-05/0.1616, allocations: 3.938 kB / 0.6674 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002879/0.1618, allocations: 143.8 kB / 0.6676 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.463e-05/0.1619, allocations: 7.922 kB / 0.6676 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.168e-05/0.1619, allocations: 4 kB / 0.6676 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001999/0.1621, allocations: 103.7 kB / 0.6677 GB, free: 3.383 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.1621, allocations: 4 kB / 0.6677 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.202e-06/0.1621, allocations: 0 / 0.6677 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.1621, allocations: 4 kB / 0.6677 GB, free: 3.375 MB / 0.4981 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.0005078/0.1626, allocations: 355.2 kB / 0.668 GB, free: 2.977 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.1626, allocations: 13.11 kB / 0.668 GB, free: 2.965 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004021/0.163, allocations: 32.89 kB / 0.6681 GB, free: 2.934 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001402/0.1632, allocations: 164.3 kB / 0.6682 GB, free: 2.734 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.06e-05/0.1632, allocations: 4.375 kB / 0.6682 GB, free: 2.73 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.338e-05/0.1632, allocations: 4.375 kB / 0.6682 GB, free: 2.727 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001808/0.1634, allocations: 54.22 kB / 0.6683 GB, free: 2.668 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.1634, allocations: 192 / 0.6683 GB, free: 2.668 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.446e-05/0.1634, allocations: 7.875 kB / 0.6683 GB, free: 2.66 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-06/0.1634, allocations: 0 / 0.6683 GB, free: 2.66 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001506/0.1636, allocations: 31.97 kB / 0.6683 GB, free: 2.629 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002058/0.1638, allocations: 165.6 kB / 0.6685 GB, free: 2.418 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003403/0.1641, allocations: 70.47 kB / 0.6685 GB, free: 2.34 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.744e-05/0.1642, allocations: 24.94 kB / 0.6686 GB, free: 2.312 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.301e-05/0.1642, allocations: 4 kB / 0.6686 GB, free: 2.309 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.1643, allocations: 30.56 kB / 0.6686 GB, free: 2.27 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.123e-06/0.1643, allocations: 0 / 0.6686 GB, free: 2.27 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.003388/0.1676, allocations: 0.5721 MB / 0.6692 GB, free: 1.645 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.397e-05/0.1677, allocations: 59.39 kB / 0.6692 GB, free: 1.574 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.985e-05/0.1678, allocations: 93.86 kB / 0.6693 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.212e-05/0.1678, allocations: 29.64 kB / 0.6693 GB, free: 1.438 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.819e-05/0.1678, allocations: 80.14 kB / 0.6694 GB, free: 1.355 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.163e-05/0.1679, allocations: 31.73 kB / 0.6694 GB, free: 1.324 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.635e-05/0.1679, allocations: 25.69 kB / 0.6695 GB, free: 1.293 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001606/0.1681, allocations: 323 kB / 0.6698 GB, free: 0.9688 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001455/0.1682, allocations: 35.97 kB / 0.6698 GB, free: 0.9336 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001438/0.1684, allocations: 39.95 kB / 0.6698 GB, free: 0.8945 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002954/0.1687, allocations: 84.81 kB / 0.6699 GB, free: 0.8086 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.32e-07/0.1687, allocations: 0 / 0.6699 GB, free: 0.8086 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003766/0.1691, allocations: 117.6 kB / 0.67 GB, free: 0.6875 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.1691, allocations: 7.938 kB / 0.67 GB, free: 0.6797 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.339e-06/0.1691, allocations: 0 / 0.67 GB, free: 0.6797 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/0.1691, allocations: 3.984 kB / 0.67 GB, free: 0.6758 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002145/0.1693, allocations: 31.91 kB / 0.6701 GB, free: 0.6445 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.1693, allocations: 0 / 0.6701 GB, free: 0.6445 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001487/0.1695, allocations: 4.328 kB / 0.6701 GB, free: 0.6406 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.19e-05/0.1695, allocations: 11.98 kB / 0.6701 GB, free: 0.6289 MB / 0.4981 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 9.252e-05/0.1696, allocations: 105.8 kB / 0.6702 GB, free: 0.5156 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.659e-05/0.1696, allocations: 7.938 kB / 0.6702 GB, free: 0.5078 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.113e-05/0.1697, allocations: 15.95 kB / 0.6702 GB, free: 0.4922 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.1697, allocations: 0 / 0.6702 GB, free: 0.4922 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.1697, allocations: 0 / 0.6702 GB, free: 0.4922 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.1697, allocations: 0 / 0.6702 GB, free: 0.4922 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002049/0.1699, allocations: 203.3 kB / 0.6704 GB, free: 248 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1699, allocations: 0 / 0.6704 GB, free: 248 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002134/0.1701, allocations: 27.97 kB / 0.6704 GB, free: 220 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.1701, allocations: 3.938 kB / 0.6704 GB, free: 216 kB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.749e-05/0.1701, allocations: 3.984 kB / 0.6704 GB, free: 212 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.1701, allocations: 4 kB / 0.6705 GB, free: 208 kB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.1701, allocations: 0 / 0.6705 GB, free: 208 kB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005941/0.1707, allocations: 196.9 kB / 0.6706 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.916e-05/0.1708, allocations: 81.05 kB / 0.6707 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.408e-05/0.1708, allocations: 0 / 0.6707 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001773/0.171, allocations: 16.14 kB / 0.6707 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.02e-05/0.171, allocations: 8 kB / 0.6707 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.566e-05/0.171, allocations: 8.047 kB / 0.6707 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.048e-05/0.1711, allocations: 79.28 kB / 0.6708 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7e-08/0.1711, allocations: 0 / 0.6708 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002537/0.1713, allocations: 35.88 kB / 0.6709 GB, free: 15.75 MB / 0.5137 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.0002292/0.1716, allocations: 123.1 kB / 0.671 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004026/0.172, allocations: 91.95 kB / 0.6711 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.172, allocations: 3.938 kB / 0.6711 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002215/0.1722, allocations: 43.95 kB / 0.6711 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002193/0.1724, allocations: 8 kB / 0.6711 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007146/0.1731, allocations: 191.5 kB / 0.6713 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003492/0.1735, allocations: 0.6768 MB / 0.672 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.531e-05/0.1736, allocations: 23.41 kB / 0.672 GB, free: 14.53 MB / 0.5137 GB Notification: Performance of SimCode: time 4.4e-07/0.1736, allocations: 0 / 0.672 GB, free: 14.53 MB / 0.5137 GB Notification: Performance of Templates: time 0.003716/0.1773, allocations: 1.579 MB / 0.6735 GB, free: 12.96 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & ./IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1)