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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001227/0.001227, allocations: 182.9 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7515/0.7515, allocations: 132.2 MB / 148.9 MB, free: 12.16 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.471/1.471, allocations: 222.9 MB / 403.4 MB, free: 7.047 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001032/0.001032, allocations: 107.4 kB / 484.3 MB, free: 8.711 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00155/0.00155, allocations: 51.91 kB / 0.5618 GB, free: 71.05 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1592/0.1607, allocations: 80.2 MB / 0.6402 GB, free: 6.781 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.002944/0.1637, allocations: 1.467 MB / 0.6416 GB, free: 5.297 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005111/0.1643, allocations: 212.4 kB / 0.6418 GB, free: 5.09 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.902e-05/0.1643, allocations: 4 kB / 0.6418 GB, free: 5.086 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 3.361e-05/0.1644, allocations: 3.938 kB / 0.6418 GB, free: 5.082 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 4.151e-05/0.1644, allocations: 0 / 0.6418 GB, free: 5.082 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001748/0.1646, allocations: 19.91 kB / 0.6418 GB, free: 5.062 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 6.164e-05/0.1647, allocations: 19.92 kB / 0.6418 GB, free: 5.043 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.549e-05/0.1648, allocations: 12 kB / 0.6419 GB, free: 5.031 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.817e-05/0.1648, allocations: 4 kB / 0.6419 GB, free: 5.027 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.627e-05/0.1649, allocations: 15.92 kB / 0.6419 GB, free: 5.012 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.065e-05/0.1649, allocations: 0 / 0.6419 GB, free: 5.012 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.628e-05/0.165, allocations: 23.98 kB / 0.6419 GB, free: 4.988 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.685e-05/0.165, allocations: 3.984 kB / 0.6419 GB, free: 4.984 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 3.135e-05/0.165, allocations: 15.92 kB / 0.6419 GB, free: 4.969 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001264/0.1652, allocations: 32.19 kB / 0.6419 GB, free: 4.938 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.1652, allocations: 0 / 0.6419 GB, free: 4.938 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.1652, allocations: 0 / 0.6419 GB, free: 4.938 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.298e-06/0.1652, allocations: 4 kB / 0.6419 GB, free: 4.934 MB / 442.7 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.0004973/0.1657, allocations: 347.4 kB / 0.6423 GB, free: 4.543 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.1658, allocations: 12.03 kB / 0.6423 GB, free: 4.531 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001285/0.1659, allocations: 4.922 kB / 0.6423 GB, free: 4.527 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001367/0.166, allocations: 168.3 kB / 0.6425 GB, free: 4.324 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.696e-06/0.166, allocations: 384 / 0.6425 GB, free: 4.324 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.238e-05/0.1661, allocations: 384 / 0.6425 GB, free: 4.324 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001714/0.1662, allocations: 50.23 kB / 0.6425 GB, free: 4.27 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.1663, allocations: 8.125 kB / 0.6425 GB, free: 4.262 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.979e-06/0.1663, allocations: 3.938 kB / 0.6425 GB, free: 4.258 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/0.1663, allocations: 0 / 0.6425 GB, free: 4.258 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001938/0.1665, allocations: 35.95 kB / 0.6426 GB, free: 4.223 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003584/0.1669, allocations: 248.9 kB / 0.6428 GB, free: 3.93 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001253/0.167, allocations: 42.5 kB / 0.6428 GB, free: 3.879 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.043e-05/0.1671, allocations: 32.88 kB / 0.6429 GB, free: 3.844 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.531e-05/0.1671, allocations: 0 / 0.6429 GB, free: 3.844 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.271e-05/0.1671, allocations: 30.56 kB / 0.6429 GB, free: 3.805 MB / 442.7 MB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.1671, allocations: 0 / 0.6429 GB, free: 3.805 MB / 442.7 MB Notification: Performance of matching and sorting (n=2): time 0.0003537/0.1675, allocations: 89.58 kB / 0.643 GB, free: 3.711 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.522e-05/0.1676, allocations: 51.41 kB / 0.643 GB, free: 3.648 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.864e-05/0.1676, allocations: 101.8 kB / 0.6431 GB, free: 3.539 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.309e-05/0.1677, allocations: 25.7 kB / 0.6431 GB, free: 3.508 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.643e-05/0.1677, allocations: 88.12 kB / 0.6432 GB, free: 3.418 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.56e-05/0.1677, allocations: 3.906 kB / 0.6432 GB, free: 3.414 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.222e-05/0.1678, allocations: 13.72 kB / 0.6432 GB, free: 3.395 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001094/0.1679, allocations: 319 kB / 0.6436 GB, free: 3.074 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.198e-05/0.168, allocations: 11.98 kB / 0.6436 GB, free: 3.062 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.402e-05/0.168, allocations: 19.97 kB / 0.6436 GB, free: 3.043 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001497/0.1682, allocations: 36.83 kB / 0.6436 GB, free: 3.004 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1682, allocations: 0 / 0.6436 GB, free: 3.004 MB / 442.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002008/0.1684, allocations: 77.59 kB / 0.6437 GB, free: 2.922 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.1684, allocations: 4.625 kB / 0.6437 GB, free: 2.918 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.1685, allocations: 0 / 0.6437 GB, free: 2.918 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.1685, allocations: 0 / 0.6437 GB, free: 2.918 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.514e-05/0.1686, allocations: 11.98 kB / 0.6437 GB, free: 2.906 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.568e-06/0.1686, allocations: 0 / 0.6437 GB, free: 2.906 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.099e-05/0.1686, allocations: 4 kB / 0.6437 GB, free: 2.902 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.245e-06/0.1686, allocations: 3.984 kB / 0.6437 GB, free: 2.898 MB / 442.7 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.215e-05/0.1687, allocations: 123.1 kB / 0.6438 GB, free: 2.77 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.351e-05/0.1688, allocations: 3.906 kB / 0.6438 GB, free: 2.766 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000252/0.169, allocations: 80.72 kB / 0.6439 GB, free: 2.68 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.169, allocations: 0 / 0.6439 GB, free: 2.68 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.169, allocations: 0 / 0.6439 GB, free: 2.68 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.071e-06/0.169, allocations: 3.984 kB / 0.6439 GB, free: 2.676 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001467/0.1692, allocations: 165.6 kB / 0.6441 GB, free: 2.465 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.1692, allocations: 4 kB / 0.6441 GB, free: 2.461 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.664e-05/0.1693, allocations: 7.984 kB / 0.6441 GB, free: 2.453 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.139e-06/0.1693, allocations: 4 kB / 0.6441 GB, free: 2.449 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.702e-06/0.1693, allocations: 0 / 0.6441 GB, free: 2.449 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.1693, allocations: 0 / 0.6441 GB, free: 2.449 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.1693, allocations: 3.938 kB / 0.6441 GB, free: 2.445 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005222/0.1698, allocations: 0.7279 MB / 0.6448 GB, free: 1.66 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.192e-05/0.1699, allocations: 81.02 kB / 0.6449 GB, free: 1.562 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.302e-05/0.1699, allocations: 7.984 kB / 0.6449 GB, free: 1.555 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.06e-05/0.17, allocations: 8 kB / 0.6449 GB, free: 1.547 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.651e-05/0.17, allocations: 3.984 kB / 0.6449 GB, free: 1.543 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.08e-06/0.17, allocations: 7.875 kB / 0.6449 GB, free: 1.535 MB / 442.7 MB Notification: Performance of sorting global known variables: time 3.366e-05/0.1701, allocations: 83.28 kB / 0.645 GB, free: 1.453 MB / 442.7 MB Notification: Performance of sort global known variables: time 1e-07/0.1701, allocations: 0 / 0.645 GB, free: 1.453 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003062/0.1704, allocations: 4 kB / 0.645 GB, free: 1.449 MB / 442.7 MB 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 (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.0001073/0.1705, allocations: 95.25 kB / 0.6451 GB, free: 1.348 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0002083/0.1707, allocations: 48.31 kB / 0.6451 GB, free: 1.301 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1707, allocations: 0 / 0.6451 GB, free: 1.301 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 8.351e-05/0.1708, allocations: 20.05 kB / 0.6451 GB, free: 1.281 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002598/0.1711, allocations: 11.98 kB / 0.6452 GB, free: 1.27 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003323/0.1714, allocations: 223.4 kB / 0.6454 GB, free: 1.008 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002244/0.1717, allocations: 0.677 MB / 0.646 GB, free: 312 kB / 442.7 MB Notification: Performance of simCode: alias equations: time 3.523e-05/0.1717, allocations: 11.98 kB / 0.646 GB, free: 300 kB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.075e-05/0.1717, allocations: 7.438 kB / 0.6461 GB, free: 296 kB / 442.7 MB Notification: Performance of SimCode: time 1.532e-06/0.1718, allocations: 0 / 0.6461 GB, free: 296 kB / 442.7 MB Notification: Performance of Templates: time 0.002053/0.1738, allocations: 445.7 kB / 0.6465 GB, free: 15.86 MB / 458.7 MB make -j1 -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.makefile (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)