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.007838/0.007838, allocations: 101.2 kB / 15.73 MB, free: 5.586 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.001777/0.001777, allocations: 189.6 kB / 16.67 MB, free: 5.523 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.43/1.43, allocations: 222.9 MB / 240.4 MB, free: 15.11 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8376/0.8376, allocations: 132.2 MB / 422.7 MB, free: 6.57 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001139/0.001139, allocations: 63.62 kB / 0.5813 GB, free: 23.77 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1589/0.1601, allocations: 80.21 MB / 0.6597 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.002673/0.1628, allocations: 1.391 MB / 0.661 GB, free: 8.91 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004636/0.1633, allocations: 211.4 kB / 0.6612 GB, free: 8.703 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.88e-05/0.1633, allocations: 0 / 0.6612 GB, free: 8.703 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.995e-05/0.1634, allocations: 4 kB / 0.6612 GB, free: 8.699 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.028e-05/0.1634, allocations: 3.938 kB / 0.6612 GB, free: 8.695 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002428/0.1637, allocations: 23.91 kB / 0.6612 GB, free: 8.672 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.866e-05/0.1638, allocations: 27.91 kB / 0.6613 GB, free: 8.645 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001061/0.1639, allocations: 7.938 kB / 0.6613 GB, free: 8.637 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.879e-05/0.1639, allocations: 11.94 kB / 0.6613 GB, free: 8.625 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.952e-05/0.164, allocations: 7.984 kB / 0.6613 GB, free: 8.617 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.286e-05/0.164, allocations: 0 / 0.6613 GB, free: 8.617 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.851e-05/0.1641, allocations: 23.98 kB / 0.6613 GB, free: 8.594 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.055e-05/0.1641, allocations: 19.92 kB / 0.6613 GB, free: 8.574 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.775e-05/0.1642, allocations: 4 kB / 0.6613 GB, free: 8.57 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001274/0.1643, allocations: 47.77 kB / 0.6614 GB, free: 8.523 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.1643, allocations: 0 / 0.6614 GB, free: 8.523 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.523e-06/0.1643, allocations: 0 / 0.6614 GB, free: 8.523 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.048e-05/0.1643, allocations: 0 / 0.6614 GB, free: 8.523 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.0005173/0.1649, allocations: 335.6 kB / 0.6617 GB, free: 8.145 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.1649, allocations: 8.031 kB / 0.6617 GB, free: 8.137 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001299/0.165, allocations: 8.844 kB / 0.6617 GB, free: 8.129 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001303/0.1652, allocations: 172.3 kB / 0.6619 GB, free: 7.922 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.198e-05/0.1652, allocations: 384 / 0.6619 GB, free: 7.922 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.375e-05/0.1652, allocations: 4.375 kB / 0.6619 GB, free: 7.918 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001964/0.1654, allocations: 50.22 kB / 0.6619 GB, free: 7.863 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.1654, allocations: 8.125 kB / 0.6619 GB, free: 7.855 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.367e-05/0.1655, allocations: 7.938 kB / 0.662 GB, free: 7.848 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.079e-05/0.1655, allocations: 4 kB / 0.662 GB, free: 7.844 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001722/0.1656, allocations: 35.91 kB / 0.662 GB, free: 7.809 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004079/0.1661, allocations: 245 kB / 0.6622 GB, free: 7.52 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001354/0.1662, allocations: 42.5 kB / 0.6623 GB, free: 7.469 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.891e-05/0.1663, allocations: 20.89 kB / 0.6623 GB, free: 7.445 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.886e-05/0.1663, allocations: 0 / 0.6623 GB, free: 7.445 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.928e-05/0.1664, allocations: 34.56 kB / 0.6623 GB, free: 7.402 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 9.81e-07/0.1664, allocations: 0 / 0.6623 GB, free: 7.402 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003683/0.1667, allocations: 89.48 kB / 0.6624 GB, free: 7.309 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.534e-05/0.1668, allocations: 51.41 kB / 0.6625 GB, free: 7.246 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.884e-05/0.1669, allocations: 101.9 kB / 0.6626 GB, free: 7.137 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.444e-05/0.1669, allocations: 25.83 kB / 0.6626 GB, free: 7.105 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.49e-05/0.167, allocations: 84.14 kB / 0.6627 GB, free: 7.02 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.19e-05/0.167, allocations: 11.89 kB / 0.6627 GB, free: 7.008 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.474e-05/0.167, allocations: 13.72 kB / 0.6627 GB, free: 6.988 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001244/0.1672, allocations: 310.8 kB / 0.663 GB, free: 6.676 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.581e-05/0.1673, allocations: 15.98 kB / 0.663 GB, free: 6.66 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.55e-05/0.1673, allocations: 19.97 kB / 0.663 GB, free: 6.641 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001506/0.1675, allocations: 36.89 kB / 0.663 GB, free: 6.602 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.1675, allocations: 3.938 kB / 0.6631 GB, free: 6.598 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001973/0.1677, allocations: 69.59 kB / 0.6631 GB, free: 6.523 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.1677, allocations: 9.5 kB / 0.6631 GB, free: 6.516 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.1677, allocations: 4 kB / 0.6631 GB, free: 6.512 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.1678, allocations: 0 / 0.6631 GB, free: 6.512 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.805e-05/0.1679, allocations: 16.02 kB / 0.6631 GB, free: 6.496 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.98e-06/0.1679, allocations: 0 / 0.6631 GB, free: 6.496 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.927e-05/0.1679, allocations: 4 kB / 0.6632 GB, free: 6.492 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.969e-06/0.1679, allocations: 0 / 0.6632 GB, free: 6.492 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 6.968e-05/0.168, allocations: 118.6 kB / 0.6633 GB, free: 6.367 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.3e-05/0.168, allocations: 0 / 0.6633 GB, free: 6.367 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002519/0.1683, allocations: 80.72 kB / 0.6633 GB, free: 6.277 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.1683, allocations: 0 / 0.6633 GB, free: 6.277 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.1683, allocations: 0 / 0.6633 GB, free: 6.277 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.224e-06/0.1683, allocations: 4 kB / 0.6633 GB, free: 6.273 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000162/0.1685, allocations: 169.5 kB / 0.6635 GB, free: 6.059 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.1685, allocations: 0 / 0.6635 GB, free: 6.059 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.887e-05/0.1686, allocations: 11.98 kB / 0.6635 GB, free: 6.047 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.1686, allocations: 0 / 0.6635 GB, free: 6.047 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.979e-06/0.1686, allocations: 4 kB / 0.6635 GB, free: 6.043 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.1686, allocations: 4 kB / 0.6635 GB, free: 6.039 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1686, allocations: 0 / 0.6635 GB, free: 6.039 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002587/0.1689, allocations: 175.5 kB / 0.6637 GB, free: 5.852 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.26e-05/0.1689, allocations: 77.11 kB / 0.6638 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.233e-05/0.1689, allocations: 0 / 0.6638 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.342e-05/0.169, allocations: 12.03 kB / 0.6638 GB, free: 5.746 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.622e-05/0.1691, allocations: 11.98 kB / 0.6638 GB, free: 5.734 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.336e-06/0.1691, allocations: 0 / 0.6638 GB, free: 5.734 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.644e-05/0.1691, allocations: 87.27 kB / 0.6639 GB, free: 5.648 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1691, allocations: 0 / 0.6639 GB, free: 5.648 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002261/0.1693, allocations: 4 kB / 0.6639 GB, free: 5.645 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 9.714e-05/0.1694, allocations: 95.25 kB / 0.664 GB, free: 5.539 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002177/0.1697, allocations: 35.95 kB / 0.664 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.1697, allocations: 4.062 kB / 0.664 GB, free: 5.5 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.973e-05/0.1698, allocations: 27.92 kB / 0.664 GB, free: 5.473 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002762/0.1701, allocations: 3.938 kB / 0.664 GB, free: 5.469 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003121/0.1704, allocations: 118.5 kB / 0.6641 GB, free: 5.328 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002601/0.1706, allocations: 0.6768 MB / 0.6648 GB, free: 4.625 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.794e-05/0.1707, allocations: 4 kB / 0.6648 GB, free: 4.621 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.008e-05/0.1707, allocations: 15.42 kB / 0.6648 GB, free: 4.605 MB / 0.4981 GB Notification: Performance of SimCode: time 2.41e-07/0.1707, allocations: 0 / 0.6648 GB, free: 4.605 MB / 0.4981 GB Notification: Performance of Templates: time 0.002385/0.1731, allocations: 0.4968 MB / 0.6653 GB, free: 4.117 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)