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.001471/0.001477, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001629/0.001629, allocations: 191.6 kB / 16.25 MB, free: 6.637 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.352/1.352, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9455/0.9455, allocations: 135.6 MB / 425.6 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001897/0.001898, allocations: 68.44 kB / 0.5054 GB, free: 5.199 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1674/0.1693, allocations: 81.02 MB / 0.5845 GB, free: 4.324 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.002589/0.1719, allocations: 1.462 MB / 0.5859 GB, free: 2.848 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004334/0.1724, allocations: 199.5 kB / 0.5861 GB, free: 2.652 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.801e-05/0.1724, allocations: 8 kB / 0.5861 GB, free: 2.645 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.251e-05/0.1724, allocations: 3.984 kB / 0.5861 GB, free: 2.641 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.066e-05/0.1725, allocations: 3.938 kB / 0.5861 GB, free: 2.637 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001822/0.1727, allocations: 19.91 kB / 0.5861 GB, free: 2.617 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.396e-05/0.1728, allocations: 27.92 kB / 0.5862 GB, free: 2.59 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.059e-05/0.1729, allocations: 4 kB / 0.5862 GB, free: 2.586 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.443e-05/0.1729, allocations: 4 kB / 0.5862 GB, free: 2.582 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.68e-05/0.1729, allocations: 11.92 kB / 0.5862 GB, free: 2.57 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.245e-05/0.173, allocations: 4 kB / 0.5862 GB, free: 2.566 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.016e-05/0.173, allocations: 27.98 kB / 0.5862 GB, free: 2.539 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.23e-05/0.1731, allocations: 7.984 kB / 0.5862 GB, free: 2.531 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.369e-05/0.1731, allocations: 15.92 kB / 0.5862 GB, free: 2.516 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001039/0.1732, allocations: 32.19 kB / 0.5863 GB, free: 2.484 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.1732, allocations: 0 / 0.5863 GB, free: 2.484 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.1732, allocations: 0 / 0.5863 GB, free: 2.484 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.478e-06/0.1732, allocations: 0 / 0.5863 GB, free: 2.484 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.000454/0.1737, allocations: 343.4 kB / 0.5866 GB, free: 2.098 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.33e-05/0.1737, allocations: 8.031 kB / 0.5866 GB, free: 2.09 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001144/0.1738, allocations: 12.92 kB / 0.5866 GB, free: 2.078 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001295/0.174, allocations: 164.4 kB / 0.5868 GB, free: 1.879 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.395e-05/0.174, allocations: 4.375 kB / 0.5868 GB, free: 1.875 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.145e-05/0.174, allocations: 4.375 kB / 0.5868 GB, free: 1.871 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001697/0.1742, allocations: 50.17 kB / 0.5868 GB, free: 1.816 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.1742, allocations: 192 / 0.5868 GB, free: 1.816 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.288e-05/0.1742, allocations: 11.88 kB / 0.5868 GB, free: 1.805 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.329e-06/0.1742, allocations: 0 / 0.5868 GB, free: 1.805 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001605/0.1744, allocations: 35.97 kB / 0.5869 GB, free: 1.77 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003707/0.1748, allocations: 252.8 kB / 0.5871 GB, free: 1.473 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001286/0.1749, allocations: 42.44 kB / 0.5872 GB, free: 1.422 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.259e-05/0.175, allocations: 24.89 kB / 0.5872 GB, free: 1.395 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.971e-05/0.175, allocations: 8 kB / 0.5872 GB, free: 1.387 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.473e-05/0.1751, allocations: 30.56 kB / 0.5872 GB, free: 1.348 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.1751, allocations: 0 / 0.5872 GB, free: 1.348 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003351/0.1754, allocations: 81.64 kB / 0.5873 GB, free: 1.262 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.316e-05/0.1755, allocations: 51.41 kB / 0.5873 GB, free: 1.199 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.307e-05/0.1756, allocations: 105.9 kB / 0.5874 GB, free: 1.086 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.901e-05/0.1756, allocations: 25.7 kB / 0.5875 GB, free: 1.055 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.513e-05/0.1757, allocations: 84.08 kB / 0.5875 GB, free: 0.9688 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.041e-05/0.1757, allocations: 11.89 kB / 0.5876 GB, free: 0.957 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.435e-05/0.1757, allocations: 13.72 kB / 0.5876 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001437/0.1759, allocations: 310.8 kB / 0.5879 GB, free: 0.625 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.847e-05/0.176, allocations: 19.98 kB / 0.5879 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.972e-05/0.176, allocations: 19.97 kB / 0.5879 GB, free: 0.5859 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001393/0.1762, allocations: 36.83 kB / 0.5879 GB, free: 0.5469 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.1762, allocations: 0 / 0.5879 GB, free: 0.5469 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001806/0.1764, allocations: 69.59 kB / 0.588 GB, free: 484 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.1764, allocations: 4 kB / 0.588 GB, free: 480 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/0.1764, allocations: 4.094 kB / 0.588 GB, free: 476 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.1764, allocations: 0 / 0.588 GB, free: 476 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.54e-05/0.1765, allocations: 15.92 kB / 0.588 GB, free: 460 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.369e-06/0.1765, allocations: 0 / 0.588 GB, free: 460 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.004e-05/0.1766, allocations: 8 kB / 0.588 GB, free: 452 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.708e-06/0.1766, allocations: 0 / 0.588 GB, free: 452 kB / 494.1 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 8.695e-05/0.1767, allocations: 113.8 kB / 0.5881 GB, free: 328 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.422e-05/0.1767, allocations: 7.906 kB / 0.5882 GB, free: 320 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002306/0.1769, allocations: 76.78 kB / 0.5882 GB, free: 236 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.177, allocations: 0 / 0.5882 GB, free: 236 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.177, allocations: 0 / 0.5882 GB, free: 236 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.255e-06/0.177, allocations: 0 / 0.5882 GB, free: 236 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001767/0.1772, allocations: 165.8 kB / 0.5884 GB, free: 20 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.1772, allocations: 0 / 0.5884 GB, free: 20 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.674e-05/0.1772, allocations: 15.92 kB / 0.5884 GB, free: 4 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.1772, allocations: 0 / 0.5884 GB, free: 4 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.526e-05/0.1773, allocations: 4.062 kB / 0.5884 GB, free: 16 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.1773, allocations: 4 kB / 0.5884 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.1773, allocations: 3.984 kB / 0.5884 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002464/0.1775, allocations: 171.4 kB / 0.5886 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.358e-05/0.1776, allocations: 77.11 kB / 0.5887 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.336e-05/0.1776, allocations: 4 kB / 0.5887 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.646e-05/0.1777, allocations: 11.98 kB / 0.5887 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.893e-05/0.1777, allocations: 0 / 0.5887 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.306e-06/0.1777, allocations: 0 / 0.5887 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.721e-05/0.1778, allocations: 83.27 kB / 0.5887 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.1778, allocations: 3.938 kB / 0.5887 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002068/0.178, allocations: 8 kB / 0.5888 GB, free: 15.6 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.0001081/0.1781, allocations: 95.25 kB / 0.5888 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002272/0.1784, allocations: 47.89 kB / 0.5889 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.1784, allocations: 0 / 0.5889 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.229e-05/0.1785, allocations: 19.98 kB / 0.5889 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002779/0.1787, allocations: 11.88 kB / 0.5889 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003212/0.1791, allocations: 142.4 kB / 0.5891 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003144/0.1794, allocations: 0.6768 MB / 0.5897 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.132e-05/0.1794, allocations: 3.984 kB / 0.5897 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.726e-05/0.1795, allocations: 11.44 kB / 0.5897 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.1795, allocations: 4 kB / 0.5897 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of Templates: time 0.002517/0.182, allocations: 451.5 kB / 0.5902 GB, free: 14.11 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.makefile (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)