Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.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.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure") translateModel(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001338/0.001338, allocations: 103.1 kB / 16.35 MB, free: 6.289 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.00131/0.00131, allocations: 193.4 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.418/1.418, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8381/0.8381, allocations: 132.2 MB / 423.3 MB, free: 6.641 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 55.91 kB / 0.5032 GB, free: 10.99 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3868/0.3881, allocations: 80.19 MB / 0.5815 GB, free: 27.57 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.002783/0.3909, allocations: 1.402 MB / 0.5828 GB, free: 26.48 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009195/0.3918, allocations: 0.6016 MB / 0.5834 GB, free: 26.02 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.11e-05/0.3919, allocations: 2.594 kB / 0.5834 GB, free: 26.02 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.944e-05/0.3919, allocations: 3.938 kB / 0.5834 GB, free: 26.01 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6e-05/0.392, allocations: 11.91 kB / 0.5835 GB, free: 26 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000412/0.3924, allocations: 94.7 kB / 0.5835 GB, free: 25.94 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.117e-05/0.3925, allocations: 26.05 kB / 0.5836 GB, free: 25.92 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.3926, allocations: 4.5 kB / 0.5836 GB, free: 25.92 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.583e-05/0.3927, allocations: 11.86 kB / 0.5836 GB, free: 25.91 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.228e-05/0.3927, allocations: 18.27 kB / 0.5836 GB, free: 25.9 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.491e-05/0.3927, allocations: 1.219 kB / 0.5836 GB, free: 25.9 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002751/0.393, allocations: 138.9 kB / 0.5837 GB, free: 25.84 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.46e-05/0.393, allocations: 9.109 kB / 0.5837 GB, free: 25.83 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.481e-05/0.3931, allocations: 10.56 kB / 0.5838 GB, free: 25.82 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002197/0.3933, allocations: 103 kB / 0.5839 GB, free: 25.77 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.3933, allocations: 2.562 kB / 0.5839 GB, free: 25.77 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3933, allocations: 0 / 0.5839 GB, free: 25.77 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.3933, allocations: 0 / 0.5839 GB, free: 25.77 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000436/0.3938, allocations: 360.8 kB / 0.5842 GB, free: 25.38 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.494e-05/0.3938, allocations: 11 kB / 0.5842 GB, free: 25.38 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004389/0.3943, allocations: 30.75 kB / 0.5842 GB, free: 25.37 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.718e-05/0.3944, allocations: 169.6 kB / 0.5844 GB, free: 25.17 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.222e-05/0.3944, allocations: 2.219 kB / 0.5844 GB, free: 25.17 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.228e-05/0.3944, allocations: 1.781 kB / 0.5844 GB, free: 25.17 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002245/0.3946, allocations: 67.17 kB / 0.5845 GB, free: 25.11 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.3947, allocations: 5.562 kB / 0.5845 GB, free: 25.11 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.378e-05/0.3947, allocations: 3.938 kB / 0.5845 GB, free: 25.11 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/0.3947, allocations: 1.094 kB / 0.5845 GB, free: 25.11 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002355/0.3949, allocations: 54.12 kB / 0.5845 GB, free: 25.08 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004232/0.3954, allocations: 273 kB / 0.5848 GB, free: 24.78 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000201/0.3956, allocations: 61.89 kB / 0.5848 GB, free: 24.73 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001212/0.3957, allocations: 36.2 kB / 0.5849 GB, free: 24.71 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.327e-05/0.3957, allocations: 1.25 kB / 0.5849 GB, free: 24.71 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.073e-05/0.3958, allocations: 36.77 kB / 0.5849 GB, free: 24.67 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.3958, allocations: 0.5938 kB / 0.5849 GB, free: 24.67 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0004777/0.3962, allocations: 114.6 kB / 0.585 GB, free: 24.6 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.179e-05/0.3963, allocations: 53.03 kB / 0.5851 GB, free: 24.54 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.822e-05/0.3963, allocations: 104.9 kB / 0.5852 GB, free: 24.43 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.119e-05/0.3964, allocations: 25.7 kB / 0.5852 GB, free: 24.4 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.146e-05/0.3964, allocations: 80.14 kB / 0.5853 GB, free: 24.32 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.825e-05/0.3964, allocations: 5.312 kB / 0.5853 GB, free: 24.31 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.272e-05/0.3965, allocations: 17.25 kB / 0.5853 GB, free: 24.29 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.448e-05/0.3965, allocations: 315.7 kB / 0.5856 GB, free: 23.98 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001118/0.3967, allocations: 30.66 kB / 0.5856 GB, free: 23.96 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001007/0.3968, allocations: 29.84 kB / 0.5857 GB, free: 23.95 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002028/0.397, allocations: 52.09 kB / 0.5857 GB, free: 23.92 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.397, allocations: 0.5 kB / 0.5857 GB, free: 23.92 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002567/0.3972, allocations: 93.47 kB / 0.5858 GB, free: 23.86 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.3973, allocations: 7.75 kB / 0.5858 GB, free: 23.86 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.3973, allocations: 0 / 0.5858 GB, free: 23.86 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.3973, allocations: 0 / 0.5858 GB, free: 23.86 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001288/0.3974, allocations: 16.23 kB / 0.5858 GB, free: 23.85 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.213e-06/0.3974, allocations: 3.344 kB / 0.5858 GB, free: 23.85 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.477e-05/0.3975, allocations: 12.42 kB / 0.5858 GB, free: 23.84 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.458e-06/0.3976, allocations: 4.938 kB / 0.5858 GB, free: 23.84 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 6.119e-05/0.3976, allocations: 112.5 kB / 0.586 GB, free: 23.72 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.815e-05/0.3977, allocations: 5.109 kB / 0.586 GB, free: 23.72 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.174e-05/0.3977, allocations: 9.688 kB / 0.586 GB, free: 23.71 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.3977, allocations: 1.656 kB / 0.586 GB, free: 23.71 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.3977, allocations: 4.875 kB / 0.586 GB, free: 23.71 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.055e-06/0.3977, allocations: 0 / 0.586 GB, free: 23.71 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001266/0.3979, allocations: 163.5 kB / 0.5861 GB, free: 23.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.3979, allocations: 5.438 kB / 0.5861 GB, free: 23.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001067/0.398, allocations: 14.3 kB / 0.5861 GB, free: 23.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.398, allocations: 1.062 kB / 0.5861 GB, free: 23.5 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.101e-05/0.398, allocations: 3.984 kB / 0.5862 GB, free: 23.49 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.398, allocations: 1 kB / 0.5862 GB, free: 23.49 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.398, allocations: 3.984 kB / 0.5862 GB, free: 23.49 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002958/0.3983, allocations: 188.8 kB / 0.5863 GB, free: 23.32 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.899e-05/0.3983, allocations: 85.03 kB / 0.5864 GB, free: 23.22 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.931e-05/0.3984, allocations: 2.156 kB / 0.5864 GB, free: 23.22 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001146/0.3985, allocations: 13.58 kB / 0.5864 GB, free: 23.21 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.392e-05/0.3985, allocations: 5.312 kB / 0.5864 GB, free: 23.21 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.025e-06/0.3985, allocations: 1.406 kB / 0.5864 GB, free: 23.21 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.594e-05/0.3986, allocations: 83.94 kB / 0.5865 GB, free: 23.13 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3986, allocations: 0 / 0.5865 GB, free: 23.13 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002439/0.3988, allocations: 14.89 kB / 0.5865 GB, free: 23.13 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.0001495/0.399, allocations: 107.1 kB / 0.5866 GB, free: 23.04 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002979/0.3993, allocations: 66.27 kB / 0.5867 GB, free: 23.01 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.3993, allocations: 0 / 0.5867 GB, free: 23.01 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001219/0.3994, allocations: 31.91 kB / 0.5867 GB, free: 22.99 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002652/0.3997, allocations: 9.281 kB / 0.5867 GB, free: 22.99 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000418/0.4001, allocations: 141.4 kB / 0.5869 GB, free: 22.85 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001072/0.4002, allocations: 0.6733 MB / 0.5875 GB, free: 22.16 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.189e-05/0.4003, allocations: 10 kB / 0.5875 GB, free: 22.16 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.076e-05/0.4004, allocations: 14.05 kB / 0.5876 GB, free: 22.14 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4004, allocations: 0 / 0.5876 GB, free: 22.14 MB / 446.1 MB Notification: Performance of Templates: time 0.00321/0.4036, allocations: 0.781 MB / 0.5883 GB, free: 21.77 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.makefile (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.sim & ./IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1)