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.001119/0.001118, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00162/0.00162, allocations: 198.5 kB / 16.54 MB, free: 6.672 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.41/1.41, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.97/0.97, allocations: 135.1 MB / 425.5 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001338/0.001338, allocations: 60.03 kB / 0.5053 GB, free: 5.32 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1615/0.1628, allocations: 80.93 MB / 0.5844 GB, free: 4.543 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.002666/0.1655, allocations: 1.394 MB / 0.5857 GB, free: 3.133 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.000951/0.1665, allocations: 0.5982 MB / 0.5863 GB, free: 2.531 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.16e-05/0.1666, allocations: 4 kB / 0.5863 GB, free: 2.527 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.61e-05/0.1666, allocations: 0 / 0.5863 GB, free: 2.527 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.824e-05/0.1667, allocations: 3.938 kB / 0.5863 GB, free: 2.523 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004466/0.1671, allocations: 103.5 kB / 0.5864 GB, free: 2.422 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.225e-05/0.1672, allocations: 23.94 kB / 0.5864 GB, free: 2.398 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.196e-05/0.1673, allocations: 3.984 kB / 0.5864 GB, free: 2.395 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.436e-05/0.1674, allocations: 11.94 kB / 0.5865 GB, free: 2.383 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.702e-05/0.1674, allocations: 11.92 kB / 0.5865 GB, free: 2.371 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.251e-05/0.1674, allocations: 4 kB / 0.5865 GB, free: 2.367 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002878/0.1677, allocations: 143.8 kB / 0.5866 GB, free: 2.227 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.367e-05/0.1677, allocations: 4 kB / 0.5866 GB, free: 2.223 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.47e-05/0.1678, allocations: 11.94 kB / 0.5866 GB, free: 2.211 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000231/0.168, allocations: 104 kB / 0.5867 GB, free: 2.109 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.71e-06/0.168, allocations: 4 kB / 0.5867 GB, free: 2.105 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.168, allocations: 0 / 0.5867 GB, free: 2.105 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.98e-06/0.168, allocations: 0 / 0.5867 GB, free: 2.105 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.0004876/0.1685, allocations: 351.4 kB / 0.5871 GB, free: 1.711 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/0.1686, allocations: 12.03 kB / 0.5871 GB, free: 1.699 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004612/0.1691, allocations: 32.89 kB / 0.5871 GB, free: 1.668 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001251/0.1692, allocations: 164.4 kB / 0.5873 GB, free: 1.469 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.462e-05/0.1692, allocations: 8.312 kB / 0.5873 GB, free: 1.461 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.597e-05/0.1692, allocations: 4.375 kB / 0.5873 GB, free: 1.457 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002373/0.1695, allocations: 66.14 kB / 0.5873 GB, free: 1.387 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.1695, allocations: 192 / 0.5873 GB, free: 1.387 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.416e-05/0.1695, allocations: 3.938 kB / 0.5873 GB, free: 1.383 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.1695, allocations: 4 kB / 0.5873 GB, free: 1.379 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002717/0.1698, allocations: 51.94 kB / 0.5874 GB, free: 1.328 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004764/0.1703, allocations: 276.8 kB / 0.5877 GB, free: 1.008 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002282/0.1705, allocations: 66.41 kB / 0.5877 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001353/0.1707, allocations: 32.89 kB / 0.5878 GB, free: 0.8984 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.296e-05/0.1707, allocations: 0 / 0.5878 GB, free: 0.8984 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.094e-05/0.1707, allocations: 38.5 kB / 0.5878 GB, free: 0.8516 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.1707, allocations: 0 / 0.5878 GB, free: 0.8516 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0005232/0.1713, allocations: 113.6 kB / 0.5879 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.936e-05/0.1713, allocations: 55.47 kB / 0.588 GB, free: 0.668 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.51e-05/0.1714, allocations: 101.8 kB / 0.5881 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.295e-05/0.1714, allocations: 25.7 kB / 0.5881 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.367e-05/0.1715, allocations: 88.08 kB / 0.5882 GB, free: 448 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.163e-05/0.1715, allocations: 7.906 kB / 0.5882 GB, free: 440 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.878e-05/0.1716, allocations: 13.7 kB / 0.5882 GB, free: 420 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.424e-05/0.1717, allocations: 318.8 kB / 0.5885 GB, free: 92 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000133/0.1718, allocations: 27.97 kB / 0.5885 GB, free: 64 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001237/0.1719, allocations: 27.97 kB / 0.5885 GB, free: 36 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002592/0.1722, allocations: 48.89 kB / 0.5886 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.1722, allocations: 4 kB / 0.5886 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000311/0.1725, allocations: 101.6 kB / 0.5887 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.1726, allocations: 4 kB / 0.5887 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.1726, allocations: 0 / 0.5887 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.1726, allocations: 192 / 0.5887 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001334/0.1727, allocations: 11.98 kB / 0.5887 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.1727, allocations: 4.031 kB / 0.5887 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.328e-05/0.1728, allocations: 11.98 kB / 0.5887 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.264e-05/0.1729, allocations: 7.984 kB / 0.5887 GB, free: 15.83 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 (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.317e-05/0.1729, allocations: 109.8 kB / 0.5888 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.787e-05/0.173, allocations: 11.89 kB / 0.5888 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.336e-05/0.173, allocations: 3.125 kB / 0.5888 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.173, allocations: 7.938 kB / 0.5889 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.173, allocations: 0 / 0.5889 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.1731, allocations: 0 / 0.5889 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001608/0.1732, allocations: 169.6 kB / 0.589 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.1732, allocations: 0 / 0.589 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000113/0.1733, allocations: 15.97 kB / 0.589 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.1734, allocations: 0 / 0.589 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.646e-06/0.1734, allocations: 0 / 0.589 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.1734, allocations: 0 / 0.589 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1734, allocations: 0 / 0.589 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003511/0.1737, allocations: 195.4 kB / 0.5892 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.705e-05/0.1738, allocations: 77.11 kB / 0.5893 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.707e-05/0.1738, allocations: 0 / 0.5893 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000121/0.1739, allocations: 12.02 kB / 0.5893 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.437e-05/0.174, allocations: 4 kB / 0.5893 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.76e-06/0.174, allocations: 0 / 0.5893 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.717e-05/0.174, allocations: 87.27 kB / 0.5894 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.174, allocations: 3.938 kB / 0.5894 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00025/0.1743, allocations: 12 kB / 0.5894 GB, free: 15.04 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.0001732/0.1745, allocations: 107.2 kB / 0.5895 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003186/0.1748, allocations: 59.94 kB / 0.5896 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.1748, allocations: 0 / 0.5896 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001405/0.1749, allocations: 31.91 kB / 0.5896 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003096/0.1753, allocations: 11.94 kB / 0.5896 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004924/0.1758, allocations: 142.5 kB / 0.5897 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002369/0.176, allocations: 0.6768 MB / 0.5904 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.319e-05/0.1761, allocations: 4 kB / 0.5904 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.917e-05/0.1762, allocations: 19.44 kB / 0.5904 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.1762, allocations: 0 / 0.5904 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of Templates: time 0.003202/0.1794, allocations: 0.7823 MB / 0.5912 GB, free: 13.16 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)