Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.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.SaturationPressureLiquid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") translateModel(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009103/0.0009104, allocations: 99.39 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.0008484/0.0008485, 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.21/1.21, allocations: 223.2 MB / 239.9 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8727/0.8727, allocations: 135.2 MB / 426.2 MB, free: 14.47 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003083/0.0003085, allocations: 8 kB / 0.5068 GB, free: 5.238 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1525/0.1528, allocations: 82.31 MB / 0.5872 GB, free: 3.098 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.001589/0.1544, allocations: 1.108 MB / 0.5883 GB, free: 1.977 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004245/0.1549, allocations: 187.5 kB / 0.5885 GB, free: 1.797 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.716e-05/0.1549, allocations: 0 / 0.5885 GB, free: 1.797 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.581e-05/0.155, allocations: 3.984 kB / 0.5885 GB, free: 1.793 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.35e-05/0.155, allocations: 12 kB / 0.5885 GB, free: 1.781 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001608/0.1552, allocations: 19.91 kB / 0.5885 GB, free: 1.762 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.769e-05/0.1553, allocations: 11.98 kB / 0.5885 GB, free: 1.75 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.096e-05/0.1553, allocations: 7.984 kB / 0.5885 GB, free: 1.742 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.422e-05/0.1554, allocations: 7.984 kB / 0.5885 GB, free: 1.734 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.418e-05/0.1554, allocations: 15.92 kB / 0.5885 GB, free: 1.719 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.808e-06/0.1554, allocations: 0 / 0.5885 GB, free: 1.719 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.869e-05/0.1555, allocations: 27.92 kB / 0.5886 GB, free: 1.691 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.174e-06/0.1555, allocations: 4 kB / 0.5886 GB, free: 1.688 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.274e-05/0.1556, allocations: 29.7 kB / 0.5886 GB, free: 1.652 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 7.859e-05/0.1556, allocations: 24.25 kB / 0.5886 GB, free: 1.629 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.044e-06/0.1556, allocations: 3.938 kB / 0.5886 GB, free: 1.625 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.1557, allocations: 0 / 0.5886 GB, free: 1.625 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.166e-06/0.1557, allocations: 0 / 0.5886 GB, free: 1.625 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.0004162/0.1561, allocations: 343.2 kB / 0.5889 GB, free: 1.242 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.189e-05/0.1561, allocations: 8.031 kB / 0.5889 GB, free: 1.234 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000101/0.1562, allocations: 11.98 kB / 0.589 GB, free: 1.223 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001523/0.1564, allocations: 163 kB / 0.5891 GB, free: 1.023 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.357e-05/0.1564, allocations: 7.938 kB / 0.5891 GB, free: 1.016 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.407e-05/0.1564, allocations: 7.984 kB / 0.5891 GB, free: 1.008 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001639/0.1566, allocations: 53.67 kB / 0.5892 GB, free: 0.9492 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.511e-06/0.1566, allocations: 0 / 0.5892 GB, free: 0.9492 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.376e-06/0.1566, allocations: 0 / 0.5892 GB, free: 0.9492 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.607e-06/0.1566, allocations: 4 kB / 0.5892 GB, free: 0.9453 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001604/0.1568, allocations: 43.95 kB / 0.5892 GB, free: 0.9023 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003226/0.1571, allocations: 252.9 kB / 0.5895 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001234/0.1573, allocations: 54.48 kB / 0.5895 GB, free: 0.543 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.449e-05/0.1573, allocations: 0 / 0.5895 GB, free: 0.543 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.941e-05/0.1573, allocations: 30.56 kB / 0.5896 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.1573, allocations: 0 / 0.5896 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003495/0.1577, allocations: 101.6 kB / 0.5896 GB, free: 408 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.755e-05/0.1577, allocations: 51.41 kB / 0.5897 GB, free: 344 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.127e-05/0.1578, allocations: 105.8 kB / 0.5898 GB, free: 228 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.755e-05/0.1578, allocations: 29.83 kB / 0.5898 GB, free: 192 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.731e-05/0.1578, allocations: 84.14 kB / 0.5899 GB, free: 104 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.539e-05/0.1579, allocations: 7.891 kB / 0.5899 GB, free: 96 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.048e-06/0.1579, allocations: 0 / 0.5899 GB, free: 96 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001035/0.158, allocations: 318.8 kB / 0.5902 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.006e-05/0.1581, allocations: 19.98 kB / 0.5902 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.409e-05/0.1581, allocations: 23.98 kB / 0.5903 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.67e-05/0.1582, allocations: 23.97 kB / 0.5903 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.1583, allocations: 0 / 0.5903 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001847/0.1584, allocations: 73.73 kB / 0.5904 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.1585, allocations: 8 kB / 0.5904 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.1585, allocations: 0 / 0.5904 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.071e-05/0.1585, allocations: 0 / 0.5904 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.306e-05/0.1586, allocations: 11.98 kB / 0.5904 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.469e-06/0.1586, allocations: 0 / 0.5904 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.363e-05/0.1586, allocations: 16.02 kB / 0.5904 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.901e-06/0.1587, allocations: 7.891 kB / 0.5904 GB, free: 15.59 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 6.876e-05/0.1587, allocations: 112.4 kB / 0.5905 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.14e-05/0.1588, allocations: 4 kB / 0.5905 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002372/0.159, allocations: 88.77 kB / 0.5906 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.159, allocations: 3.938 kB / 0.5906 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.159, allocations: 0 / 0.5906 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.013e-06/0.159, allocations: 0 / 0.5906 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001432/0.1592, allocations: 161.6 kB / 0.5907 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.1592, allocations: 3.984 kB / 0.5908 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.297e-05/0.1593, allocations: 8 kB / 0.5908 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.1593, allocations: 4 kB / 0.5908 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.373e-06/0.1593, allocations: 4 kB / 0.5908 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.1593, allocations: 0 / 0.5908 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.1593, allocations: 3.984 kB / 0.5908 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002373/0.1595, allocations: 187.5 kB / 0.5909 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.826e-05/0.1596, allocations: 77.16 kB / 0.591 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.424e-05/0.1596, allocations: 7.984 kB / 0.591 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.038e-05/0.1597, allocations: 11.98 kB / 0.591 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.145e-05/0.1597, allocations: 4 kB / 0.591 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.557e-06/0.1597, allocations: 0 / 0.591 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.836e-05/0.1598, allocations: 79.28 kB / 0.5911 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.11e-07/0.1598, allocations: 0 / 0.5911 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002007/0.16, allocations: 8 kB / 0.5911 GB, free: 14.73 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 (3): * Single equations (assignments): 3 * 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 9.923e-05/0.1601, allocations: 99.23 kB / 0.5912 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001965/0.1603, allocations: 51.84 kB / 0.5913 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.1603, allocations: 4.062 kB / 0.5913 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.483e-05/0.1604, allocations: 31.97 kB / 0.5913 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001677/0.1606, allocations: 3.953 kB / 0.5913 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002581/0.1608, allocations: 136.6 kB / 0.5914 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000222/0.1611, allocations: 0.6809 MB / 0.5921 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.045e-05/0.1611, allocations: 7.984 kB / 0.5921 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.189e-05/0.1611, allocations: 7.438 kB / 0.5921 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of SimCode: time 3.1e-07/0.1611, allocations: 0 / 0.5921 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of Templates: time 0.002214/0.1634, allocations: 406 kB / 0.5925 GB, free: 13.25 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.makefile Environment - environmentSimulation: (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & ./IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1) Environment - environmentSimulation: