Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.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.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") translateModel(IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005469/0.005474, allocations: 100.9 kB / 15.73 MB, free: 6.004 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.001153/0.001153, allocations: 193.3 kB / 16.67 MB, free: 5.922 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.382/1.382, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8288/0.8288, allocations: 132.2 MB / 422.7 MB, free: 6.527 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001175/0.001175, allocations: 57.5 kB / 0.5814 GB, free: 23.76 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1632/0.1644, allocations: 80.21 MB / 0.6597 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.002467/0.1669, allocations: 1.279 MB / 0.6609 GB, free: 8.961 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001052/0.168, allocations: 0.6475 MB / 0.6616 GB, free: 8.309 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.409e-05/0.1681, allocations: 0 / 0.6616 GB, free: 8.309 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.844e-05/0.1681, allocations: 4 kB / 0.6616 GB, free: 8.305 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.275e-05/0.1682, allocations: 7.922 kB / 0.6616 GB, free: 8.297 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004708/0.1686, allocations: 110.2 kB / 0.6617 GB, free: 8.191 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.575e-05/0.1687, allocations: 27.92 kB / 0.6617 GB, free: 8.164 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.058e-05/0.1688, allocations: 3.984 kB / 0.6617 GB, free: 8.16 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.609e-05/0.1688, allocations: 15.94 kB / 0.6617 GB, free: 8.145 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.571e-05/0.1689, allocations: 7.984 kB / 0.6617 GB, free: 8.137 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.204e-05/0.1689, allocations: 0 / 0.6617 GB, free: 8.137 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000283/0.1692, allocations: 147.7 kB / 0.6619 GB, free: 7.992 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.606e-05/0.1692, allocations: 7.922 kB / 0.6619 GB, free: 7.984 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.459e-05/0.1692, allocations: 8 kB / 0.6619 GB, free: 7.977 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002193/0.1695, allocations: 103.7 kB / 0.662 GB, free: 7.875 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.1695, allocations: 0 / 0.662 GB, free: 7.875 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.092e-06/0.1695, allocations: 8 kB / 0.662 GB, free: 7.867 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.584e-06/0.1695, allocations: 0 / 0.662 GB, free: 7.867 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004488/0.1699, allocations: 355.2 kB / 0.6623 GB, free: 7.469 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.529e-05/0.17, allocations: 12.03 kB / 0.6624 GB, free: 7.457 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003947/0.1704, allocations: 24.91 kB / 0.6624 GB, free: 7.434 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001491/0.1705, allocations: 168.4 kB / 0.6625 GB, free: 7.23 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.136e-05/0.1706, allocations: 384 / 0.6625 GB, free: 7.23 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.613e-05/0.1706, allocations: 4.375 kB / 0.6625 GB, free: 7.227 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001719/0.1708, allocations: 58.16 kB / 0.6626 GB, free: 7.164 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.1708, allocations: 4.188 kB / 0.6626 GB, free: 7.16 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.349e-05/0.1708, allocations: 3.938 kB / 0.6626 GB, free: 7.156 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.1708, allocations: 0 / 0.6626 GB, free: 7.156 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001369/0.171, allocations: 31.97 kB / 0.6626 GB, free: 7.125 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001649/0.1711, allocations: 161.6 kB / 0.6628 GB, free: 6.918 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003155/0.1714, allocations: 66.52 kB / 0.6629 GB, free: 6.844 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.213e-05/0.1715, allocations: 32.92 kB / 0.6629 GB, free: 6.809 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.713e-05/0.1716, allocations: 0 / 0.6629 GB, free: 6.809 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.549e-05/0.1716, allocations: 38.56 kB / 0.6629 GB, free: 6.762 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 8.41e-07/0.1716, allocations: 0 / 0.6629 GB, free: 6.762 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.003215/0.1748, allocations: 0.5798 MB / 0.6635 GB, free: 6.129 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.809e-05/0.1749, allocations: 55.41 kB / 0.6635 GB, free: 6.062 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.479e-05/0.175, allocations: 93.84 kB / 0.6636 GB, free: 5.961 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.285e-05/0.175, allocations: 29.7 kB / 0.6637 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.999e-05/0.175, allocations: 88.12 kB / 0.6637 GB, free: 5.836 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.812e-05/0.1751, allocations: 15.86 kB / 0.6638 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.31e-05/0.1752, allocations: 29.69 kB / 0.6638 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001096/0.1753, allocations: 315 kB / 0.6641 GB, free: 5.469 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001478/0.1754, allocations: 39.97 kB / 0.6641 GB, free: 5.43 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001327/0.1756, allocations: 39.91 kB / 0.6642 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000276/0.1759, allocations: 84.81 kB / 0.6642 GB, free: 5.305 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.1759, allocations: 0 / 0.6642 GB, free: 5.305 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003411/0.1762, allocations: 117.6 kB / 0.6644 GB, free: 5.184 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.216e-05/0.1763, allocations: 7.938 kB / 0.6644 GB, free: 5.176 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.1763, allocations: 0 / 0.6644 GB, free: 5.176 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.182e-05/0.1763, allocations: 8.062 kB / 0.6644 GB, free: 5.168 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002039/0.1765, allocations: 23.97 kB / 0.6644 GB, free: 5.145 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.277e-06/0.1765, allocations: 0 / 0.6644 GB, free: 5.145 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001362/0.1767, allocations: 11.92 kB / 0.6644 GB, free: 5.133 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.743e-05/0.1767, allocations: 7.984 kB / 0.6644 GB, free: 5.125 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 (7): * Single equations (assignments): 7 * 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.941e-05/0.1768, allocations: 110.7 kB / 0.6645 GB, free: 5.008 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.675e-05/0.1768, allocations: 7.938 kB / 0.6645 GB, free: 5 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.24e-05/0.1769, allocations: 11.97 kB / 0.6645 GB, free: 4.977 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.1769, allocations: 4 kB / 0.6645 GB, free: 4.973 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/0.1769, allocations: 0 / 0.6645 GB, free: 4.973 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.177, allocations: 0 / 0.6645 GB, free: 4.973 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001956/0.1772, allocations: 183.7 kB / 0.6647 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.1772, allocations: 11.94 kB / 0.6647 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002047/0.1774, allocations: 19.97 kB / 0.6647 GB, free: 4.715 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.472e-06/0.1774, allocations: 3.938 kB / 0.6647 GB, free: 4.711 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.146e-05/0.1774, allocations: 11.98 kB / 0.6648 GB, free: 4.699 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-06/0.1774, allocations: 0 / 0.6648 GB, free: 4.699 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.1774, allocations: 0 / 0.6648 GB, free: 4.699 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005519/0.178, allocations: 192.9 kB / 0.6649 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.454e-05/0.178, allocations: 89.06 kB / 0.665 GB, free: 4.387 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.302e-05/0.1781, allocations: 3.938 kB / 0.665 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001655/0.1782, allocations: 8 kB / 0.665 GB, free: 4.375 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.881e-05/0.1783, allocations: 8.047 kB / 0.665 GB, free: 4.367 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.489e-05/0.1783, allocations: 4 kB / 0.6651 GB, free: 4.363 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.289e-05/0.1783, allocations: 83.27 kB / 0.6651 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1783, allocations: 0 / 0.6651 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002399/0.1786, allocations: 31.88 kB / 0.6652 GB, free: 4.25 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y_comp) * 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 (6): * Single equations (assignments): 6 * 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.0002023/0.1788, allocations: 123.1 kB / 0.6653 GB, free: 4.121 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003244/0.1791, allocations: 91.95 kB / 0.6654 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.1791, allocations: 4 kB / 0.6654 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001419/0.1793, allocations: 47.95 kB / 0.6654 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002174/0.1795, allocations: 6.688 kB / 0.6654 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006204/0.1802, allocations: 165.9 kB / 0.6656 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003226/0.1805, allocations: 0.6768 MB / 0.6662 GB, free: 3.086 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001617/0.1807, allocations: 28.38 kB / 0.6663 GB, free: 3.059 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.833e-05/0.1807, allocations: 19.42 kB / 0.6663 GB, free: 3.039 MB / 0.4981 GB Notification: Performance of SimCode: time 6.31e-07/0.1808, allocations: 0 / 0.6663 GB, free: 3.039 MB / 0.4981 GB Notification: Performance of Templates: time 0.004294/0.1851, allocations: 1.509 MB / 0.6678 GB, free: 1.582 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.makefile (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & ./IDEAS_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1)