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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.005834/0.005834, allocations: 97.84 kB / 15.73 MB, free: 5.605 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.001129/0.001129, allocations: 196.9 kB / 16.67 MB, free: 5.531 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.348/1.348, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8337/0.8337, allocations: 132.2 MB / 422.7 MB, free: 6.531 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001173/0.001173, allocations: 61.97 kB / 0.5813 GB, free: 23.87 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1636/0.1648, allocations: 80.2 MB / 0.6597 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.003265/0.1681, allocations: 1.402 MB / 0.661 GB, free: 8.863 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0006147/0.1688, allocations: 207.4 kB / 0.6612 GB, free: 8.66 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.618e-05/0.1689, allocations: 8 kB / 0.6612 GB, free: 8.652 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.538e-05/0.1689, allocations: 0 / 0.6612 GB, free: 8.652 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.02e-05/0.169, allocations: 7.922 kB / 0.6612 GB, free: 8.645 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002378/0.1692, allocations: 15.92 kB / 0.6612 GB, free: 8.629 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.037e-05/0.1693, allocations: 27.91 kB / 0.6613 GB, free: 8.602 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001211/0.1694, allocations: 4 kB / 0.6613 GB, free: 8.598 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.753e-05/0.1695, allocations: 11.92 kB / 0.6613 GB, free: 8.586 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.153e-05/0.1696, allocations: 8 kB / 0.6613 GB, free: 8.578 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.93e-05/0.1696, allocations: 4 kB / 0.6613 GB, free: 8.574 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001017/0.1697, allocations: 35.97 kB / 0.6613 GB, free: 8.539 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.829e-05/0.1697, allocations: 7.938 kB / 0.6613 GB, free: 8.531 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.449e-05/0.1697, allocations: 4 kB / 0.6613 GB, free: 8.527 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002078/0.17, allocations: 43.77 kB / 0.6614 GB, free: 8.484 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.17, allocations: 0 / 0.6614 GB, free: 8.484 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.593e-06/0.17, allocations: 0 / 0.6614 GB, free: 8.484 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.172e-06/0.17, allocations: 0 / 0.6614 GB, free: 8.484 MB / 0.4981 GB 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.0005222/0.1705, allocations: 343.4 kB / 0.6617 GB, free: 8.098 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.1706, allocations: 8.031 kB / 0.6617 GB, free: 8.09 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001534/0.1707, allocations: 16.86 kB / 0.6617 GB, free: 8.074 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001459/0.1709, allocations: 168.3 kB / 0.6619 GB, free: 7.871 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.445e-05/0.1709, allocations: 4.375 kB / 0.6619 GB, free: 7.867 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.106e-05/0.1709, allocations: 384 / 0.6619 GB, free: 7.867 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001895/0.1711, allocations: 54.17 kB / 0.662 GB, free: 7.809 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.136e-06/0.1711, allocations: 192 / 0.662 GB, free: 7.809 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/0.1712, allocations: 3.938 kB / 0.662 GB, free: 7.805 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.471e-06/0.1712, allocations: 0 / 0.662 GB, free: 7.805 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001732/0.1713, allocations: 43.89 kB / 0.662 GB, free: 7.762 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003693/0.1717, allocations: 241 kB / 0.6622 GB, free: 7.477 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001269/0.1719, allocations: 42.48 kB / 0.6623 GB, free: 7.426 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.47e-05/0.172, allocations: 20.91 kB / 0.6623 GB, free: 7.402 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.232e-05/0.172, allocations: 8 kB / 0.6623 GB, free: 7.395 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.757e-05/0.172, allocations: 30.56 kB / 0.6623 GB, free: 7.355 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.383e-06/0.172, allocations: 0 / 0.6623 GB, free: 7.355 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003842/0.1724, allocations: 85.58 kB / 0.6624 GB, free: 7.266 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.187e-05/0.1725, allocations: 51.41 kB / 0.6625 GB, free: 7.203 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.026e-05/0.1726, allocations: 102 kB / 0.6626 GB, free: 7.094 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.373e-05/0.1726, allocations: 29.7 kB / 0.6626 GB, free: 7.059 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.793e-05/0.1726, allocations: 80.14 kB / 0.6627 GB, free: 6.977 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.246e-05/0.1727, allocations: 11.89 kB / 0.6627 GB, free: 6.965 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.437e-05/0.1727, allocations: 13.72 kB / 0.6627 GB, free: 6.945 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002196/0.1729, allocations: 310.8 kB / 0.663 GB, free: 6.633 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.08e-05/0.173, allocations: 19.97 kB / 0.663 GB, free: 6.613 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.221e-05/0.1731, allocations: 19.98 kB / 0.663 GB, free: 6.594 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001484/0.1733, allocations: 40.77 kB / 0.6631 GB, free: 6.551 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.1733, allocations: 0 / 0.6631 GB, free: 6.551 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001885/0.1735, allocations: 69.59 kB / 0.6631 GB, free: 6.477 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.1735, allocations: 4 kB / 0.6631 GB, free: 6.473 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.1735, allocations: 0 / 0.6631 GB, free: 6.473 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.011e-05/0.1735, allocations: 4.094 kB / 0.6631 GB, free: 6.469 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000106/0.1736, allocations: 11.98 kB / 0.6631 GB, free: 6.457 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.203e-06/0.1737, allocations: 0 / 0.6631 GB, free: 6.457 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.959e-05/0.1737, allocations: 11.94 kB / 0.6632 GB, free: 6.445 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.151e-06/0.1737, allocations: 0 / 0.6632 GB, free: 6.445 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 9.168e-05/0.1738, allocations: 114.7 kB / 0.6633 GB, free: 6.324 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.414e-05/0.1739, allocations: 4 kB / 0.6633 GB, free: 6.32 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002573/0.1741, allocations: 88.7 kB / 0.6634 GB, free: 6.223 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.1741, allocations: 0 / 0.6634 GB, free: 6.223 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.155e-06/0.1742, allocations: 0 / 0.6634 GB, free: 6.223 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.1742, allocations: 3.938 kB / 0.6634 GB, free: 6.219 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001764/0.1743, allocations: 161.6 kB / 0.6635 GB, free: 6.012 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-06/0.1744, allocations: 3.938 kB / 0.6635 GB, free: 6.008 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.28e-05/0.1744, allocations: 11.98 kB / 0.6635 GB, free: 5.996 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.225e-06/0.1744, allocations: 0 / 0.6635 GB, free: 5.996 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.397e-06/0.1744, allocations: 4 kB / 0.6635 GB, free: 5.992 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.1745, allocations: 4 kB / 0.6635 GB, free: 5.988 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1745, allocations: 0 / 0.6635 GB, free: 5.988 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002456/0.1747, allocations: 171.6 kB / 0.6637 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.824e-05/0.1748, allocations: 85.05 kB / 0.6638 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.447e-05/0.1748, allocations: 4 kB / 0.6638 GB, free: 5.699 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.827e-05/0.1749, allocations: 12 kB / 0.6638 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.982e-05/0.1749, allocations: 3.984 kB / 0.6638 GB, free: 5.684 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.656e-06/0.1749, allocations: 0 / 0.6638 GB, free: 5.684 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.423e-05/0.175, allocations: 79.28 kB / 0.6639 GB, free: 5.605 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.175, allocations: 0 / 0.6639 GB, free: 5.605 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002106/0.1752, allocations: 4 kB / 0.6639 GB, free: 5.602 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 (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.0001065/0.1753, allocations: 99.25 kB / 0.664 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002142/0.1755, allocations: 43.95 kB / 0.664 GB, free: 5.449 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.1755, allocations: 0 / 0.664 GB, free: 5.449 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.023e-05/0.1756, allocations: 19.92 kB / 0.664 GB, free: 5.43 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003076/0.1759, allocations: 15.88 kB / 0.6641 GB, free: 5.418 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003136/0.1763, allocations: 118.5 kB / 0.6642 GB, free: 5.277 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003518/0.1766, allocations: 0.6807 MB / 0.6648 GB, free: 4.57 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.681e-05/0.1767, allocations: 4.062 kB / 0.6648 GB, free: 4.566 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.919e-05/0.1767, allocations: 7.438 kB / 0.6648 GB, free: 4.559 MB / 0.4981 GB Notification: Performance of SimCode: time 3.61e-07/0.1767, allocations: 0 / 0.6648 GB, free: 4.559 MB / 0.4981 GB Notification: Performance of Templates: time 0.002505/0.1792, allocations: 0.4951 MB / 0.6653 GB, free: 4.066 MB / 0.4981 GB 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)