Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.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.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure") translateModel(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001345/0.001345, allocations: 105.1 kB / 16.41 MB, free: 6.41 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.001409/0.001409, allocations: 189.7 kB / 17.35 MB, free: 5.695 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.373/1.373, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.774/0.774, allocations: 132.2 MB / 423.4 MB, free: 6.562 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 59.34 kB / 0.582 GB, free: 23.69 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1552/0.1565, allocations: 80.21 MB / 0.6603 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.002772/0.1593, allocations: 1.405 MB / 0.6617 GB, free: 8.859 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001035/0.1603, allocations: 0.5967 MB / 0.6623 GB, free: 8.258 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.803e-05/0.1604, allocations: 0 / 0.6623 GB, free: 8.258 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.31e-05/0.1605, allocations: 7.938 kB / 0.6623 GB, free: 8.25 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.072e-05/0.1605, allocations: 4 kB / 0.6623 GB, free: 8.246 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004377/0.161, allocations: 95.56 kB / 0.6624 GB, free: 8.152 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.372e-05/0.161, allocations: 27.86 kB / 0.6624 GB, free: 8.125 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.976e-05/0.1611, allocations: 8 kB / 0.6624 GB, free: 8.117 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.231e-05/0.1612, allocations: 23.84 kB / 0.6624 GB, free: 8.094 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.488e-05/0.1612, allocations: 7.938 kB / 0.6624 GB, free: 8.086 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.12e-05/0.1612, allocations: 4 kB / 0.6624 GB, free: 8.082 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002784/0.1615, allocations: 143.8 kB / 0.6626 GB, free: 7.941 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.581e-05/0.1616, allocations: 11.98 kB / 0.6626 GB, free: 7.93 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.355e-05/0.1616, allocations: 7.922 kB / 0.6626 GB, free: 7.922 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002127/0.1618, allocations: 95.83 kB / 0.6627 GB, free: 7.828 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 1.525e-05/0.1618, allocations: 0 / 0.6627 GB, free: 7.828 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.392e-06/0.1618, allocations: 7.875 kB / 0.6627 GB, free: 7.82 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.1618, allocations: 0 / 0.6627 GB, free: 7.82 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.0004891/0.1623, allocations: 359.5 kB / 0.663 GB, free: 7.418 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.1624, allocations: 12.03 kB / 0.663 GB, free: 7.406 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004448/0.1628, allocations: 32.81 kB / 0.6631 GB, free: 7.375 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001288/0.163, allocations: 160.4 kB / 0.6632 GB, free: 7.18 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.086e-05/0.163, allocations: 4.359 kB / 0.6632 GB, free: 7.176 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.731e-05/0.163, allocations: 4.375 kB / 0.6632 GB, free: 7.172 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00025/0.1633, allocations: 66.2 kB / 0.6633 GB, free: 7.102 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.1633, allocations: 4.188 kB / 0.6633 GB, free: 7.098 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.42e-05/0.1633, allocations: 3.938 kB / 0.6633 GB, free: 7.094 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.1633, allocations: 0 / 0.6633 GB, free: 7.094 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002747/0.1636, allocations: 51.94 kB / 0.6634 GB, free: 7.043 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004516/0.1641, allocations: 280.8 kB / 0.6636 GB, free: 6.719 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002155/0.1643, allocations: 58.48 kB / 0.6637 GB, free: 6.652 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001371/0.1644, allocations: 28.89 kB / 0.6637 GB, free: 6.621 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.995e-05/0.1645, allocations: 8 kB / 0.6637 GB, free: 6.613 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.153e-05/0.1645, allocations: 30.56 kB / 0.6637 GB, free: 6.574 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.183e-06/0.1645, allocations: 0 / 0.6637 GB, free: 6.574 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0005072/0.165, allocations: 125.5 kB / 0.6639 GB, free: 6.445 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.734e-05/0.165, allocations: 51.41 kB / 0.6639 GB, free: 6.383 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.892e-05/0.1651, allocations: 97.86 kB / 0.664 GB, free: 6.277 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.709e-05/0.1651, allocations: 25.7 kB / 0.664 GB, free: 6.246 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.784e-05/0.1652, allocations: 88.12 kB / 0.6641 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.909e-05/0.1652, allocations: 3.906 kB / 0.6641 GB, free: 6.152 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.685e-05/0.1653, allocations: 13.72 kB / 0.6641 GB, free: 6.133 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001071/0.1654, allocations: 318.8 kB / 0.6644 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001332/0.1655, allocations: 32 kB / 0.6645 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001226/0.1657, allocations: 27.91 kB / 0.6645 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000258/0.1659, allocations: 56.88 kB / 0.6645 GB, free: 5.695 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.1659, allocations: 0 / 0.6645 GB, free: 5.695 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000308/0.1662, allocations: 93.5 kB / 0.6646 GB, free: 5.598 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.1663, allocations: 8 kB / 0.6646 GB, free: 5.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.1663, allocations: 0 / 0.6646 GB, free: 5.59 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.1663, allocations: 3.938 kB / 0.6647 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001317/0.1664, allocations: 16.02 kB / 0.6647 GB, free: 5.57 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.1664, allocations: 0 / 0.6647 GB, free: 5.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.913e-05/0.1665, allocations: 7.984 kB / 0.6647 GB, free: 5.562 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.956e-06/0.1666, allocations: 4 kB / 0.6647 GB, free: 5.559 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 8.065e-05/0.1666, allocations: 114.7 kB / 0.6648 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.829e-05/0.1667, allocations: 0 / 0.6648 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.466e-05/0.1667, allocations: 15.11 kB / 0.6648 GB, free: 5.418 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.626e-06/0.1667, allocations: 4 kB / 0.6648 GB, free: 5.414 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.1667, allocations: 0 / 0.6648 GB, free: 5.414 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.1667, allocations: 0 / 0.6648 GB, free: 5.414 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001689/0.1669, allocations: 169.6 kB / 0.665 GB, free: 5.199 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.1669, allocations: 4 kB / 0.665 GB, free: 5.195 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001126/0.167, allocations: 11.98 kB / 0.665 GB, free: 5.184 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.1671, allocations: 192 / 0.665 GB, free: 5.184 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.203e-05/0.1671, allocations: 3.984 kB / 0.665 GB, free: 5.18 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.1671, allocations: 7.938 kB / 0.665 GB, free: 5.172 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1671, allocations: 0 / 0.665 GB, free: 5.172 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003539/0.1674, allocations: 187.3 kB / 0.6652 GB, free: 4.973 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.457e-05/0.1675, allocations: 85.09 kB / 0.6653 GB, free: 4.871 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.612e-05/0.1675, allocations: 4.031 kB / 0.6653 GB, free: 4.867 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001178/0.1676, allocations: 4 kB / 0.6653 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.584e-05/0.1677, allocations: 3.984 kB / 0.6653 GB, free: 4.859 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.871e-06/0.1677, allocations: 4 kB / 0.6653 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.096e-05/0.1677, allocations: 83.28 kB / 0.6653 GB, free: 4.773 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1678, allocations: 0 / 0.6653 GB, free: 4.773 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002414/0.168, allocations: 8 kB / 0.6654 GB, free: 4.766 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 (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 Backend phase and start with SimCode phase: time 0.0001862/0.1682, allocations: 115.2 kB / 0.6655 GB, free: 4.641 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003127/0.1685, allocations: 63.81 kB / 0.6655 GB, free: 4.578 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.1685, allocations: 0 / 0.6655 GB, free: 4.578 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001396/0.1687, allocations: 36.02 kB / 0.6656 GB, free: 4.543 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002919/0.169, allocations: 11.88 kB / 0.6656 GB, free: 4.531 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004425/0.1694, allocations: 144.3 kB / 0.6657 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002376/0.1697, allocations: 0.6768 MB / 0.6664 GB, free: 3.656 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.59e-05/0.1697, allocations: 15.42 kB / 0.6664 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of SimCode: time 3.81e-07/0.1697, allocations: 0 / 0.6664 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of Templates: time 0.002281/0.172, allocations: 0.912 MB / 0.6673 GB, free: 2.734 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.makefile (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.sim & ./IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1)