Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.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.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure") translateModel(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001413/0.001413, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002258/0.002258, allocations: 192.3 kB / 16.25 MB, free: 6.621 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.442/1.442, allocations: 222.9 MB / 239.9 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.999/0.999, allocations: 135.1 MB / 425.2 MB, free: 11.9 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001288/0.001288, allocations: 60.59 kB / 0.5048 GB, free: 5.668 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1663/0.1676, allocations: 80.93 MB / 0.5839 GB, free: 4.902 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.003161/0.1708, allocations: 1.449 MB / 0.5853 GB, free: 3.438 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001084/0.1719, allocations: 0.6084 MB / 0.5859 GB, free: 2.824 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.268e-05/0.172, allocations: 0 / 0.5859 GB, free: 2.824 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.927e-05/0.172, allocations: 0 / 0.5859 GB, free: 2.824 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.089e-05/0.1721, allocations: 3.938 kB / 0.5859 GB, free: 2.82 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000513/0.1727, allocations: 87.69 kB / 0.586 GB, free: 2.734 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.415e-05/0.1728, allocations: 27.92 kB / 0.586 GB, free: 2.707 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.464e-05/0.1729, allocations: 11.94 kB / 0.586 GB, free: 2.695 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.881e-05/0.1729, allocations: 7.938 kB / 0.586 GB, free: 2.688 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.811e-05/0.173, allocations: 11.98 kB / 0.586 GB, free: 2.676 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.092e-05/0.173, allocations: 0 / 0.586 GB, free: 2.676 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000298/0.1733, allocations: 151.8 kB / 0.5862 GB, free: 2.527 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.027e-05/0.1733, allocations: 0 / 0.5862 GB, free: 2.527 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.028e-05/0.1733, allocations: 15.92 kB / 0.5862 GB, free: 2.512 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002118/0.1736, allocations: 104 kB / 0.5863 GB, free: 2.41 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.167e-06/0.1736, allocations: 0 / 0.5863 GB, free: 2.41 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1736, allocations: 4 kB / 0.5863 GB, free: 2.406 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.1736, allocations: 0 / 0.5863 GB, free: 2.406 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004337/0.174, allocations: 359.4 kB / 0.5866 GB, free: 2.004 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.348e-05/0.1741, allocations: 8.031 kB / 0.5867 GB, free: 1.996 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004408/0.1745, allocations: 28.89 kB / 0.5867 GB, free: 1.969 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001012/0.1746, allocations: 164.4 kB / 0.5868 GB, free: 1.77 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.222e-05/0.1746, allocations: 4.375 kB / 0.5868 GB, free: 1.766 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.172e-05/0.1747, allocations: 384 / 0.5868 GB, free: 1.766 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002332/0.1749, allocations: 70.14 kB / 0.5869 GB, free: 1.691 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.136e-06/0.1749, allocations: 4.125 kB / 0.5869 GB, free: 1.688 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.288e-05/0.1749, allocations: 3.938 kB / 0.5869 GB, free: 1.684 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.1749, allocations: 0 / 0.5869 GB, free: 1.684 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000262/0.1752, allocations: 55.94 kB / 0.587 GB, free: 1.629 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004741/0.1757, allocations: 276.8 kB / 0.5872 GB, free: 1.309 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002277/0.1759, allocations: 62.47 kB / 0.5873 GB, free: 1.238 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001422/0.1761, allocations: 40.83 kB / 0.5873 GB, free: 1.195 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.617e-05/0.1761, allocations: 0 / 0.5873 GB, free: 1.195 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.684e-05/0.1762, allocations: 30.56 kB / 0.5874 GB, free: 1.156 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 9.01e-07/0.1762, allocations: 4 kB / 0.5874 GB, free: 1.152 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0005137/0.1767, allocations: 113.6 kB / 0.5875 GB, free: 1.035 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.825e-05/0.1767, allocations: 51.41 kB / 0.5875 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.887e-05/0.1768, allocations: 97.86 kB / 0.5876 GB, free: 0.8672 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.443e-05/0.1768, allocations: 25.7 kB / 0.5876 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.208e-05/0.1769, allocations: 92.2 kB / 0.5877 GB, free: 0.7422 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.342e-05/0.1769, allocations: 11.89 kB / 0.5877 GB, free: 0.7305 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.359e-05/0.177, allocations: 17.66 kB / 0.5878 GB, free: 0.707 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.912e-05/0.1771, allocations: 310.8 kB / 0.5881 GB, free: 404 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001336/0.1772, allocations: 31.91 kB / 0.5881 GB, free: 372 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001213/0.1773, allocations: 31.97 kB / 0.5881 GB, free: 340 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002461/0.1776, allocations: 60.8 kB / 0.5882 GB, free: 276 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.1776, allocations: 0 / 0.5882 GB, free: 276 kB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003014/0.1779, allocations: 89.64 kB / 0.5883 GB, free: 180 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.1779, allocations: 6.344 kB / 0.5883 GB, free: 176 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.1779, allocations: 0 / 0.5883 GB, free: 176 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.178, allocations: 0 / 0.5883 GB, free: 176 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001386/0.1781, allocations: 15.97 kB / 0.5883 GB, free: 160 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.1781, allocations: 0 / 0.5883 GB, free: 160 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.628e-05/0.1782, allocations: 11.98 kB / 0.5883 GB, free: 148 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.008e-05/0.1782, allocations: 11.95 kB / 0.5883 GB, free: 136 kB / 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 (2): * Single equations (assignments): 2 * 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.224e-05/0.1783, allocations: 113.8 kB / 0.5884 GB, free: 12 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.995e-05/0.1784, allocations: 7.906 kB / 0.5884 GB, free: 4 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.646e-05/0.1784, allocations: 3.125 kB / 0.5884 GB, free: 0 / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.679e-05/0.1784, allocations: 0 / 0.5884 GB, free: 0 / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.674e-06/0.1784, allocations: 4.109 kB / 0.5884 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.1784, allocations: 3.938 kB / 0.5884 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001602/0.1786, allocations: 169.6 kB / 0.5886 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.1786, allocations: 4 kB / 0.5886 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001174/0.1787, allocations: 11.98 kB / 0.5886 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.1788, allocations: 192 / 0.5886 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.083e-05/0.1788, allocations: 0 / 0.5886 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.326e-06/0.1788, allocations: 7.984 kB / 0.5886 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1788, allocations: 0 / 0.5886 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003557/0.1791, allocations: 183.4 kB / 0.5888 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.016e-05/0.1792, allocations: 81.11 kB / 0.5889 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.822e-05/0.1792, allocations: 0 / 0.5889 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001304/0.1794, allocations: 15.92 kB / 0.5889 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.41e-05/0.1794, allocations: 3.984 kB / 0.5889 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.803e-06/0.1794, allocations: 0 / 0.5889 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.676e-05/0.1795, allocations: 83.31 kB / 0.589 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1795, allocations: 0 / 0.589 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000264/0.1797, allocations: 12 kB / 0.589 GB, free: 15.34 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.0001701/0.1799, allocations: 115.1 kB / 0.5891 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003154/0.1802, allocations: 55.94 kB / 0.5891 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1802, allocations: 0 / 0.5891 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001427/0.1804, allocations: 31.95 kB / 0.5892 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002865/0.1807, allocations: 11.88 kB / 0.5892 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004443/0.1811, allocations: 146.5 kB / 0.5893 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002145/0.1814, allocations: 0.6768 MB / 0.59 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 9.538e-05/0.1815, allocations: 8 kB / 0.59 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.091e-05/0.1815, allocations: 15.42 kB / 0.59 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.1815, allocations: 0 / 0.59 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of Templates: time 0.00279/0.1843, allocations: 0.72 MB / 0.5907 GB, free: 13.52 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.sim & ./IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1)