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.001121/0.001122, allocations: 103.5 kB / 16.35 MB, free: 6.285 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.001067/0.001067, allocations: 193.5 kB / 17.29 MB, free: 5.863 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.34/1.34, 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.8248/0.8248, allocations: 132.2 MB / 423.3 MB, free: 6.637 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 55.91 kB / 0.5032 GB, free: 10.95 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3849/0.3862, allocations: 80.18 MB / 0.5815 GB, free: 27.64 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.002202/0.3885, allocations: 1.278 MB / 0.5827 GB, free: 26.65 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008463/0.3893, allocations: 0.6536 MB / 0.5834 GB, free: 26.14 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.747e-05/0.3894, allocations: 0 / 0.5834 GB, free: 26.14 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.931e-05/0.3894, allocations: 5.953 kB / 0.5834 GB, free: 26.14 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.922e-05/0.3894, allocations: 3.938 kB / 0.5834 GB, free: 26.13 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004037/0.3899, allocations: 110 kB / 0.5835 GB, free: 26.06 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.414e-05/0.3899, allocations: 24.52 kB / 0.5835 GB, free: 26.05 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.818e-05/0.39, allocations: 5.312 kB / 0.5835 GB, free: 26.04 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.283e-05/0.39, allocations: 10.52 kB / 0.5835 GB, free: 26.04 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.825e-05/0.39, allocations: 15.77 kB / 0.5836 GB, free: 26.03 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.195e-05/0.3901, allocations: 3.031 kB / 0.5836 GB, free: 26.03 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002356/0.3903, allocations: 143.2 kB / 0.5837 GB, free: 25.96 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.196e-05/0.3903, allocations: 5.109 kB / 0.5837 GB, free: 25.95 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.16e-05/0.3904, allocations: 12.89 kB / 0.5837 GB, free: 25.95 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001717/0.3905, allocations: 93.84 kB / 0.5838 GB, free: 25.9 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.3905, allocations: 1.062 kB / 0.5838 GB, free: 25.9 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3906, allocations: 1.25 kB / 0.5838 GB, free: 25.9 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.767e-06/0.3906, allocations: 0 / 0.5838 GB, free: 25.9 MB / 446.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.0003686/0.3909, allocations: 364.5 kB / 0.5841 GB, free: 25.52 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.319e-05/0.391, allocations: 8.531 kB / 0.5842 GB, free: 25.52 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000416/0.3914, allocations: 25.72 kB / 0.5842 GB, free: 25.51 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.434e-05/0.3915, allocations: 171.9 kB / 0.5843 GB, free: 25.3 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.107e-05/0.3915, allocations: 384 / 0.5843 GB, free: 25.3 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.276e-05/0.3915, allocations: 3.031 kB / 0.5843 GB, free: 25.3 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001569/0.3917, allocations: 59.38 kB / 0.5844 GB, free: 25.25 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.3917, allocations: 192 / 0.5844 GB, free: 25.25 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.261e-05/0.3917, allocations: 11.56 kB / 0.5844 GB, free: 25.25 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.94e-06/0.3917, allocations: 3.984 kB / 0.5844 GB, free: 25.24 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000126/0.3919, allocations: 26.38 kB / 0.5844 GB, free: 25.23 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001329/0.392, allocations: 162.4 kB / 0.5846 GB, free: 25.03 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002824/0.3923, allocations: 67.83 kB / 0.5847 GB, free: 24.98 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.207e-05/0.3924, allocations: 24.22 kB / 0.5847 GB, free: 24.97 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.191e-05/0.3924, allocations: 6.594 kB / 0.5847 GB, free: 24.96 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.534e-05/0.3924, allocations: 36.27 kB / 0.5847 GB, free: 24.92 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.222e-06/0.3924, allocations: 0 / 0.5847 GB, free: 24.92 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.003243/0.3957, allocations: 0.5773 MB / 0.5853 GB, free: 24.49 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.65e-05/0.3957, allocations: 52.03 kB / 0.5853 GB, free: 24.43 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.76e-05/0.3958, allocations: 93.52 kB / 0.5854 GB, free: 24.33 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.538e-05/0.3958, allocations: 30.83 kB / 0.5855 GB, free: 24.29 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.366e-05/0.3958, allocations: 89.62 kB / 0.5855 GB, free: 24.2 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3e-05/0.3959, allocations: 15.12 kB / 0.5856 GB, free: 24.19 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.278e-05/0.3959, allocations: 27.19 kB / 0.5856 GB, free: 24.16 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.251e-05/0.396, allocations: 319 kB / 0.5859 GB, free: 23.85 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001248/0.3961, allocations: 33.91 kB / 0.5859 GB, free: 23.83 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001161/0.3962, allocations: 40.3 kB / 0.586 GB, free: 23.81 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002406/0.3965, allocations: 84.5 kB / 0.586 GB, free: 23.77 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.3965, allocations: 0 / 0.586 GB, free: 23.77 MB / 446.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003102/0.3968, allocations: 125.2 kB / 0.5862 GB, free: 23.69 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.3968, allocations: 12.19 kB / 0.5862 GB, free: 23.68 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.3968, allocations: 0 / 0.5862 GB, free: 23.68 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.3968, allocations: 1.5 kB / 0.5862 GB, free: 23.68 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002175/0.3971, allocations: 22.72 kB / 0.5862 GB, free: 23.68 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/0.3971, allocations: 1.094 kB / 0.5862 GB, free: 23.68 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001466/0.3972, allocations: 11.95 kB / 0.5862 GB, free: 23.67 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.575e-05/0.3973, allocations: 4.125 kB / 0.5862 GB, free: 23.67 MB / 446.1 MB 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 5.809e-05/0.3973, allocations: 112.7 kB / 0.5863 GB, free: 23.55 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.289e-05/0.3973, allocations: 9.766 kB / 0.5863 GB, free: 23.54 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.492e-05/0.3974, allocations: 11.25 kB / 0.5863 GB, free: 23.54 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.3974, allocations: 2.531 kB / 0.5863 GB, free: 23.54 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.74e-06/0.3974, allocations: 4 kB / 0.5863 GB, free: 23.53 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.3974, allocations: 0 / 0.5863 GB, free: 23.53 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001159/0.3976, allocations: 184.6 kB / 0.5865 GB, free: 23.31 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.3976, allocations: 1.375 kB / 0.5865 GB, free: 23.31 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002374/0.3978, allocations: 21.34 kB / 0.5865 GB, free: 23.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.3978, allocations: 9.812 kB / 0.5866 GB, free: 23.3 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.725e-05/0.3979, allocations: 5.078 kB / 0.5866 GB, free: 23.29 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.3979, allocations: 1.188 kB / 0.5866 GB, free: 23.29 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.3979, allocations: 3.438 kB / 0.5866 GB, free: 23.29 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004719/0.3983, allocations: 191.1 kB / 0.5867 GB, free: 23.16 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.822e-05/0.3984, allocations: 82.73 kB / 0.5868 GB, free: 23.06 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.529e-05/0.3984, allocations: 6 kB / 0.5868 GB, free: 23.05 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001877/0.3986, allocations: 12.36 kB / 0.5868 GB, free: 23.05 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.539e-05/0.3986, allocations: 9.688 kB / 0.5868 GB, free: 23.04 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.501e-05/0.3986, allocations: 3.375 kB / 0.5869 GB, free: 23.04 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.835e-05/0.3987, allocations: 78.94 kB / 0.5869 GB, free: 22.97 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3987, allocations: 0 / 0.5869 GB, free: 22.97 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000254/0.3989, allocations: 35.2 kB / 0.587 GB, free: 22.96 MB / 446.1 MB 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.0001773/0.3991, allocations: 124.4 kB / 0.5871 GB, free: 22.86 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003063/0.3994, allocations: 86.8 kB / 0.5872 GB, free: 22.82 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/0.3994, allocations: 2.625 kB / 0.5872 GB, free: 22.82 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000131/0.3996, allocations: 51.05 kB / 0.5872 GB, free: 22.79 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002413/0.3998, allocations: 9.75 kB / 0.5872 GB, free: 22.79 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006271/0.4005, allocations: 154.7 kB / 0.5874 GB, free: 22.65 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.446e-05/0.4006, allocations: 0.6813 MB / 0.588 GB, free: 21.95 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001591/0.4007, allocations: 39.56 kB / 0.5881 GB, free: 21.94 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.323e-05/0.4008, allocations: 20.58 kB / 0.5881 GB, free: 21.93 MB / 446.1 MB Notification: Performance of SimCode: time 3.41e-07/0.4008, allocations: 0 / 0.5881 GB, free: 21.93 MB / 446.1 MB Notification: Performance of Templates: time 0.003957/0.4048, allocations: 1.495 MB / 0.5896 GB, free: 21.22 MB / 446.1 MB 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 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1)