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.001309/0.001309, allocations: 108.8 kB / 16.41 MB, free: 6.504 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.001301/0.001301, allocations: 189.2 kB / 17.34 MB, free: 5.758 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.447/1.447, 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/package.mo): time 0.8635/0.8635, allocations: 132.2 MB / 423.4 MB, free: 6.57 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001972/0.001972, allocations: 67.34 kB / 0.582 GB, free: 23.87 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1534/0.1553, allocations: 80.19 MB / 0.6603 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.002681/0.158, allocations: 1.409 MB / 0.6617 GB, free: 8.988 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001078/0.1591, allocations: 0.6006 MB / 0.6623 GB, free: 8.383 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.356e-05/0.1591, allocations: 0 / 0.6623 GB, free: 8.383 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.3e-05/0.1592, allocations: 0 / 0.6623 GB, free: 8.383 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.463e-05/0.1592, allocations: 11.92 kB / 0.6623 GB, free: 8.371 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003747/0.1596, allocations: 91.58 kB / 0.6624 GB, free: 8.281 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.828e-05/0.1597, allocations: 27.86 kB / 0.6624 GB, free: 8.254 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.962e-05/0.1597, allocations: 11.98 kB / 0.6624 GB, free: 8.242 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.671e-05/0.1598, allocations: 15.94 kB / 0.6624 GB, free: 8.227 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.031e-05/0.1598, allocations: 19.91 kB / 0.6624 GB, free: 8.207 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.035e-05/0.1598, allocations: 0 / 0.6624 GB, free: 8.207 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000274/0.1601, allocations: 139.8 kB / 0.6626 GB, free: 8.07 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.047e-06/0.1601, allocations: 0 / 0.6626 GB, free: 8.07 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.483e-05/0.1601, allocations: 11.94 kB / 0.6626 GB, free: 8.059 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002179/0.1604, allocations: 99.75 kB / 0.6627 GB, free: 7.961 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.1604, allocations: 0 / 0.6627 GB, free: 7.961 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.086e-06/0.1604, allocations: 7.922 kB / 0.6627 GB, free: 7.953 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.959e-06/0.1604, allocations: 0 / 0.6627 GB, free: 7.953 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.0005085/0.1609, allocations: 371.1 kB / 0.663 GB, free: 7.539 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.44e-05/0.1609, allocations: 8.031 kB / 0.6631 GB, free: 7.531 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004226/0.1613, allocations: 24.91 kB / 0.6631 GB, free: 7.508 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001428/0.1615, allocations: 172.3 kB / 0.6632 GB, free: 7.301 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.127e-05/0.1615, allocations: 384 / 0.6632 GB, free: 7.301 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.155e-05/0.1615, allocations: 4.312 kB / 0.6632 GB, free: 7.297 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002487/0.1618, allocations: 66.2 kB / 0.6633 GB, free: 7.227 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.1618, allocations: 192 / 0.6633 GB, free: 7.227 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.5e-05/0.1618, allocations: 7.938 kB / 0.6633 GB, free: 7.219 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.399e-06/0.1618, allocations: 0 / 0.6633 GB, free: 7.219 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002747/0.1621, allocations: 51.94 kB / 0.6634 GB, free: 7.168 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004846/0.1625, allocations: 280.8 kB / 0.6636 GB, free: 6.844 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000234/0.1628, allocations: 62.47 kB / 0.6637 GB, free: 6.773 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001403/0.1629, allocations: 32.89 kB / 0.6637 GB, free: 6.738 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.842e-05/0.1629, allocations: 0 / 0.6637 GB, free: 6.738 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.527e-05/0.163, allocations: 38.56 kB / 0.6638 GB, free: 6.691 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 8.62e-07/0.163, allocations: 0 / 0.6638 GB, free: 6.691 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0005232/0.1635, allocations: 113.6 kB / 0.6639 GB, free: 6.574 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.272e-05/0.1635, allocations: 51.41 kB / 0.6639 GB, free: 6.512 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.427e-05/0.1636, allocations: 101.8 kB / 0.664 GB, free: 6.402 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.1637, allocations: 25.7 kB / 0.664 GB, free: 6.371 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.842e-05/0.1637, allocations: 84.14 kB / 0.6641 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.092e-05/0.1637, allocations: 3.953 kB / 0.6641 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.285e-05/0.1638, allocations: 21.7 kB / 0.6641 GB, free: 6.254 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001519/0.1639, allocations: 314.9 kB / 0.6644 GB, free: 5.938 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001347/0.1641, allocations: 23.97 kB / 0.6645 GB, free: 5.914 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001389/0.1642, allocations: 31.91 kB / 0.6645 GB, free: 5.883 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002574/0.1644, allocations: 56.88 kB / 0.6646 GB, free: 5.824 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.1645, allocations: 0 / 0.6646 GB, free: 5.824 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003299/0.1648, allocations: 101.5 kB / 0.6646 GB, free: 5.719 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.1648, allocations: 4 kB / 0.6647 GB, free: 5.715 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.1648, allocations: 0 / 0.6647 GB, free: 5.715 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.1648, allocations: 8.031 kB / 0.6647 GB, free: 5.707 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001332/0.1649, allocations: 11.98 kB / 0.6647 GB, free: 5.695 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.165, allocations: 0 / 0.6647 GB, free: 5.695 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.167e-05/0.165, allocations: 7.984 kB / 0.6647 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.584e-06/0.1651, allocations: 192 / 0.6647 GB, free: 5.688 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 9.333e-05/0.1651, allocations: 118.6 kB / 0.6648 GB, free: 5.562 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.797e-05/0.1652, allocations: 0 / 0.6648 GB, free: 5.562 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.842e-05/0.1652, allocations: 19.09 kB / 0.6648 GB, free: 5.539 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.1652, allocations: 0 / 0.6648 GB, free: 5.539 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.1652, allocations: 4 kB / 0.6648 GB, free: 5.535 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.1652, allocations: 4 kB / 0.6648 GB, free: 5.531 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001956/0.1654, allocations: 161.6 kB / 0.665 GB, free: 5.324 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-06/0.1654, allocations: 0 / 0.665 GB, free: 5.324 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001173/0.1655, allocations: 15.97 kB / 0.665 GB, free: 5.309 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.1656, allocations: 0 / 0.665 GB, free: 5.309 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.096e-05/0.1656, allocations: 11.94 kB / 0.665 GB, free: 5.297 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.1656, allocations: 0 / 0.665 GB, free: 5.297 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.1656, allocations: 3.938 kB / 0.665 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000378/0.1659, allocations: 183.4 kB / 0.6652 GB, free: 5.098 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.771e-05/0.166, allocations: 85.09 kB / 0.6653 GB, free: 4.996 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.818e-05/0.166, allocations: 4 kB / 0.6653 GB, free: 4.992 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001224/0.1661, allocations: 7.984 kB / 0.6653 GB, free: 4.984 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.325e-05/0.1662, allocations: 4 kB / 0.6653 GB, free: 4.98 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.741e-06/0.1662, allocations: 0 / 0.6653 GB, free: 4.98 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.337e-05/0.1662, allocations: 83.27 kB / 0.6654 GB, free: 4.898 MB / 0.4981 GB Notification: Performance of sort global known variables: time 6e-08/0.1662, allocations: 0 / 0.6654 GB, free: 4.898 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002546/0.1665, allocations: 15.94 kB / 0.6654 GB, free: 4.883 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.0001919/0.1667, allocations: 119.2 kB / 0.6655 GB, free: 4.754 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003272/0.167, allocations: 63.81 kB / 0.6655 GB, free: 4.691 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.167, allocations: 0 / 0.6655 GB, free: 4.691 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001467/0.1671, allocations: 32.03 kB / 0.6656 GB, free: 4.66 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002655/0.1674, allocations: 15 kB / 0.6656 GB, free: 4.652 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004656/0.1679, allocations: 130.5 kB / 0.6657 GB, free: 4.5 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003427/0.1682, allocations: 0.6729 MB / 0.6664 GB, free: 3.801 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.029e-05/0.1683, allocations: 12.05 kB / 0.6664 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.894e-05/0.1683, allocations: 11.44 kB / 0.6664 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of SimCode: time 3.41e-07/0.1683, allocations: 0 / 0.6664 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of Templates: time 0.003429/0.1718, allocations: 0.7844 MB / 0.6672 GB, free: 2.996 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 -s gbode -lv LOG_STATS > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1)