Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.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-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.Functions.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure") translateModel(IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001576/0.001576, allocations: 111.7 kB / 16.41 MB, free: 6.492 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.00186/0.00186, allocations: 183 kB / 17.34 MB, free: 5.762 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.472/1.472, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8713/0.8713, allocations: 135.2 MB / 426.4 MB, free: 4.074 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001845/0.001845, allocations: 62.41 kB / 0.5863 GB, free: 21.64 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.158/0.1599, allocations: 80.93 MB / 0.6654 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.002376/0.1623, allocations: 1.279 MB / 0.6666 GB, free: 4.457 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009741/0.1632, allocations: 0.5735 MB / 0.6672 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.795e-05/0.1632, allocations: 4 kB / 0.6672 GB, free: 3.875 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.032e-05/0.1633, allocations: 0 / 0.6672 GB, free: 3.875 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.595e-05/0.1633, allocations: 11.91 kB / 0.6672 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003837/0.1637, allocations: 91.58 kB / 0.6673 GB, free: 3.773 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.571e-05/0.1638, allocations: 19.88 kB / 0.6673 GB, free: 3.754 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.118e-05/0.1638, allocations: 3.984 kB / 0.6673 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.266e-05/0.1638, allocations: 11.94 kB / 0.6673 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.513e-05/0.1639, allocations: 7.984 kB / 0.6673 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.02e-05/0.1639, allocations: 0 / 0.6673 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002687/0.1642, allocations: 147.7 kB / 0.6675 GB, free: 3.586 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.177e-06/0.1642, allocations: 0 / 0.6675 GB, free: 3.586 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.683e-05/0.1642, allocations: 11.92 kB / 0.6675 GB, free: 3.574 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001963/0.1644, allocations: 95.77 kB / 0.6676 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.1644, allocations: 0 / 0.6676 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.893e-06/0.1644, allocations: 3.938 kB / 0.6676 GB, free: 3.477 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.791e-06/0.1644, allocations: 0 / 0.6676 GB, free: 3.477 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004385/0.1648, allocations: 343.2 kB / 0.6679 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.1649, allocations: 13.11 kB / 0.6679 GB, free: 3.078 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004058/0.1653, allocations: 32.91 kB / 0.6679 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001411/0.1654, allocations: 164.4 kB / 0.6681 GB, free: 2.848 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.211e-05/0.1654, allocations: 384 / 0.6681 GB, free: 2.848 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.443e-05/0.1655, allocations: 384 / 0.6681 GB, free: 2.848 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001877/0.1656, allocations: 46.23 kB / 0.6681 GB, free: 2.797 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.1657, allocations: 4.125 kB / 0.6681 GB, free: 2.793 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.322e-05/0.1657, allocations: 11.94 kB / 0.6681 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.1657, allocations: 0 / 0.6681 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001296/0.1658, allocations: 19.97 kB / 0.6682 GB, free: 2.762 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001966/0.166, allocations: 161.6 kB / 0.6683 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001599/0.1662, allocations: 42.55 kB / 0.6684 GB, free: 2.504 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.427e-05/0.1662, allocations: 20.91 kB / 0.6684 GB, free: 2.48 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.144e-05/0.1663, allocations: 0 / 0.6684 GB, free: 2.48 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.223e-05/0.1663, allocations: 30.56 kB / 0.6684 GB, free: 2.441 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.1663, allocations: 3.938 kB / 0.6684 GB, free: 2.438 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003267/0.1666, allocations: 81.53 kB / 0.6685 GB, free: 2.352 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.963e-05/0.1667, allocations: 51.41 kB / 0.6685 GB, free: 2.289 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.806e-05/0.1667, allocations: 93.86 kB / 0.6686 GB, free: 2.188 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.906e-05/0.1668, allocations: 25.7 kB / 0.6687 GB, free: 2.156 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.792e-05/0.1668, allocations: 84.14 kB / 0.6687 GB, free: 2.07 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.862e-05/0.1668, allocations: 7.953 kB / 0.6687 GB, free: 2.062 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.884e-05/0.1669, allocations: 13.7 kB / 0.6688 GB, free: 2.043 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001405/0.167, allocations: 319 kB / 0.6691 GB, free: 1.723 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.816e-05/0.1671, allocations: 11.98 kB / 0.6691 GB, free: 1.711 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.796e-05/0.1671, allocations: 11.98 kB / 0.6691 GB, free: 1.699 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001316/0.1673, allocations: 36.72 kB / 0.6691 GB, free: 1.66 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.1673, allocations: 0 / 0.6691 GB, free: 1.66 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000181/0.1675, allocations: 65.69 kB / 0.6692 GB, free: 1.59 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.1675, allocations: 4 kB / 0.6692 GB, free: 1.586 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.1675, allocations: 7.922 kB / 0.6692 GB, free: 1.578 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/0.1675, allocations: 4 kB / 0.6692 GB, free: 1.574 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.663e-05/0.1676, allocations: 4 kB / 0.6692 GB, free: 1.57 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.1676, allocations: 0 / 0.6692 GB, free: 1.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.966e-05/0.1677, allocations: 7.984 kB / 0.6692 GB, free: 1.562 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.534e-06/0.1677, allocations: 4.031 kB / 0.6692 GB, free: 1.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.436e-05/0.1678, allocations: 113.8 kB / 0.6693 GB, free: 1.438 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.139e-05/0.1678, allocations: 0 / 0.6693 GB, free: 1.438 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.718e-05/0.1678, allocations: 7.062 kB / 0.6693 GB, free: 1.426 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.1678, allocations: 0 / 0.6693 GB, free: 1.426 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.1678, allocations: 0 / 0.6693 GB, free: 1.426 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.895e-06/0.1678, allocations: 7.984 kB / 0.6693 GB, free: 1.418 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001361/0.168, allocations: 161.7 kB / 0.6695 GB, free: 1.211 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.168, allocations: 0 / 0.6695 GB, free: 1.211 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.315e-05/0.168, allocations: 11.92 kB / 0.6695 GB, free: 1.199 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.168, allocations: 192 / 0.6695 GB, free: 1.199 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.082e-05/0.168, allocations: 3.938 kB / 0.6695 GB, free: 1.195 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.168, allocations: 0 / 0.6695 GB, free: 1.195 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.1681, allocations: 0 / 0.6695 GB, free: 1.195 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002124/0.1683, allocations: 89.09 kB / 0.6696 GB, free: 1.09 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.547e-05/0.1683, allocations: 89.03 kB / 0.6697 GB, free: 0.9844 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.739e-05/0.1684, allocations: 3.938 kB / 0.6697 GB, free: 0.9805 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.694e-05/0.1684, allocations: 4 kB / 0.6697 GB, free: 0.9766 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.57e-05/0.1684, allocations: 3.984 kB / 0.6697 GB, free: 0.9727 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.873e-06/0.1684, allocations: 4 kB / 0.6697 GB, free: 0.9688 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.33e-05/0.1685, allocations: 75.28 kB / 0.6698 GB, free: 0.8945 MB / 0.4981 GB Notification: Performance of sort global known variables: time 6e-08/0.1685, allocations: 0 / 0.6698 GB, free: 0.8945 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001992/0.1687, allocations: 19.97 kB / 0.6698 GB, free: 0.875 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.0001851/0.1689, allocations: 115.1 kB / 0.6699 GB, free: 0.75 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001858/0.169, allocations: 27.97 kB / 0.6699 GB, free: 0.7227 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.1691, allocations: 3.938 kB / 0.6699 GB, free: 0.7188 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.009e-05/0.1691, allocations: 20.05 kB / 0.6699 GB, free: 0.6992 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002404/0.1694, allocations: 5.719 kB / 0.6699 GB, free: 0.6953 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003768/0.1697, allocations: 144.2 kB / 0.6701 GB, free: 0.5234 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003187/0.1701, allocations: 0.6806 MB / 0.6707 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.461e-05/0.1701, allocations: 15.42 kB / 0.6708 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of SimCode: time 3.1e-07/0.1701, allocations: 0 / 0.6708 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of Templates: time 0.002468/0.1726, allocations: 0.7818 MB / 0.6715 GB, free: 15.02 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & ./IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1)