Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.Functions.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure") translateModel(IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.007214/0.007214, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001715/0.001715, allocations: 197.3 kB / 16.68 MB, free: 5.93 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.38/1.38, allocations: 222.9 MB / 240.4 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.814/0.814, allocations: 132.2 MB / 422.7 MB, free: 6.539 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00129/0.00129, allocations: 60.12 kB / 0.5813 GB, free: 23.8 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1683/0.1696, allocations: 80.21 MB / 0.6597 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.002376/0.1721, allocations: 1.276 MB / 0.6609 GB, free: 8.961 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009376/0.173, allocations: 0.5697 MB / 0.6615 GB, free: 8.387 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.881e-05/0.173, allocations: 0 / 0.6615 GB, free: 8.387 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.709e-05/0.1731, allocations: 4 kB / 0.6615 GB, free: 8.383 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.896e-05/0.1731, allocations: 11.92 kB / 0.6615 GB, free: 8.371 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003978/0.1735, allocations: 87.58 kB / 0.6616 GB, free: 8.285 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.366e-05/0.1736, allocations: 23.86 kB / 0.6616 GB, free: 8.262 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.75e-05/0.1737, allocations: 3.984 kB / 0.6616 GB, free: 8.258 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.506e-05/0.1737, allocations: 11.88 kB / 0.6616 GB, free: 8.246 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.404e-05/0.1738, allocations: 4 kB / 0.6616 GB, free: 8.242 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.166e-05/0.1738, allocations: 4 kB / 0.6616 GB, free: 8.238 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002636/0.174, allocations: 143.8 kB / 0.6618 GB, free: 8.098 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.806e-06/0.1741, allocations: 4 kB / 0.6618 GB, free: 8.094 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.237e-05/0.1741, allocations: 7.938 kB / 0.6618 GB, free: 8.086 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001787/0.1743, allocations: 91.78 kB / 0.6619 GB, free: 7.996 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.1743, allocations: 3.984 kB / 0.6619 GB, free: 7.992 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.313e-06/0.1743, allocations: 0 / 0.6619 GB, free: 7.992 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.62e-06/0.1743, allocations: 0 / 0.6619 GB, free: 7.992 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.0003853/0.1747, allocations: 343.5 kB / 0.6622 GB, free: 7.605 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.307e-05/0.1747, allocations: 8.031 kB / 0.6622 GB, free: 7.598 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004064/0.1752, allocations: 28.91 kB / 0.6622 GB, free: 7.57 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000118/0.1753, allocations: 176.2 kB / 0.6624 GB, free: 7.359 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.245e-05/0.1753, allocations: 4.375 kB / 0.6624 GB, free: 7.355 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.348e-05/0.1753, allocations: 384 / 0.6624 GB, free: 7.355 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001478/0.1755, allocations: 46.23 kB / 0.6624 GB, free: 7.305 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.064e-06/0.1755, allocations: 192 / 0.6624 GB, free: 7.305 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/0.1755, allocations: 3.938 kB / 0.6624 GB, free: 7.301 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.097e-06/0.1755, allocations: 4 kB / 0.6624 GB, free: 7.297 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001234/0.1756, allocations: 23.97 kB / 0.6625 GB, free: 7.273 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001608/0.1758, allocations: 153.7 kB / 0.6626 GB, free: 7.074 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001455/0.176, allocations: 42.58 kB / 0.6627 GB, free: 7.023 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.686e-05/0.176, allocations: 24.84 kB / 0.6627 GB, free: 6.996 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.898e-05/0.1761, allocations: 0 / 0.6627 GB, free: 6.996 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.419e-05/0.1761, allocations: 38.5 kB / 0.6627 GB, free: 6.949 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/0.1761, allocations: 0 / 0.6627 GB, free: 6.949 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.000296/0.1764, allocations: 73.69 kB / 0.6628 GB, free: 6.871 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.956e-05/0.1764, allocations: 55.41 kB / 0.6628 GB, free: 6.805 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.679e-05/0.1765, allocations: 97.86 kB / 0.6629 GB, free: 6.699 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.034e-05/0.1765, allocations: 25.7 kB / 0.663 GB, free: 6.668 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.995e-05/0.1766, allocations: 80.14 kB / 0.663 GB, free: 6.586 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.468e-05/0.1766, allocations: 11.78 kB / 0.663 GB, free: 6.574 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.973e-05/0.1767, allocations: 17.7 kB / 0.6631 GB, free: 6.551 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001058/0.1768, allocations: 318.8 kB / 0.6634 GB, free: 6.23 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.542e-05/0.1768, allocations: 16.02 kB / 0.6634 GB, free: 6.215 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001146/0.177, allocations: 11.98 kB / 0.6634 GB, free: 6.203 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001206/0.1771, allocations: 28.84 kB / 0.6634 GB, free: 6.172 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.1771, allocations: 0 / 0.6634 GB, free: 6.172 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001644/0.1773, allocations: 61.73 kB / 0.6635 GB, free: 6.105 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.1773, allocations: 4 kB / 0.6635 GB, free: 6.102 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.1773, allocations: 3.938 kB / 0.6635 GB, free: 6.098 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.824e-05/0.1773, allocations: 7.984 kB / 0.6635 GB, free: 6.09 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.928e-05/0.1774, allocations: 7.938 kB / 0.6635 GB, free: 6.082 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.1774, allocations: 0 / 0.6635 GB, free: 6.082 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.156e-05/0.1775, allocations: 3.984 kB / 0.6635 GB, free: 6.078 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.424e-06/0.1775, allocations: 4 kB / 0.6635 GB, free: 6.074 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.825e-05/0.1776, allocations: 110.8 kB / 0.6636 GB, free: 5.957 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.135e-05/0.1776, allocations: 0 / 0.6636 GB, free: 5.957 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.979e-05/0.1777, allocations: 15.06 kB / 0.6636 GB, free: 5.938 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.1777, allocations: 0 / 0.6636 GB, free: 5.938 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.1777, allocations: 0 / 0.6636 GB, free: 5.938 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.524e-06/0.1777, allocations: 0 / 0.6636 GB, free: 5.938 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001318/0.1778, allocations: 165.6 kB / 0.6638 GB, free: 5.727 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.083e-06/0.1778, allocations: 4 kB / 0.6638 GB, free: 5.723 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.601e-05/0.1779, allocations: 7.984 kB / 0.6638 GB, free: 5.715 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.417e-06/0.1779, allocations: 4 kB / 0.6638 GB, free: 5.711 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.286e-05/0.178, allocations: 7.938 kB / 0.6638 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.178, allocations: 0 / 0.6638 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.178, allocations: 0 / 0.6638 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001946/0.1782, allocations: 88.95 kB / 0.6639 GB, free: 5.598 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.913e-05/0.1782, allocations: 85.09 kB / 0.664 GB, free: 5.496 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.664e-05/0.1783, allocations: 3.938 kB / 0.664 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.204e-05/0.1783, allocations: 4.188 kB / 0.664 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.635e-05/0.1784, allocations: 3.984 kB / 0.664 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.244e-06/0.1784, allocations: 3.984 kB / 0.664 GB, free: 5.48 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.461e-05/0.1784, allocations: 79.28 kB / 0.6641 GB, free: 5.402 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.1784, allocations: 3.938 kB / 0.6641 GB, free: 5.398 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002089/0.1786, allocations: 20.03 kB / 0.6641 GB, free: 5.379 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.0001659/0.1788, allocations: 107.2 kB / 0.6642 GB, free: 5.262 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001888/0.179, allocations: 35.97 kB / 0.6642 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.179, allocations: 0 / 0.6642 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 6.952e-05/0.1791, allocations: 23.98 kB / 0.6643 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002154/0.1793, allocations: 4 kB / 0.6643 GB, free: 5.199 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000358/0.1797, allocations: 114.5 kB / 0.6644 GB, free: 5.062 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002184/0.1799, allocations: 0.6768 MB / 0.665 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.077e-05/0.18, allocations: 16.05 kB / 0.665 GB, free: 4.344 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.979e-05/0.18, allocations: 7.438 kB / 0.665 GB, free: 4.336 MB / 0.4981 GB Notification: Performance of SimCode: time 2.6e-07/0.18, allocations: 0 / 0.665 GB, free: 4.336 MB / 0.4981 GB Notification: Performance of Templates: time 0.003139/0.1832, allocations: 0.7387 MB / 0.6658 GB, free: 3.617 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.makefile (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & ./IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1)