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.00158/0.00158, allocations: 104.4 kB / 16.35 MB, free: 5.828 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.001801/0.001802, allocations: 193.2 kB / 17.29 MB, free: 5.484 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.387/1.387, allocations: 222.9 MB / 241 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.8032/0.8032, allocations: 132.2 MB / 423.4 MB, free: 6.555 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001318/0.001318, allocations: 63.91 kB / 0.5032 GB, free: 10.91 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3876/0.3889, allocations: 80.19 MB / 0.5815 GB, free: 27.6 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.002309/0.3913, allocations: 1.272 MB / 0.5827 GB, free: 26.61 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008329/0.3921, allocations: 0.5874 MB / 0.5833 GB, free: 26.15 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.869e-05/0.3922, allocations: 0 / 0.5833 GB, free: 26.15 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.442e-05/0.3922, allocations: 1.469 kB / 0.5833 GB, free: 26.15 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.657e-05/0.3923, allocations: 8.562 kB / 0.5833 GB, free: 26.14 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003779/0.3926, allocations: 97.58 kB / 0.5834 GB, free: 26.07 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.291e-05/0.3927, allocations: 21.53 kB / 0.5834 GB, free: 26.06 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.448e-05/0.3928, allocations: 1.219 kB / 0.5834 GB, free: 26.06 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.319e-05/0.3928, allocations: 8.891 kB / 0.5834 GB, free: 26.06 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.885e-05/0.3929, allocations: 7.594 kB / 0.5835 GB, free: 26.05 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.173e-05/0.3929, allocations: 1.438 kB / 0.5835 GB, free: 26.05 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002579/0.3931, allocations: 142.2 kB / 0.5836 GB, free: 25.98 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.738e-06/0.3932, allocations: 0.5938 kB / 0.5836 GB, free: 25.98 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.512e-05/0.3932, allocations: 13.34 kB / 0.5836 GB, free: 25.98 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001929/0.3934, allocations: 88.2 kB / 0.5837 GB, free: 25.93 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.3934, allocations: 0.5 kB / 0.5837 GB, free: 25.93 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3934, allocations: 3.031 kB / 0.5837 GB, free: 25.93 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.989e-06/0.3934, allocations: 0 / 0.5837 GB, free: 25.93 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003389/0.3938, allocations: 348.9 kB / 0.584 GB, free: 25.56 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/0.3938, allocations: 9.938 kB / 0.584 GB, free: 25.56 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004323/0.3943, allocations: 31.41 kB / 0.5841 GB, free: 25.55 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.679e-05/0.3943, allocations: 165.5 kB / 0.5842 GB, free: 25.35 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.315e-05/0.3944, allocations: 384 / 0.5842 GB, free: 25.35 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.165e-05/0.3944, allocations: 1.594 kB / 0.5842 GB, free: 25.35 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001556/0.3945, allocations: 51.06 kB / 0.5843 GB, free: 25.3 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.3946, allocations: 1.25 kB / 0.5843 GB, free: 25.3 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.221e-05/0.3946, allocations: 5 kB / 0.5843 GB, free: 25.3 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.129e-06/0.3946, allocations: 0 / 0.5843 GB, free: 25.3 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001254/0.3947, allocations: 30.41 kB / 0.5843 GB, free: 25.28 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001374/0.3949, allocations: 162.2 kB / 0.5845 GB, free: 25.08 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001387/0.395, allocations: 37.47 kB / 0.5845 GB, free: 25.05 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.368e-05/0.3951, allocations: 19.97 kB / 0.5845 GB, free: 25.03 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.178e-05/0.3951, allocations: 2.562 kB / 0.5845 GB, free: 25.03 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.692e-05/0.3951, allocations: 36.64 kB / 0.5846 GB, free: 24.99 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.3951, allocations: 1.156 kB / 0.5846 GB, free: 24.99 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002997/0.3954, allocations: 78.05 kB / 0.5846 GB, free: 24.93 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.992e-05/0.3955, allocations: 55.39 kB / 0.5847 GB, free: 24.86 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.013e-05/0.3955, allocations: 99.3 kB / 0.5848 GB, free: 24.76 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.088e-05/0.3956, allocations: 25.7 kB / 0.5848 GB, free: 24.73 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.096e-05/0.3956, allocations: 81.2 kB / 0.5849 GB, free: 24.65 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.446e-05/0.3956, allocations: 1.312 kB / 0.5849 GB, free: 24.65 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.393e-05/0.3957, allocations: 25.58 kB / 0.5849 GB, free: 24.62 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.532e-05/0.3957, allocations: 312.3 kB / 0.5852 GB, free: 24.31 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.903e-05/0.3958, allocations: 14.7 kB / 0.5852 GB, free: 24.3 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.224e-05/0.3958, allocations: 12.48 kB / 0.5852 GB, free: 24.3 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000116/0.396, allocations: 39.5 kB / 0.5853 GB, free: 24.27 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.396, allocations: 0 / 0.5853 GB, free: 24.27 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001532/0.3961, allocations: 57.67 kB / 0.5853 GB, free: 24.23 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.3962, allocations: 5.25 kB / 0.5853 GB, free: 24.23 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.3962, allocations: 3.938 kB / 0.5853 GB, free: 24.22 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.3962, allocations: 1.375 kB / 0.5853 GB, free: 24.22 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001017/0.3963, allocations: 9.234 kB / 0.5853 GB, free: 24.22 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.3963, allocations: 0.5 kB / 0.5853 GB, free: 24.22 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.751e-05/0.3964, allocations: 2 kB / 0.5853 GB, free: 24.22 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.019e-05/0.3964, allocations: 6.016 kB / 0.5853 GB, free: 24.21 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 (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 5.672e-05/0.3964, allocations: 113.1 kB / 0.5855 GB, free: 24.1 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.22e-05/0.3965, allocations: 1.375 kB / 0.5855 GB, free: 24.1 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.217e-05/0.3965, allocations: 19.11 kB / 0.5855 GB, free: 24.08 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.3965, allocations: 0 / 0.5855 GB, free: 24.08 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.3965, allocations: 0 / 0.5855 GB, free: 24.08 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.3965, allocations: 1.406 kB / 0.5855 GB, free: 24.08 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.397e-05/0.3966, allocations: 152.9 kB / 0.5856 GB, free: 23.89 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.3966, allocations: 4.188 kB / 0.5856 GB, free: 23.88 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.342e-05/0.3967, allocations: 14.14 kB / 0.5856 GB, free: 23.88 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.3967, allocations: 2.531 kB / 0.5856 GB, free: 23.88 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.29e-05/0.3967, allocations: 11.91 kB / 0.5857 GB, free: 23.86 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.3968, allocations: 0.625 kB / 0.5857 GB, free: 23.86 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.3968, allocations: 0.625 kB / 0.5857 GB, free: 23.86 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001767/0.3969, allocations: 86.33 kB / 0.5857 GB, free: 23.79 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.659e-05/0.397, allocations: 81.09 kB / 0.5858 GB, free: 23.69 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.68e-05/0.397, allocations: 3.938 kB / 0.5858 GB, free: 23.68 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.81e-05/0.3971, allocations: 3.906 kB / 0.5858 GB, free: 23.68 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.338e-05/0.3971, allocations: 0 / 0.5858 GB, free: 23.68 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.693e-06/0.3971, allocations: 3.984 kB / 0.5858 GB, free: 23.68 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.203e-05/0.3971, allocations: 84.47 kB / 0.5859 GB, free: 23.6 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3972, allocations: 0 / 0.5859 GB, free: 23.6 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001968/0.3974, allocations: 10.66 kB / 0.5859 GB, free: 23.6 MB / 446.1 MB 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.0001626/0.3975, allocations: 118.1 kB / 0.586 GB, free: 23.5 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001898/0.3977, allocations: 31.25 kB / 0.5861 GB, free: 23.49 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3977, allocations: 0 / 0.5861 GB, free: 23.49 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.152e-05/0.3978, allocations: 16.98 kB / 0.5861 GB, free: 23.48 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001784/0.398, allocations: 8.219 kB / 0.5861 GB, free: 23.48 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003345/0.3983, allocations: 112.5 kB / 0.5862 GB, free: 23.37 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001151/0.3985, allocations: 0.6786 MB / 0.5869 GB, free: 22.67 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.006e-05/0.3985, allocations: 6.594 kB / 0.5869 GB, free: 22.67 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.954e-05/0.3986, allocations: 13.91 kB / 0.5869 GB, free: 22.66 MB / 446.1 MB Notification: Performance of SimCode: time 8.02e-07/0.3986, allocations: 3.938 kB / 0.5869 GB, free: 22.65 MB / 446.1 MB Notification: Performance of Templates: time 0.003043/0.4016, allocations: 0.7322 MB / 0.5876 GB, free: 22.3 MB / 446.1 MB 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 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1)