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.001354/0.001354, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001678/0.001678, allocations: 191.1 kB / 16.14 MB, free: 6.734 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.354/1.354, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7588/0.7588, allocations: 132.2 MB / 422.2 MB, free: 1.992 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 55.97 kB / 0.5011 GB, free: 9.191 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1619/0.1632, allocations: 80.21 MB / 0.5794 GB, free: 9.207 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.002955/0.1662, allocations: 1.464 MB / 0.5808 GB, free: 7.73 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005001/0.1667, allocations: 211.4 kB / 0.5811 GB, free: 7.523 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.755e-05/0.1668, allocations: 0 / 0.5811 GB, free: 7.523 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.5e-05/0.1668, allocations: 4 kB / 0.5811 GB, free: 7.52 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.37e-05/0.1669, allocations: 0 / 0.5811 GB, free: 7.52 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001884/0.1671, allocations: 19.91 kB / 0.5811 GB, free: 7.5 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.641e-05/0.1672, allocations: 27.92 kB / 0.5811 GB, free: 7.473 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.438e-05/0.1673, allocations: 4 kB / 0.5811 GB, free: 7.469 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.328e-05/0.1673, allocations: 11.94 kB / 0.5811 GB, free: 7.457 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.995e-05/0.1674, allocations: 7.984 kB / 0.5811 GB, free: 7.449 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.258e-05/0.1674, allocations: 0 / 0.5811 GB, free: 7.449 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.711e-05/0.1675, allocations: 23.98 kB / 0.5811 GB, free: 7.426 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.712e-05/0.1675, allocations: 11.92 kB / 0.5812 GB, free: 7.414 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.353e-05/0.1675, allocations: 7.938 kB / 0.5812 GB, free: 7.406 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001457/0.1677, allocations: 36.17 kB / 0.5812 GB, free: 7.371 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.334e-06/0.1677, allocations: 4 kB / 0.5812 GB, free: 7.367 MB / 494.1 MB Notification: Performance of FrontEnd: time 9.12e-07/0.1677, allocations: 4 kB / 0.5812 GB, free: 7.363 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.027e-06/0.1677, allocations: 0 / 0.5812 GB, free: 7.363 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.0004728/0.1682, allocations: 339.4 kB / 0.5815 GB, free: 6.98 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.1682, allocations: 11.97 kB / 0.5815 GB, free: 6.969 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001322/0.1684, allocations: 8.938 kB / 0.5816 GB, free: 6.961 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001288/0.1685, allocations: 164.4 kB / 0.5817 GB, free: 6.762 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.831e-05/0.1685, allocations: 4.375 kB / 0.5817 GB, free: 6.758 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.797e-06/0.1685, allocations: 384 / 0.5817 GB, free: 6.758 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001816/0.1687, allocations: 54.23 kB / 0.5818 GB, free: 6.699 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.1687, allocations: 192 / 0.5818 GB, free: 6.699 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.392e-05/0.1688, allocations: 3.938 kB / 0.5818 GB, free: 6.695 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.401e-06/0.1688, allocations: 0 / 0.5818 GB, free: 6.695 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001806/0.169, allocations: 39.89 kB / 0.5818 GB, free: 6.656 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004283/0.1694, allocations: 252.8 kB / 0.582 GB, free: 6.359 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001371/0.1695, allocations: 42.5 kB / 0.5821 GB, free: 6.309 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.902e-05/0.1696, allocations: 24.89 kB / 0.5821 GB, free: 6.281 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.023e-05/0.1697, allocations: 3.938 kB / 0.5821 GB, free: 6.277 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.234e-05/0.1697, allocations: 34.56 kB / 0.5821 GB, free: 6.234 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.193e-06/0.1697, allocations: 0 / 0.5821 GB, free: 6.234 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0004072/0.1701, allocations: 85.58 kB / 0.5822 GB, free: 6.145 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.767e-05/0.1702, allocations: 51.41 kB / 0.5823 GB, free: 6.082 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.072e-05/0.1703, allocations: 97.86 kB / 0.5824 GB, free: 5.977 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.793e-05/0.1703, allocations: 25.7 kB / 0.5824 GB, free: 5.945 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.845e-05/0.1704, allocations: 88.14 kB / 0.5825 GB, free: 5.855 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.247e-05/0.1704, allocations: 7.891 kB / 0.5825 GB, free: 5.848 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.031e-05/0.1704, allocations: 13.84 kB / 0.5825 GB, free: 5.828 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000126/0.1706, allocations: 314.8 kB / 0.5828 GB, free: 5.512 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.464e-05/0.1707, allocations: 15.98 kB / 0.5828 GB, free: 5.496 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.401e-05/0.1707, allocations: 15.97 kB / 0.5828 GB, free: 5.48 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000163/0.1709, allocations: 48.83 kB / 0.5829 GB, free: 5.43 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.1709, allocations: 0 / 0.5829 GB, free: 5.43 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002036/0.1711, allocations: 69.59 kB / 0.5829 GB, free: 5.355 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.1712, allocations: 4 kB / 0.5829 GB, free: 5.352 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.1712, allocations: 0 / 0.5829 GB, free: 5.352 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/0.1712, allocations: 0 / 0.5829 GB, free: 5.352 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.586e-05/0.1713, allocations: 11.98 kB / 0.583 GB, free: 5.34 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.1713, allocations: 0 / 0.583 GB, free: 5.34 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.506e-05/0.1714, allocations: 8.031 kB / 0.583 GB, free: 5.332 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.424e-06/0.1714, allocations: 0 / 0.583 GB, free: 5.332 MB / 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 9.803e-05/0.1715, allocations: 114.4 kB / 0.5831 GB, free: 5.211 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.945e-05/0.1715, allocations: 7.906 kB / 0.5831 GB, free: 5.203 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002575/0.1718, allocations: 80.72 kB / 0.5832 GB, free: 5.113 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.1718, allocations: 0 / 0.5832 GB, free: 5.113 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.1718, allocations: 4 kB / 0.5832 GB, free: 5.109 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.1718, allocations: 0 / 0.5832 GB, free: 5.109 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001832/0.172, allocations: 173.5 kB / 0.5833 GB, free: 4.891 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.172, allocations: 0 / 0.5833 GB, free: 4.891 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.939e-05/0.1721, allocations: 11.98 kB / 0.5833 GB, free: 4.879 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.1721, allocations: 0 / 0.5833 GB, free: 4.879 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.056e-05/0.1721, allocations: 4 kB / 0.5833 GB, free: 4.875 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.734e-06/0.1721, allocations: 0 / 0.5833 GB, free: 4.875 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.1721, allocations: 0 / 0.5833 GB, free: 4.875 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002542/0.1724, allocations: 175.3 kB / 0.5835 GB, free: 4.688 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.38e-05/0.1724, allocations: 81.11 kB / 0.5836 GB, free: 4.59 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.322e-05/0.1724, allocations: 0 / 0.5836 GB, free: 4.59 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.313e-05/0.1725, allocations: 7.984 kB / 0.5836 GB, free: 4.582 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.492e-05/0.1726, allocations: 0 / 0.5836 GB, free: 4.582 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.312e-06/0.1726, allocations: 3.984 kB / 0.5836 GB, free: 4.578 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.747e-05/0.1726, allocations: 83.56 kB / 0.5837 GB, free: 4.496 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1726, allocations: 4 kB / 0.5837 GB, free: 4.492 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000234/0.1729, allocations: 4 kB / 0.5837 GB, free: 4.488 MB / 494.1 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.0001146/0.173, allocations: 95.25 kB / 0.5838 GB, free: 4.387 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000215/0.1732, allocations: 40.09 kB / 0.5838 GB, free: 4.348 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.1732, allocations: 0 / 0.5838 GB, free: 4.348 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.592e-05/0.1733, allocations: 27.97 kB / 0.5838 GB, free: 4.32 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002782/0.1736, allocations: 15.17 kB / 0.5839 GB, free: 4.309 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000295/0.1739, allocations: 128.3 kB / 0.584 GB, free: 4.156 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002302/0.1742, allocations: 0.677 MB / 0.5846 GB, free: 3.453 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.456e-05/0.1742, allocations: 7.984 kB / 0.5847 GB, free: 3.445 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.784e-05/0.1742, allocations: 7.438 kB / 0.5847 GB, free: 3.438 MB / 494.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1742, allocations: 0 / 0.5847 GB, free: 3.438 MB / 494.1 MB Notification: Performance of Templates: time 0.002629/0.1769, allocations: 426.5 kB / 0.5851 GB, free: 3.027 MB / 494.1 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)