Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization") translateModel(ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001231/0.001231, allocations: 182.2 kB / 12.74 MB, free: 2.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.912/1.912, allocations: 194.3 MB / 207.5 MB, free: 3.461 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001789/0.001789, allocations: 112.9 kB / 252.6 MB, free: 4.832 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2567/0.2567, allocations: 39.94 MB / 337.5 MB, free: 472 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.014e-05/4.016e-05, allocations: 4 kB / 400.3 MB, free: 69.87 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1287/0.1288, allocations: 54.86 MB / 455.1 MB, free: 14.97 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.068/1.197, allocations: 401.7 MB / 0.8368 GB, free: 28.95 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002882/1.197, allocations: 86.58 kB / 0.8369 GB, free: 28.91 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7509/1.948, allocations: 190.9 MB / 1.023 GB, free: 44.98 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.844e-06/1.948, allocations: 3.938 kB / 1.023 GB, free: 44.97 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.864e-05/1.948, allocations: 35.92 kB / 1.023 GB, free: 44.94 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 179 * Number of variables: 179 Notification: Performance of Generate backend data structure: time 0.003521/1.952, allocations: 1.336 MB / 1.025 GB, free: 43.55 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.17e-05/1.952, allocations: 12.03 kB / 1.025 GB, free: 43.54 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004307/1.952, allocations: 110.8 kB / 1.025 GB, free: 43.43 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001648/1.954, allocations: 0.8003 MB / 1.025 GB, free: 42.59 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.749e-05/1.954, allocations: 116.7 kB / 1.026 GB, free: 42.46 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001228/1.954, allocations: 67.98 kB / 1.026 GB, free: 42.4 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001706/1.956, allocations: 1.195 MB / 1.027 GB, free: 41.16 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.292e-05/1.956, allocations: 0 / 1.027 GB, free: 41.16 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001036/1.956, allocations: 35.97 kB / 1.027 GB, free: 41.12 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.74e-05/1.956, allocations: 69.95 kB / 1.027 GB, free: 41.05 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0015/1.958, allocations: 1.163 MB / 1.028 GB, free: 39.89 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006996/1.965, allocations: 4.773 MB / 1.033 GB, free: 34.87 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009889/1.966, allocations: 0.6427 MB / 1.033 GB, free: 34.21 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004723/1.966, allocations: 403.8 kB / 1.034 GB, free: 33.82 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002748/1.969, allocations: 2.529 MB / 1.036 GB, free: 31.06 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.442e-05/1.969, allocations: 43 kB / 1.036 GB, free: 31.01 MB / 490.7 MB Notification: Performance of pre-optimization done (n=51): time 3.086e-06/1.969, allocations: 0 / 1.036 GB, free: 31.01 MB / 490.7 MB Notification: Performance of matching and sorting (n=56): time 0.004249/1.973, allocations: 2.268 MB / 1.038 GB, free: 28.66 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.029e-05/1.973, allocations: 162.8 kB / 1.039 GB, free: 28.47 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009024/1.974, allocations: 0.766 MB / 1.039 GB, free: 27.7 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 5.879e-05/1.974, allocations: 37.7 kB / 1.039 GB, free: 27.65 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002533/1.975, allocations: 486.6 kB / 1.04 GB, free: 27.17 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001374/1.975, allocations: 201.2 kB / 1.04 GB, free: 26.97 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.347e-05/1.975, allocations: 24 kB / 1.04 GB, free: 26.95 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001328/1.975, allocations: 398.7 kB / 1.04 GB, free: 26.55 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000553/1.975, allocations: 417.8 kB / 1.041 GB, free: 26.14 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006747/1.976, allocations: 0.7132 MB / 1.042 GB, free: 25.28 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006564/1.977, allocations: 0.5016 MB / 1.042 GB, free: 24.78 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/1.977, allocations: 4 kB / 1.042 GB, free: 24.77 MB / 490.7 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.00204/1.979, allocations: 1.491 MB / 1.044 GB, free: 23.25 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007784/1.98, allocations: 3.566 MB / 1.047 GB, free: 19.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.5e-05/1.98, allocations: 8 kB / 1.047 GB, free: 19.39 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00159/1.981, allocations: 0.5059 MB / 1.048 GB, free: 18.88 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000718/1.982, allocations: 195.7 kB / 1.048 GB, free: 18.69 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002038/1.984, allocations: 2.912 MB / 1.051 GB, free: 15.59 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001077/1.985, allocations: 63.77 kB / 1.051 GB, free: 15.53 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.976e-05/1.985, allocations: 51.97 kB / 1.051 GB, free: 15.48 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.167e-05/1.985, allocations: 4 kB / 1.051 GB, free: 15.48 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001926/1.987, allocations: 1.291 MB / 1.052 GB, free: 14.16 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/1.987, allocations: 8 kB / 1.052 GB, free: 14.15 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008355/1.988, allocations: 318.6 kB / 1.052 GB, free: 13.83 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006713/1.989, allocations: 199.6 kB / 1.052 GB, free: 13.63 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001464/1.99, allocations: 2.689 MB / 1.055 GB, free: 10.76 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009197/1.991, allocations: 51.97 kB / 1.055 GB, free: 10.71 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.367e-05/1.991, allocations: 43.97 kB / 1.055 GB, free: 10.66 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 4 (vol1.inFlow[1],vol1.inFlow[2],vol1.regularFlow[2],vol1.regularFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (105): * Single equations (assignments): 102 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 2 {2 5,2 5} Notification: Performance of prepare postOptimizeDAE: time 0.0003312/1.992, allocations: 176.7 kB / 1.055 GB, free: 10.48 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001751/1.992, allocations: 90.88 kB / 1.055 GB, free: 10.39 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002115/1.994, allocations: 1.339 MB / 1.057 GB, free: 9.016 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.077e-05/1.994, allocations: 8 kB / 1.057 GB, free: 9.008 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/1.994, allocations: 0 / 1.057 GB, free: 9.008 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.297e-06/1.994, allocations: 3.984 kB / 1.057 GB, free: 9.004 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003353/1.997, allocations: 2.287 MB / 1.059 GB, free: 6.625 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.061e-06/1.997, allocations: 0 / 1.059 GB, free: 6.625 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004322/1.998, allocations: 91.88 kB / 1.059 GB, free: 6.535 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001596/1.999, allocations: 0.4982 MB / 1.06 GB, free: 6.027 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.73e-05/2, allocations: 19.98 kB / 1.06 GB, free: 6.008 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002495/2.002, allocations: 2.912 MB / 1.062 GB, free: 2.914 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/2.002, allocations: 3.984 kB / 1.062 GB, free: 2.91 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002647/2.005, allocations: 1.747 MB / 1.064 GB, free: 1.102 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008587/2.006, allocations: 279.9 kB / 1.064 GB, free: 0.8086 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003617/2.006, allocations: 20.02 kB / 1.064 GB, free: 0.7891 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008926/2.007, allocations: 43.81 kB / 1.064 GB, free: 0.7461 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001824/2.007, allocations: 60.47 kB / 1.064 GB, free: 0.6875 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.249e-05/2.007, allocations: 23.98 kB / 1.064 GB, free: 0.6641 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001307/2.008, allocations: 0.585 MB / 1.065 GB, free: 84 kB / 490.7 MB Notification: Performance of sort global known variables: time 7.01e-07/2.008, allocations: 0 / 1.065 GB, free: 84 kB / 490.7 MB Notification: Performance of remove unused functions: time 0.3694/2.378, allocations: 0.8576 MB / 1.066 GB, free: 101.7 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (vol1.medium.p,vol1.medium.T) * Number of discrete variables: 2 (vol1.inFlow[1],vol1.inFlow[2]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 2 {2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.002666/2.381, allocations: 0.8201 MB / 1.067 GB, free: 101.7 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004092/2.385, allocations: 1.891 MB / 1.069 GB, free: 101.4 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.953e-06/2.385, allocations: 0 / 1.069 GB, free: 101.4 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001104/2.386, allocations: 0.5722 MB / 1.069 GB, free: 101.3 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001908/2.388, allocations: 329.2 kB / 1.069 GB, free: 101.3 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003739/2.392, allocations: 1.581 MB / 1.071 GB, free: 101 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005646/2.392, allocations: 1.082 MB / 1.072 GB, free: 100.3 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001557/2.394, allocations: 483 kB / 1.072 GB, free: 100.3 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002081/2.394, allocations: 77.59 kB / 1.073 GB, free: 100.3 MB / 490.7 MB Notification: Performance of SimCode: time 2.114e-06/2.394, allocations: 3.562 kB / 1.073 GB, free: 100.3 MB / 490.7 MB Notification: Performance of Templates: time 0.05196/2.446, allocations: 27.42 MB / 1.099 GB, free: 99.48 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.pipe 2>&1)