Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.Functions.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.Functions.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure") translateModel(IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009063/0.0009064, allocations: 98.69 kB / 15.05 MB, free: 1.105 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.0008869/0.0008868, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.219/1.219, allocations: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8331/0.8331, allocations: 135.2 MB / 426.2 MB, free: 14.3 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002905/0.0002906, allocations: 8.5 kB / 0.5068 GB, free: 5.262 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1609/0.1612, allocations: 82.31 MB / 0.5872 GB, free: 3.129 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.001172/0.1624, allocations: 0.9823 MB / 0.5882 GB, free: 2.133 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.000741/0.1631, allocations: 0.5114 MB / 0.5887 GB, free: 1.621 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.641e-05/0.1632, allocations: 4 kB / 0.5887 GB, free: 1.617 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.094e-05/0.1632, allocations: 0 / 0.5887 GB, free: 1.617 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.501e-05/0.1632, allocations: 11.92 kB / 0.5887 GB, free: 1.605 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002914/0.1635, allocations: 83.73 kB / 0.5888 GB, free: 1.523 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.487e-05/0.1636, allocations: 11.97 kB / 0.5888 GB, free: 1.512 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.183e-05/0.1636, allocations: 4 kB / 0.5888 GB, free: 1.508 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.858e-05/0.1637, allocations: 7.938 kB / 0.5888 GB, free: 1.5 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.83e-05/0.1637, allocations: 15.92 kB / 0.5888 GB, free: 1.484 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.017e-05/0.1638, allocations: 4 kB / 0.5888 GB, free: 1.48 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002573/0.164, allocations: 151.8 kB / 0.5889 GB, free: 1.332 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.286e-06/0.164, allocations: 3.938 kB / 0.5889 GB, free: 1.328 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.659e-05/0.1641, allocations: 29.7 kB / 0.589 GB, free: 1.293 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001234/0.1642, allocations: 60.16 kB / 0.589 GB, free: 1.234 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.1642, allocations: 0 / 0.589 GB, free: 1.234 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1642, allocations: 0 / 0.589 GB, free: 1.234 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.228e-06/0.1642, allocations: 0 / 0.589 GB, free: 1.234 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003238/0.1646, allocations: 347.2 kB / 0.5894 GB, free: 0.8477 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.235e-05/0.1646, allocations: 16.03 kB / 0.5894 GB, free: 0.832 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003804/0.165, allocations: 23.97 kB / 0.5894 GB, free: 0.8086 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001296/0.1651, allocations: 163 kB / 0.5896 GB, free: 0.6094 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.035e-05/0.1651, allocations: 0 / 0.5896 GB, free: 0.6094 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.672e-05/0.1652, allocations: 0 / 0.5896 GB, free: 0.6094 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001579/0.1653, allocations: 53.59 kB / 0.5896 GB, free: 0.5508 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.1653, allocations: 4 kB / 0.5896 GB, free: 0.5469 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.1654, allocations: 0 / 0.5896 GB, free: 0.5469 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.89e-06/0.1654, allocations: 4 kB / 0.5896 GB, free: 0.543 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001176/0.1655, allocations: 27.91 kB / 0.5896 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001776/0.1657, allocations: 165.6 kB / 0.5898 GB, free: 312 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001481/0.1658, allocations: 42.55 kB / 0.5898 GB, free: 260 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.999e-05/0.1659, allocations: 0 / 0.5898 GB, free: 260 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.344e-05/0.1659, allocations: 30.56 kB / 0.5899 GB, free: 220 kB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 7.31e-07/0.1659, allocations: 4.062 kB / 0.5899 GB, free: 216 kB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003066/0.1662, allocations: 73.69 kB / 0.5899 GB, free: 136 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.57e-05/0.1663, allocations: 51.41 kB / 0.59 GB, free: 72 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001008/0.1664, allocations: 97.86 kB / 0.5901 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.864e-05/0.1664, allocations: 25.7 kB / 0.5901 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.614e-05/0.1664, allocations: 84.14 kB / 0.5902 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.561e-05/0.1665, allocations: 3.906 kB / 0.5902 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.53e-06/0.1665, allocations: 0 / 0.5902 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000135/0.1666, allocations: 322.8 kB / 0.5905 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.21e-05/0.1667, allocations: 12.03 kB / 0.5905 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.132e-05/0.1667, allocations: 11.98 kB / 0.5905 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.508e-05/0.1668, allocations: 15.98 kB / 0.5905 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.1668, allocations: 0 / 0.5905 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000158/0.167, allocations: 57.61 kB / 0.5906 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.167, allocations: 12.09 kB / 0.5906 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.167, allocations: 0 / 0.5906 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.167, allocations: 0 / 0.5906 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001003/0.1672, allocations: 11.92 kB / 0.5906 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.1672, allocations: 0 / 0.5906 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.667e-05/0.1672, allocations: 4 kB / 0.5906 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.746e-06/0.1672, allocations: 3.984 kB / 0.5906 GB, free: 15.39 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.651e-05/0.1673, allocations: 113.7 kB / 0.5907 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.39e-05/0.1674, allocations: 11.91 kB / 0.5907 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.554e-05/0.1674, allocations: 7.125 kB / 0.5908 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-06/0.1674, allocations: 0 / 0.5908 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.465e-06/0.1674, allocations: 4 kB / 0.5908 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.1675, allocations: 3.938 kB / 0.5908 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000131/0.1676, allocations: 157.6 kB / 0.5909 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.1676, allocations: 0 / 0.5909 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.335e-05/0.1677, allocations: 11.98 kB / 0.5909 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.1677, allocations: 4 kB / 0.5909 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.165e-05/0.1677, allocations: 3.984 kB / 0.5909 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.1677, allocations: 0 / 0.5909 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.1677, allocations: 192 / 0.5909 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001947/0.1679, allocations: 89 kB / 0.591 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.007e-05/0.168, allocations: 85.08 kB / 0.5911 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.633e-05/0.168, allocations: 4.031 kB / 0.5911 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.463e-05/0.1681, allocations: 4 kB / 0.5911 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.701e-05/0.1681, allocations: 0 / 0.5911 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.173e-06/0.1681, allocations: 3.984 kB / 0.5911 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.911e-05/0.1682, allocations: 83.28 kB / 0.5912 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1682, allocations: 0 / 0.5912 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001991/0.1684, allocations: 16 kB / 0.5912 GB, free: 14.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002125/0.1686, allocations: 111.2 kB / 0.5913 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001831/0.1688, allocations: 27.97 kB / 0.5913 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.1688, allocations: 0 / 0.5913 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 6.121e-05/0.1689, allocations: 19.92 kB / 0.5914 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002003/0.1691, allocations: 6.031 kB / 0.5914 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003929/0.1695, allocations: 124.7 kB / 0.5915 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003121/0.1698, allocations: 0.6848 MB / 0.5921 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.237e-05/0.1699, allocations: 7.984 kB / 0.5922 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.119e-05/0.1699, allocations: 15.42 kB / 0.5922 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.17, allocations: 4 kB / 0.5922 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of Templates: time 0.002739/0.1727, allocations: 0.6801 MB / 0.5928 GB, free: 12.98 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.makefile Environment - environmentSimulation: (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & ./IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1) Environment - environmentSimulation: