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.01304/0.01304, allocations: 175.1 kB / 15.12 MB, free: 5.973 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.92/1.92, allocations: 194.5 MB / 210.3 MB, free: 8.789 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.001837/0.001837, allocations: 116.7 kB / 255.6 MB, free: 11.4 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2412/0.2412, allocations: 40.01 MB / 340.8 MB, free: 11.57 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000456/0.0004561, allocations: 14.03 kB / 406.2 MB, free: 52.11 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.123/0.1235, allocations: 54.87 MB / 461 MB, free: 3.434 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9623/1.086, allocations: 401.8 MB / 0.8426 GB, free: 58.47 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002109/1.086, allocations: 87.77 kB / 0.8427 GB, free: 58.42 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6362/1.722, allocations: 191.5 MB / 1.03 GB, free: 75.11 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.246e-06/1.722, allocations: 0 / 1.03 GB, free: 75.11 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.902e-05/1.723, allocations: 31.92 kB / 1.03 GB, free: 75.08 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.003612/1.726, allocations: 1.468 MB / 1.031 GB, free: 73.56 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/1.726, allocations: 12.03 kB / 1.031 GB, free: 73.55 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004317/1.727, allocations: 114.8 kB / 1.031 GB, free: 73.43 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001586/1.728, allocations: 0.7963 MB / 1.032 GB, free: 72.6 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.824e-05/1.728, allocations: 120.7 kB / 1.032 GB, free: 72.47 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001161/1.728, allocations: 67.98 kB / 1.032 GB, free: 72.4 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001685/1.73, allocations: 1.195 MB / 1.033 GB, free: 71.16 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.012e-05/1.73, allocations: 0 / 1.033 GB, free: 71.16 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001004/1.73, allocations: 35.97 kB / 1.033 GB, free: 71.13 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.954e-05/1.73, allocations: 73.95 kB / 1.033 GB, free: 71.05 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001555/1.732, allocations: 1.183 MB / 1.035 GB, free: 69.88 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007172/1.739, allocations: 4.782 MB / 1.039 GB, free: 64.84 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001081/1.74, allocations: 0.663 MB / 1.04 GB, free: 64.18 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002719/1.743, allocations: 2.451 MB / 1.042 GB, free: 61.5 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.152e-05/1.743, allocations: 39 kB / 1.042 GB, free: 61.45 MB / 490.7 MB Notification: Performance of pre-optimization done (n=51): time 2.194e-06/1.743, allocations: 4 kB / 1.042 GB, free: 61.44 MB / 490.7 MB Notification: Performance of matching and sorting (n=56): time 0.006483/1.75, allocations: 2.91 MB / 1.045 GB, free: 58.41 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.592e-05/1.75, allocations: 162.8 kB / 1.045 GB, free: 58.22 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009454/1.751, allocations: 0.7737 MB / 1.046 GB, free: 57.44 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 7.598e-05/1.751, allocations: 37.7 kB / 1.046 GB, free: 57.39 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002287/1.751, allocations: 486.7 kB / 1.047 GB, free: 56.91 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001325/1.751, allocations: 193.2 kB / 1.047 GB, free: 56.72 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.286e-05/1.751, allocations: 16 kB / 1.047 GB, free: 56.71 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001084/1.751, allocations: 414.7 kB / 1.047 GB, free: 56.29 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005677/1.752, allocations: 425.8 kB / 1.048 GB, free: 55.88 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007488/1.753, allocations: 0.7285 MB / 1.048 GB, free: 55 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006742/1.753, allocations: 0.4989 MB / 1.049 GB, free: 54.5 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.519e-06/1.753, allocations: 7.938 kB / 1.049 GB, free: 54.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002079/1.755, allocations: 1.511 MB / 1.05 GB, free: 52.95 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006269/1.756, allocations: 3.576 MB / 1.054 GB, free: 49.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.405e-05/1.756, allocations: 8 kB / 1.054 GB, free: 49.09 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001579/1.758, allocations: 0.506 MB / 1.054 GB, free: 48.57 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007208/1.758, allocations: 199.6 kB / 1.055 GB, free: 48.38 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002073/1.76, allocations: 2.919 MB / 1.057 GB, free: 45.28 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001082/1.762, allocations: 64.05 kB / 1.057 GB, free: 45.21 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.642e-05/1.762, allocations: 47.97 kB / 1.057 GB, free: 45.17 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/1.762, allocations: 4 kB / 1.057 GB, free: 45.16 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001942/1.764, allocations: 1.3 MB / 1.059 GB, free: 43.84 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.277e-05/1.764, allocations: 12 kB / 1.059 GB, free: 43.82 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008835/1.765, allocations: 314.6 kB / 1.059 GB, free: 43.51 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007026/1.765, allocations: 207.6 kB / 1.059 GB, free: 43.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001386/1.767, allocations: 2.693 MB / 1.062 GB, free: 40.43 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008456/1.767, allocations: 56.34 kB / 1.062 GB, free: 40.37 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.454e-05/1.768, allocations: 47.98 kB / 1.062 GB, free: 40.32 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 () * Number of clocked 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.0006131/1.768, allocations: 372.7 kB / 1.062 GB, free: 39.95 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001982/1.768, allocations: 90.88 kB / 1.062 GB, free: 39.86 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002137/1.771, allocations: 1.363 MB / 1.064 GB, free: 38.45 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.386e-06/1.771, allocations: 8 kB / 1.064 GB, free: 38.44 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.177e-06/1.771, allocations: 0 / 1.064 GB, free: 38.44 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.656e-06/1.771, allocations: 7.922 kB / 1.064 GB, free: 38.43 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00327/1.774, allocations: 2.31 MB / 1.066 GB, free: 36.04 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/1.774, allocations: 0 / 1.066 GB, free: 36.04 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004544/1.774, allocations: 87.88 kB / 1.066 GB, free: 35.95 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001467/1.776, allocations: 0.5137 MB / 1.067 GB, free: 35.43 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.692e-05/1.776, allocations: 15.98 kB / 1.067 GB, free: 35.41 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001802/1.778, allocations: 2.919 MB / 1.069 GB, free: 32.3 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/1.778, allocations: 0 / 1.069 GB, free: 32.3 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002326/1.78, allocations: 1.765 MB / 1.071 GB, free: 30.48 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006699/1.781, allocations: 287.8 kB / 1.071 GB, free: 30.18 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002514/1.781, allocations: 15.95 kB / 1.071 GB, free: 30.16 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008147/1.782, allocations: 47.91 kB / 1.072 GB, free: 30.11 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000187/1.782, allocations: 60.47 kB / 1.072 GB, free: 30.05 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.481e-05/1.782, allocations: 23.98 kB / 1.072 GB, free: 30.03 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.00096/1.783, allocations: 0.5888 MB / 1.072 GB, free: 29.45 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.7e-07/1.783, allocations: 0 / 1.072 GB, free: 29.45 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00383/1.787, allocations: 0.8586 MB / 1.073 GB, free: 28.59 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 () * Number of clocked 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.002822/1.79, allocations: 0.8247 MB / 1.074 GB, free: 27.75 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003856/1.794, allocations: 1.893 MB / 1.076 GB, free: 25.83 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.662e-06/1.794, allocations: 5.875 kB / 1.076 GB, free: 25.83 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001078/1.795, allocations: 0.5757 MB / 1.076 GB, free: 25.24 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001891/1.797, allocations: 340.7 kB / 1.077 GB, free: 24.91 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004654/1.801, allocations: 2.36 MB / 1.079 GB, free: 22.51 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005687/1.802, allocations: 1.081 MB / 1.08 GB, free: 21.4 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001371/1.803, allocations: 407.5 kB / 1.08 GB, free: 21 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002614/1.804, allocations: 87.39 kB / 1.08 GB, free: 20.91 MB / 490.7 MB Notification: Performance of SimCode: time 1.042e-06/1.804, allocations: 0 / 1.08 GB, free: 20.91 MB / 490.7 MB Notification: Performance of Templates: time 0.2724/2.076, allocations: 25.73 MB / 1.106 GB, free: 102 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)