Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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_dev_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.001546/0.001546, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001736/0.001736, allocations: 198.1 kB / 16.14 MB, free: 6.719 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.467/1.467, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9182/0.9182, allocations: 135.1 MB / 425.1 MB, free: 12.05 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001205/0.001205, allocations: 63.3 kB / 0.5047 GB, free: 5.758 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.168/0.1693, allocations: 80.93 MB / 0.5837 GB, free: 4.996 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.002397/0.1717, allocations: 1.341 MB / 0.585 GB, free: 3.637 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001087/0.1728, allocations: 0.649 MB / 0.5857 GB, free: 2.984 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.422e-05/0.1728, allocations: 0 / 0.5857 GB, free: 2.984 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.708e-05/0.1729, allocations: 0 / 0.5857 GB, free: 2.984 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.518e-05/0.1729, allocations: 11.92 kB / 0.5857 GB, free: 2.973 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000393/0.1733, allocations: 95.62 kB / 0.5858 GB, free: 2.879 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.649e-05/0.1734, allocations: 23.92 kB / 0.5858 GB, free: 2.855 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.097e-05/0.1734, allocations: 7.984 kB / 0.5858 GB, free: 2.848 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.451e-05/0.1735, allocations: 11.92 kB / 0.5858 GB, free: 2.836 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.079e-05/0.1735, allocations: 11.98 kB / 0.5858 GB, free: 2.824 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.496e-05/0.1736, allocations: 4 kB / 0.5858 GB, free: 2.82 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002926/0.1739, allocations: 143.7 kB / 0.586 GB, free: 2.68 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.66e-05/0.1739, allocations: 11.92 kB / 0.586 GB, free: 2.668 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.146e-05/0.1739, allocations: 15.92 kB / 0.586 GB, free: 2.652 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001959/0.1741, allocations: 100 kB / 0.5861 GB, free: 2.555 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.1742, allocations: 4 kB / 0.5861 GB, free: 2.551 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.1742, allocations: 0 / 0.5861 GB, free: 2.551 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.747e-06/0.1742, allocations: 0 / 0.5861 GB, free: 2.551 MB / 494.1 MB 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.0004651/0.1746, allocations: 355.4 kB / 0.5864 GB, free: 2.152 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.753e-05/0.1747, allocations: 12.03 kB / 0.5864 GB, free: 2.141 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004702/0.1752, allocations: 28.91 kB / 0.5865 GB, free: 2.113 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001182/0.1753, allocations: 164.4 kB / 0.5866 GB, free: 1.914 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.356e-06/0.1753, allocations: 384 / 0.5866 GB, free: 1.914 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.546e-05/0.1754, allocations: 4.375 kB / 0.5866 GB, free: 1.91 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001845/0.1755, allocations: 58.22 kB / 0.5867 GB, free: 1.848 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.1756, allocations: 192 / 0.5867 GB, free: 1.848 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.547e-05/0.1756, allocations: 7.938 kB / 0.5867 GB, free: 1.84 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.1756, allocations: 3.938 kB / 0.5867 GB, free: 1.836 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001404/0.1757, allocations: 27.97 kB / 0.5867 GB, free: 1.809 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000181/0.1759, allocations: 157.7 kB / 0.5869 GB, free: 1.605 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003405/0.1763, allocations: 74.52 kB / 0.5869 GB, free: 1.523 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.062e-05/0.1764, allocations: 24.94 kB / 0.587 GB, free: 1.496 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.856e-05/0.1764, allocations: 7.984 kB / 0.587 GB, free: 1.488 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.745e-05/0.1764, allocations: 38.55 kB / 0.587 GB, free: 1.441 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.323e-06/0.1765, allocations: 0 / 0.587 GB, free: 1.441 MB / 494.1 MB Notification: Performance of matching and sorting (n=6): time 0.003823/0.1803, allocations: 0.5682 MB / 0.5876 GB, free: 0.8203 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.83e-05/0.1803, allocations: 59.34 kB / 0.5876 GB, free: 0.75 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.924e-05/0.1804, allocations: 89.86 kB / 0.5877 GB, free: 0.6523 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.379e-05/0.1804, allocations: 29.7 kB / 0.5877 GB, free: 0.6172 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.418e-05/0.1805, allocations: 92.25 kB / 0.5878 GB, free: 0.5234 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.541e-05/0.1805, allocations: 11.72 kB / 0.5878 GB, free: 0.5117 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.074e-05/0.1806, allocations: 29.69 kB / 0.5879 GB, free: 488 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.761e-05/0.1807, allocations: 314.8 kB / 0.5882 GB, free: 164 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001431/0.1808, allocations: 39.91 kB / 0.5882 GB, free: 124 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001439/0.181, allocations: 35.97 kB / 0.5882 GB, free: 88 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003093/0.1813, allocations: 89.03 kB / 0.5883 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.1813, allocations: 0 / 0.5883 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003578/0.1817, allocations: 125.5 kB / 0.5884 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.1817, allocations: 7.938 kB / 0.5884 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.1817, allocations: 0 / 0.5884 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.1817, allocations: 4 kB / 0.5885 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002421/0.182, allocations: 23.97 kB / 0.5885 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.182, allocations: 0 / 0.5885 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001667/0.1822, allocations: 7.984 kB / 0.5885 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.683e-05/0.1822, allocations: 8 kB / 0.5885 GB, free: 15.81 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 8.536e-05/0.1823, allocations: 113.8 kB / 0.5886 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.794e-05/0.1823, allocations: 11.84 kB / 0.5886 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.895e-05/0.1824, allocations: 8.297 kB / 0.5886 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.1824, allocations: 8 kB / 0.5886 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.1824, allocations: 0 / 0.5886 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.1824, allocations: 3.984 kB / 0.5886 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000188/0.1826, allocations: 183.7 kB / 0.5888 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.1826, allocations: 0 / 0.5888 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002551/0.1829, allocations: 19.97 kB / 0.5888 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.451e-06/0.1829, allocations: 3.938 kB / 0.5888 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.302e-05/0.1829, allocations: 15.92 kB / 0.5888 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.1829, allocations: 0 / 0.5888 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.1829, allocations: 0 / 0.5888 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005575/0.1835, allocations: 181 kB / 0.589 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.318e-05/0.1836, allocations: 92.98 kB / 0.5891 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.715e-05/0.1836, allocations: 4.062 kB / 0.5891 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002065/0.1838, allocations: 11.98 kB / 0.5891 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.674e-05/0.1838, allocations: 4.109 kB / 0.5891 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.627e-05/0.1838, allocations: 8 kB / 0.5891 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.096e-05/0.1839, allocations: 75.28 kB / 0.5892 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1839, allocations: 0 / 0.5892 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002512/0.1841, allocations: 39.92 kB / 0.5892 GB, free: 14.94 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.0002236/0.1844, allocations: 133 kB / 0.5894 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003287/0.1847, allocations: 87.92 kB / 0.5895 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1847, allocations: 0 / 0.5895 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001598/0.1849, allocations: 51.95 kB / 0.5895 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000247/0.1851, allocations: 8.547 kB / 0.5895 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006686/0.1858, allocations: 175.9 kB / 0.5897 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00021/0.186, allocations: 0.6848 MB / 0.5903 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002242/0.1863, allocations: 28.22 kB / 0.5904 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.28e-05/0.1863, allocations: 15.42 kB / 0.5904 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.1863, allocations: 0 / 0.5904 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of Templates: time 0.003616/0.19, allocations: 1.45 MB / 0.5918 GB, free: 12.32 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & ./IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1)