Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Devel_test_models.Test_header_001.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo) Running command: translateModel(AES.Devel_test_models.Test_header_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_header_001") translateModel(AES.Devel_test_models.Test_header_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_header_001") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.0731/0.0731, allocations: 17.69 MB / 33.64 MB, free: 1.73 MB / 24.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009076/0.0009076, allocations: 177.1 kB / 38.92 MB, free: 4 kB / 24.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.616/1.616, allocations: 205.4 MB / 249.5 MB, free: 2.348 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000824/0.0008244, allocations: 97.38 kB / 302.2 MB, free: 4.406 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003786/0.0003787, allocations: 16 kB / 366.9 MB, free: 3.598 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2732/0.2736, allocations: 51.97 MB / 418.9 MB, free: 24.37 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1074/0.3811, allocations: 78.52 MB / 497.4 MB, free: 9.738 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003255/0.3815, allocations: 63.97 kB / 497.5 MB, free: 9.676 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008148/0.3897, allocations: 2.594 MB / 0.4884 GB, free: 7.07 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.744e-06/0.3897, allocations: 7.938 kB / 0.4884 GB, free: 7.062 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.331e-05/0.3898, allocations: 3.938 kB / 0.4884 GB, free: 7.059 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.0007471/0.3905, allocations: 447.3 kB / 0.4888 GB, free: 6.566 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.215e-05/0.3906, allocations: 8.031 kB / 0.4888 GB, free: 6.559 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.077e-05/0.3907, allocations: 24.66 kB / 0.4889 GB, free: 6.535 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005028/0.3912, allocations: 256.1 kB / 0.4891 GB, free: 6.246 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.094e-05/0.3912, allocations: 8.656 kB / 0.4891 GB, free: 6.238 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.668e-05/0.3913, allocations: 12.38 kB / 0.4891 GB, free: 6.227 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003618/0.3917, allocations: 132.4 kB / 0.4892 GB, free: 6.094 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/0.3917, allocations: 192 / 0.4892 GB, free: 6.094 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.521e-05/0.3917, allocations: 11.94 kB / 0.4893 GB, free: 6.082 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.206e-06/0.3917, allocations: 4 kB / 0.4893 GB, free: 6.078 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002423/0.392, allocations: 68.81 kB / 0.4893 GB, free: 6.012 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001094/0.3931, allocations: 0.5039 MB / 0.4898 GB, free: 5.453 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001705/0.3933, allocations: 54.53 kB / 0.4899 GB, free: 5.391 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.894e-05/0.3934, allocations: 20.86 kB / 0.4899 GB, free: 5.367 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.708e-05/0.3934, allocations: 3.938 kB / 0.4899 GB, free: 5.363 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.277e-05/0.3934, allocations: 34.56 kB / 0.4899 GB, free: 5.32 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.844e-06/0.3935, allocations: 0 / 0.4899 GB, free: 5.32 MB / 362.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003278/0.3938, allocations: 85.58 kB / 0.49 GB, free: 5.23 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.807e-05/0.3938, allocations: 51.41 kB / 0.4901 GB, free: 5.168 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002945/0.3941, allocations: 225 kB / 0.4903 GB, free: 4.941 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.722e-05/0.3942, allocations: 25.7 kB / 0.4903 GB, free: 4.91 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001217/0.3943, allocations: 147.8 kB / 0.4904 GB, free: 4.762 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.422e-05/0.3943, allocations: 19.8 kB / 0.4905 GB, free: 4.742 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.211e-06/0.3944, allocations: 0 / 0.4905 GB, free: 4.742 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001374/0.3945, allocations: 330.8 kB / 0.4908 GB, free: 4.41 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.123e-05/0.3946, allocations: 23.92 kB / 0.4908 GB, free: 4.387 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.633e-05/0.3947, allocations: 51.36 kB / 0.4908 GB, free: 4.324 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003626/0.3951, allocations: 93.5 kB / 0.4909 GB, free: 4.223 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.3951, allocations: 0 / 0.4909 GB, free: 4.223 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003016/0.3954, allocations: 109.4 kB / 0.491 GB, free: 4.109 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.443e-05/0.3954, allocations: 12.06 kB / 0.491 GB, free: 4.098 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.3954, allocations: 3.938 kB / 0.491 GB, free: 4.094 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.3955, allocations: 0 / 0.491 GB, free: 4.094 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003262/0.3958, allocations: 43.92 kB / 0.4911 GB, free: 4.051 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.388e-06/0.3958, allocations: 0 / 0.4911 GB, free: 4.051 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001307/0.396, allocations: 15.83 kB / 0.4911 GB, free: 4.035 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.663e-05/0.396, allocations: 7.938 kB / 0.4911 GB, free: 4.027 MB / 362.7 MB Warning: Assuming fixed start value for the following 1 variables: header.T:VARIABLE(min = max(0.0, 0.0) start = header.Tstart unit = "K" fixed = true nominal = 300.0 ) "fluid T" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (10): * Single equations (assignments): 10 * 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 0.0002781/0.3963, allocations: 127.2 kB / 0.4912 GB, free: 3.895 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.226e-05/0.3964, allocations: 15.81 kB / 0.4913 GB, free: 3.879 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.074e-05/0.3964, allocations: 21.23 kB / 0.4913 GB, free: 3.859 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.3964, allocations: 0 / 0.4913 GB, free: 3.859 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.3964, allocations: 0 / 0.4913 GB, free: 3.859 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.788e-06/0.3965, allocations: 0 / 0.4913 GB, free: 3.859 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007249/0.3972, allocations: 416 kB / 0.4917 GB, free: 3.391 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.3972, allocations: 3.938 kB / 0.4917 GB, free: 3.387 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.43e-05/0.3973, allocations: 8 kB / 0.4917 GB, free: 3.379 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.612e-06/0.3973, allocations: 4 kB / 0.4917 GB, free: 3.375 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.181e-05/0.3973, allocations: 3.938 kB / 0.4917 GB, free: 3.371 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.3974, allocations: 3.984 kB / 0.4917 GB, free: 3.367 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.3974, allocations: 0 / 0.4917 GB, free: 3.367 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003264/0.3977, allocations: 193.4 kB / 0.4919 GB, free: 3.156 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.992e-05/0.3978, allocations: 104.9 kB / 0.492 GB, free: 3.035 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.377e-05/0.3978, allocations: 7.922 kB / 0.492 GB, free: 3.027 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001394/0.398, allocations: 3.938 kB / 0.492 GB, free: 3.023 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.924e-05/0.398, allocations: 4 kB / 0.492 GB, free: 3.02 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.307e-06/0.398, allocations: 3.984 kB / 0.492 GB, free: 3.016 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002443/0.3983, allocations: 164.5 kB / 0.4922 GB, free: 2.852 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.3983, allocations: 0 / 0.4922 GB, free: 2.852 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004687/0.3988, allocations: 32 kB / 0.4922 GB, free: 2.82 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (header.T) * 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 (4): * Single equations (assignments): 4 * 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.0002431/0.399, allocations: 99.23 kB / 0.4923 GB, free: 2.711 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000222/0.3993, allocations: 47.98 kB / 0.4923 GB, free: 2.664 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.828e-06/0.3993, allocations: 0 / 0.4923 GB, free: 2.664 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.407e-05/0.3994, allocations: 16.19 kB / 0.4923 GB, free: 2.648 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005956/0.4, allocations: 36.84 kB / 0.4924 GB, free: 2.613 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001411/0.4014, allocations: 0.4927 MB / 0.4929 GB, free: 2.09 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004897/0.4019, allocations: 0.7241 MB / 0.4936 GB, free: 1.34 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000131/0.4021, allocations: 17.55 kB / 0.4936 GB, free: 1.324 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.994e-05/0.4022, allocations: 15.44 kB / 0.4936 GB, free: 1.309 MB / 362.7 MB Notification: Performance of SimCode: time 5.31e-07/0.4022, allocations: 0 / 0.4936 GB, free: 1.309 MB / 362.7 MB Notification: Performance of Templates: time 0.2736/0.6757, allocations: 1.42 MB / 0.495 GB, free: 82.73 MB / 362.7 MB make -j1 -f AES_AES.Devel_test_models.Test_header_001.makefile (rm -f AES_AES.Devel_test_models.Test_header_001.pipe ; mkfifo AES_AES.Devel_test_models.Test_header_001.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_header_001.pipe >> ../files/AES_AES.Devel_test_models.Test_header_001.sim & ./AES_AES.Devel_test_models.Test_header_001 -abortSlowSimulation -alarm=480 -lv=LOG_STATS -s=dassl -lv LOG_STATS > AES_AES.Devel_test_models.Test_header_001.pipe 2>&1)