Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") translateModel(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.0008594/0.0008593, allocations: 99.62 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.0008701/0.0008701, 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.213/1.213, allocations: 223.2 MB / 239.9 MB, free: 5.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8472/0.8472, allocations: 135.2 MB / 426.2 MB, free: 14.27 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002839/0.0002839, allocations: 10.81 kB / 0.5068 GB, free: 5.277 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1554/0.1557, allocations: 82.31 MB / 0.5872 GB, free: 3.148 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.001454/0.1572, allocations: 1.108 MB / 0.5883 GB, free: 2.027 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003549/0.1575, allocations: 183.5 kB / 0.5885 GB, free: 1.852 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.258e-05/0.1576, allocations: 0 / 0.5885 GB, free: 1.852 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.37e-05/0.1576, allocations: 3.984 kB / 0.5885 GB, free: 1.848 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.5e-05/0.1576, allocations: 11.98 kB / 0.5885 GB, free: 1.836 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001683/0.1578, allocations: 19.97 kB / 0.5885 GB, free: 1.816 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.784e-05/0.1579, allocations: 15.92 kB / 0.5885 GB, free: 1.801 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.639e-05/0.158, allocations: 7.984 kB / 0.5885 GB, free: 1.793 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.587e-05/0.158, allocations: 4 kB / 0.5885 GB, free: 1.789 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.941e-05/0.1581, allocations: 15.92 kB / 0.5885 GB, free: 1.773 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.193e-05/0.1581, allocations: 3.984 kB / 0.5885 GB, free: 1.77 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.567e-05/0.1582, allocations: 23.98 kB / 0.5886 GB, free: 1.746 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.662e-06/0.1582, allocations: 0 / 0.5886 GB, free: 1.746 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.374e-05/0.1582, allocations: 29.7 kB / 0.5886 GB, free: 1.711 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 7.795e-05/0.1583, allocations: 28.19 kB / 0.5886 GB, free: 1.684 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.1583, allocations: 7.938 kB / 0.5886 GB, free: 1.676 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1583, allocations: 0 / 0.5886 GB, free: 1.676 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.707e-06/0.1583, allocations: 0 / 0.5886 GB, free: 1.676 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.0004021/0.1587, allocations: 343.2 kB / 0.5889 GB, free: 1.293 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.237e-05/0.1588, allocations: 8.031 kB / 0.589 GB, free: 1.285 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.53e-05/0.1589, allocations: 7.984 kB / 0.589 GB, free: 1.277 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001145/0.159, allocations: 167 kB / 0.5891 GB, free: 1.074 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.212e-05/0.159, allocations: 4 kB / 0.5891 GB, free: 1.07 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.098e-05/0.159, allocations: 4 kB / 0.5891 GB, free: 1.066 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001674/0.1592, allocations: 57.61 kB / 0.5892 GB, free: 1.004 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.1592, allocations: 3.984 kB / 0.5892 GB, free: 1 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.917e-06/0.1592, allocations: 0 / 0.5892 GB, free: 1 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.1592, allocations: 0 / 0.5892 GB, free: 1 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001614/0.1594, allocations: 47.95 kB / 0.5892 GB, free: 0.9531 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003072/0.1597, allocations: 248.9 kB / 0.5895 GB, free: 0.6602 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001352/0.1599, allocations: 50.5 kB / 0.5895 GB, free: 0.6016 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.276e-05/0.1599, allocations: 0 / 0.5895 GB, free: 0.6016 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.966e-05/0.1599, allocations: 34.55 kB / 0.5896 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 8.42e-07/0.1599, allocations: 0 / 0.5896 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003529/0.1603, allocations: 101.6 kB / 0.5896 GB, free: 464 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.806e-05/0.1603, allocations: 55.41 kB / 0.5897 GB, free: 396 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.598e-05/0.1604, allocations: 97.81 kB / 0.5898 GB, free: 288 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.376e-05/0.1604, allocations: 25.7 kB / 0.5898 GB, free: 256 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.134e-05/0.1605, allocations: 88.25 kB / 0.5899 GB, free: 164 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.585e-05/0.1605, allocations: 11.89 kB / 0.5899 GB, free: 152 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.667e-06/0.1605, allocations: 0 / 0.5899 GB, free: 152 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001091/0.1606, allocations: 314.8 kB / 0.5902 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.292e-05/0.1607, allocations: 23.92 kB / 0.5902 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.41e-05/0.1608, allocations: 23.98 kB / 0.5903 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.622e-05/0.1609, allocations: 23.97 kB / 0.5903 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.1609, allocations: 0 / 0.5903 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000187/0.1611, allocations: 77.67 kB / 0.5904 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.09e-05/0.1611, allocations: 8 kB / 0.5904 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.1611, allocations: 0 / 0.5904 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.039e-05/0.1611, allocations: 0 / 0.5904 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.09e-05/0.1612, allocations: 11.98 kB / 0.5904 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.1612, allocations: 0 / 0.5904 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.229e-05/0.1613, allocations: 15.98 kB / 0.5904 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.813e-06/0.1613, allocations: 7.984 kB / 0.5904 GB, free: 15.64 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.257e-05/0.1613, allocations: 112.4 kB / 0.5905 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.13e-05/0.1614, allocations: 4 kB / 0.5905 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002421/0.1616, allocations: 92.7 kB / 0.5906 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.1616, allocations: 3.938 kB / 0.5906 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.1616, allocations: 0 / 0.5906 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.1616, allocations: 0 / 0.5906 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001399/0.1618, allocations: 161.6 kB / 0.5908 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.1618, allocations: 0 / 0.5908 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.553e-05/0.1619, allocations: 11.98 kB / 0.5908 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.1619, allocations: 0 / 0.5908 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.558e-06/0.1619, allocations: 4 kB / 0.5908 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.1619, allocations: 4 kB / 0.5908 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1619, allocations: 0 / 0.5908 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002567/0.1622, allocations: 187.3 kB / 0.591 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.34e-05/0.1622, allocations: 77.11 kB / 0.591 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.133e-05/0.1622, allocations: 4 kB / 0.591 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.944e-05/0.1623, allocations: 11.98 kB / 0.591 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.382e-05/0.1624, allocations: 4.281 kB / 0.591 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.246e-06/0.1624, allocations: 0 / 0.591 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.086e-05/0.1624, allocations: 83.27 kB / 0.5911 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.1624, allocations: 0 / 0.5911 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002072/0.1626, allocations: 4 kB / 0.5911 GB, free: 14.79 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 0.0001107/0.1627, allocations: 103.2 kB / 0.5912 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002009/0.1629, allocations: 47.97 kB / 0.5913 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.293e-06/0.163, allocations: 0 / 0.5913 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.818e-05/0.163, allocations: 35.97 kB / 0.5913 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001748/0.1632, allocations: 7.953 kB / 0.5913 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002586/0.1635, allocations: 136.5 kB / 0.5914 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002389/0.1637, allocations: 0.677 MB / 0.5921 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.07e-05/0.1638, allocations: 11.98 kB / 0.5921 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.175e-05/0.1638, allocations: 7.438 kB / 0.5921 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of SimCode: time 2.11e-07/0.1638, allocations: 0 / 0.5921 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of Templates: time 0.002001/0.1658, allocations: 407.6 kB / 0.5925 GB, free: 13.31 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.makefile Environment - environmentSimulation: (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & ./IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1) Environment - environmentSimulation: