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.001004/0.001004, allocations: 86.95 kB / 15.06 MB, free: 1.09 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.0009781/0.0009779, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.389/1.389, allocations: 223.3 MB / 240 MB, free: 5.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9573/0.9573, allocations: 135.3 MB / 426.4 MB, free: 14.24 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002892/0.0002892, allocations: 13.16 kB / 0.507 GB, free: 5.098 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.172/0.1723, allocations: 82.3 MB / 0.5874 GB, free: 2.977 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.00152/0.1739, allocations: 0.9978 MB / 0.5884 GB, free: 1.965 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009685/0.1749, allocations: 0.6027 MB / 0.589 GB, free: 1.359 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.762e-05/0.1749, allocations: 4 kB / 0.589 GB, free: 1.355 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.561e-05/0.1749, allocations: 3.984 kB / 0.589 GB, free: 1.352 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.39e-05/0.175, allocations: 7.938 kB / 0.589 GB, free: 1.344 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00037/0.1754, allocations: 83.69 kB / 0.5891 GB, free: 1.262 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.405e-05/0.1754, allocations: 31.8 kB / 0.5891 GB, free: 1.23 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.956e-05/0.1755, allocations: 0 / 0.5891 GB, free: 1.23 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.547e-05/0.1755, allocations: 11.98 kB / 0.5891 GB, free: 1.219 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.587e-05/0.1756, allocations: 15.92 kB / 0.5891 GB, free: 1.203 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.114e-05/0.1756, allocations: 0 / 0.5891 GB, free: 1.203 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002599/0.1759, allocations: 143.8 kB / 0.5892 GB, free: 1.062 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.245e-05/0.1759, allocations: 15.91 kB / 0.5893 GB, free: 1.047 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.824e-05/0.1759, allocations: 25.7 kB / 0.5893 GB, free: 1.016 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001322/0.1761, allocations: 68.14 kB / 0.5893 GB, free: 0.9492 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/0.1761, allocations: 0 / 0.5893 GB, free: 0.9492 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.1761, allocations: 0 / 0.5893 GB, free: 0.9492 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.472e-06/0.1761, allocations: 0 / 0.5893 GB, free: 0.9492 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.0005197/0.1766, allocations: 355.3 kB / 0.5897 GB, free: 0.5547 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.602e-05/0.1767, allocations: 8.031 kB / 0.5897 GB, free: 0.5469 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004249/0.1771, allocations: 27.88 kB / 0.5897 GB, free: 0.5195 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001665/0.1773, allocations: 163 kB / 0.5899 GB, free: 328 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.155e-05/0.1773, allocations: 4 kB / 0.5899 GB, free: 324 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.887e-05/0.1773, allocations: 4 kB / 0.5899 GB, free: 320 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002175/0.1776, allocations: 65.58 kB / 0.5899 GB, free: 248 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.1776, allocations: 0 / 0.5899 GB, free: 248 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.633e-05/0.1776, allocations: 0 / 0.5899 GB, free: 248 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.1776, allocations: 0 / 0.5899 GB, free: 248 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001309/0.1778, allocations: 27.97 kB / 0.59 GB, free: 220 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002203/0.178, allocations: 169.6 kB / 0.5901 GB, free: 0 / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003355/0.1784, allocations: 74.56 kB / 0.5902 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.197e-05/0.1785, allocations: 24.94 kB / 0.5902 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.599e-05/0.1785, allocations: 4 kB / 0.5902 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.841e-05/0.1785, allocations: 34.5 kB / 0.5903 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.1786, allocations: 7.938 kB / 0.5903 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.003211/0.1818, allocations: 0.576 MB / 0.5908 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.788e-05/0.1818, allocations: 51.41 kB / 0.5909 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.161e-05/0.1819, allocations: 97.86 kB / 0.591 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.126e-05/0.1819, allocations: 29.7 kB / 0.591 GB, free: 15 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.272e-05/0.182, allocations: 80.14 kB / 0.5911 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.54e-05/0.182, allocations: 19.7 kB / 0.5911 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.154e-05/0.182, allocations: 4 kB / 0.5911 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001157/0.1822, allocations: 314.8 kB / 0.5914 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000122/0.1823, allocations: 35.97 kB / 0.5914 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000109/0.1824, allocations: 40.09 kB / 0.5915 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001358/0.1826, allocations: 39.97 kB / 0.5915 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.1826, allocations: 0 / 0.5915 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003075/0.1829, allocations: 125.6 kB / 0.5916 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.1829, allocations: 4 kB / 0.5916 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.1829, allocations: 0 / 0.5916 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.1829, allocations: 0 / 0.5916 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002053/0.1831, allocations: 23.97 kB / 0.5917 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.1832, allocations: 0 / 0.5917 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000135/0.1833, allocations: 7.984 kB / 0.5917 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.48e-05/0.1833, allocations: 4 kB / 0.5917 GB, free: 14.3 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.574e-05/0.1834, allocations: 117.8 kB / 0.5918 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.854e-05/0.1834, allocations: 7.906 kB / 0.5918 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.48e-05/0.1835, allocations: 12.19 kB / 0.5918 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.1835, allocations: 0 / 0.5918 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.1835, allocations: 4 kB / 0.5918 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.1835, allocations: 0 / 0.5918 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001918/0.1837, allocations: 199.5 kB / 0.592 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.1837, allocations: 0 / 0.592 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002036/0.184, allocations: 27.91 kB / 0.592 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.184, allocations: 0 / 0.592 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.408e-05/0.184, allocations: 0 / 0.592 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.184, allocations: 3.984 kB / 0.592 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.035e-06/0.184, allocations: 7.984 kB / 0.592 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004927/0.1845, allocations: 189 kB / 0.5922 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.855e-05/0.1846, allocations: 77.11 kB / 0.5923 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.6e-05/0.1846, allocations: 0 / 0.5923 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001718/0.1848, allocations: 16.08 kB / 0.5923 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.928e-05/0.1848, allocations: 4 kB / 0.5923 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.728e-05/0.1848, allocations: 7.984 kB / 0.5923 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.538e-05/0.1849, allocations: 83.22 kB / 0.5924 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1849, allocations: 0 / 0.5924 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002638/0.1851, allocations: 27.94 kB / 0.5924 GB, free: 13.43 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002624/0.1854, allocations: 135.3 kB / 0.5926 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003211/0.1857, allocations: 84.05 kB / 0.5926 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.1858, allocations: 0 / 0.5926 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001384/0.1859, allocations: 51.91 kB / 0.5927 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002566/0.1862, allocations: 18 kB / 0.5927 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006/0.1868, allocations: 166.5 kB / 0.5929 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002417/0.187, allocations: 0.6848 MB / 0.5935 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002183/0.1872, allocations: 24.27 kB / 0.5936 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.158e-05/0.1873, allocations: 19.42 kB / 0.5936 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of SimCode: time 2.5e-07/0.1873, allocations: 3.938 kB / 0.5936 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of Templates: time 0.004067/0.1914, allocations: 1.427 MB / 0.595 GB, free: 10.82 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)