Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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 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(ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization") translateModel(ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009522/0.0009522, allocations: 98.19 kB / 15.36 MB, free: 0.7344 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.006835/0.006836, allocations: 172.6 kB / 16.27 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.344/1.344, allocations: 205.4 MB / 222.4 MB, free: 5.809 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.284/0.284, allocations: 38.04 MB / 308.8 MB, free: 10.18 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005071/0.0005071, allocations: 20 kB / 377.1 MB, free: 14.82 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1011/0.1017, allocations: 57.52 MB / 434.6 MB, free: 5.203 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization): time 0.3304/0.4321, allocations: 148.7 MB / 0.5696 GB, free: 1.641 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0139/0.4461, allocations: 10.69 MB / 0.58 GB, free: 8.086 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00183/0.448, allocations: 39.69 kB / 0.5801 GB, free: 8.047 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001583/0.4496, allocations: 354.1 kB / 0.5804 GB, free: 7.699 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003597/0.4532, allocations: 1.362 MB / 0.5817 GB, free: 6.332 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005672/0.4589, allocations: 2.287 MB / 0.584 GB, free: 4.059 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003981/0.4629, allocations: 3.899 MB / 0.5878 GB, free: 156 kB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001052/0.4639, allocations: 0.6515 MB / 0.5884 GB, free: 15.49 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001452/0.4654, allocations: 0.8796 MB / 0.5893 GB, free: 14.61 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001479/0.4669, allocations: 1.121 MB / 0.5904 GB, free: 13.48 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001376/0.467, allocations: 52 kB / 0.5904 GB, free: 13.43 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003386/0.4704, allocations: 1.985 MB / 0.5923 GB, free: 11.45 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004065/0.4709, allocations: 354.9 kB / 0.5927 GB, free: 11.1 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006566/0.4715, allocations: 0.546 MB / 0.5932 GB, free: 10.54 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003624/0.4752, allocations: 2.517 MB / 0.5957 GB, free: 8.02 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.4752, allocations: 0 / 0.5957 GB, free: 8.02 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.4752, allocations: 0 / 0.5957 GB, free: 8.02 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.565e-05/0.4752, allocations: 0 / 0.5957 GB, free: 8.02 MB / 462.1 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.002892/0.4781, allocations: 1.368 MB / 0.597 GB, free: 6.602 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.48e-05/0.4782, allocations: 16.03 kB / 0.597 GB, free: 6.586 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003668/0.4785, allocations: 118.7 kB / 0.5971 GB, free: 6.469 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009495/0.4795, allocations: 0.7176 MB / 0.5978 GB, free: 5.703 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000108/0.4796, allocations: 116.7 kB / 0.5979 GB, free: 5.578 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001196/0.4797, allocations: 71.92 kB / 0.598 GB, free: 5.508 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001739/0.4815, allocations: 1.208 MB / 0.5992 GB, free: 4.27 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.012e-05/0.4815, allocations: 3.938 kB / 0.5992 GB, free: 4.266 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.534e-05/0.4816, allocations: 35.11 kB / 0.5992 GB, free: 4.234 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.259e-05/0.4817, allocations: 73.95 kB / 0.5993 GB, free: 4.16 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001787/0.4835, allocations: 1.202 MB / 0.6005 GB, free: 2.961 MB / 462.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007669/0.4912, allocations: 4.935 MB / 0.6053 GB, free: 13.75 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001197/0.4924, allocations: 0.6816 MB / 0.606 GB, free: 13.05 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005904/0.493, allocations: 426.3 kB / 0.6064 GB, free: 12.64 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00303/0.496, allocations: 2.437 MB / 0.6087 GB, free: 9.988 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.871e-05/0.4961, allocations: 43 kB / 0.6088 GB, free: 9.938 MB / 478.1 MB Notification: Performance of pre-optimization done (n=52): time 2.234e-06/0.4961, allocations: 0 / 0.6088 GB, free: 9.938 MB / 478.1 MB Notification: Performance of matching and sorting (n=57): time 0.006665/0.5028, allocations: 3.046 MB / 0.6118 GB, free: 6.777 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.516e-05/0.5029, allocations: 170.8 kB / 0.6119 GB, free: 6.574 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001124/0.504, allocations: 0.9466 MB / 0.6128 GB, free: 5.617 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 6.961e-05/0.5041, allocations: 37.7 kB / 0.6129 GB, free: 5.574 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003181/0.5044, allocations: 471.1 kB / 0.6133 GB, free: 5.109 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001577/0.5046, allocations: 201.2 kB / 0.6135 GB, free: 4.91 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000129/0.5047, allocations: 81.67 kB / 0.6136 GB, free: 4.824 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001126/0.5048, allocations: 338 kB / 0.6139 GB, free: 4.488 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006969/0.5055, allocations: 465.7 kB / 0.6144 GB, free: 4.035 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008613/0.5064, allocations: 0.7115 MB / 0.6151 GB, free: 3.219 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001461/0.5079, allocations: 1.085 MB / 0.6161 GB, free: 2.047 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.791e-06/0.5079, allocations: 4 kB / 0.6161 GB, free: 2.043 MB / 478.1 MB Notification: Performance of matching and sorting (n=114) (initialization): time 0.002416/0.5103, allocations: 1.558 MB / 0.6177 GB, free: 456 kB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001565/0.5105, allocations: 297.8 kB / 0.6179 GB, free: 64 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/0.5105, allocations: 4 kB / 0.6179 GB, free: 60 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001621/0.5121, allocations: 0.5294 MB / 0.6185 GB, free: 15.52 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007428/0.5129, allocations: 187.7 kB / 0.6186 GB, free: 15.34 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002668/0.5156, allocations: 2.943 MB / 0.6215 GB, free: 12.2 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009657/0.5166, allocations: 55.84 kB / 0.6216 GB, free: 12.15 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.877e-05/0.5167, allocations: 44.86 kB / 0.6216 GB, free: 12.11 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.917e-06/0.5167, allocations: 7.938 kB / 0.6216 GB, free: 12.1 MB / 494.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002525/0.5192, allocations: 1.409 MB / 0.623 GB, free: 10.66 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.295e-05/0.5193, allocations: 8 kB / 0.623 GB, free: 10.65 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00101/0.5203, allocations: 426.4 kB / 0.6234 GB, free: 10.23 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007069/0.521, allocations: 191.7 kB / 0.6236 GB, free: 10.04 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002154/0.5232, allocations: 2.839 MB / 0.6264 GB, free: 7.02 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000817/0.524, allocations: 51.88 kB / 0.6264 GB, free: 6.969 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.279e-05/0.5241, allocations: 44.08 kB / 0.6264 GB, free: 6.926 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 4 (vol1.regularFlow[1],vol1.regularFlow[2],vol1.inFlow[2],vol1.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (101): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,5), (2,5)} Notification: Performance of prepare postOptimizeDAE: time 0.000552/0.5247, allocations: 372.8 kB / 0.6268 GB, free: 6.551 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001673/0.5248, allocations: 94.88 kB / 0.6269 GB, free: 6.457 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002283/0.5271, allocations: 1.403 MB / 0.6283 GB, free: 5.012 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.015e-05/0.5271, allocations: 12 kB / 0.6283 GB, free: 5 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.5271, allocations: 0 / 0.6283 GB, free: 5 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.107e-06/0.5272, allocations: 3.984 kB / 0.6283 GB, free: 4.996 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003359/0.5305, allocations: 2.334 MB / 0.6306 GB, free: 2.57 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.771e-06/0.5306, allocations: 0 / 0.6306 GB, free: 2.57 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004457/0.531, allocations: 99.75 kB / 0.6307 GB, free: 2.473 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001489/0.5325, allocations: 0.506 MB / 0.6311 GB, free: 1.957 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.474e-05/0.5326, allocations: 19.98 kB / 0.6312 GB, free: 1.938 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1996/0.7322, allocations: 2.913 MB / 0.634 GB, free: 155.7 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.7322, allocations: 1.875 kB / 0.634 GB, free: 155.7 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002715/0.7349, allocations: 1.762 MB / 0.6357 GB, free: 155.4 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004858/0.7354, allocations: 304.5 kB / 0.636 GB, free: 155.4 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000133/0.7356, allocations: 15.72 kB / 0.636 GB, free: 155.4 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006295/0.7362, allocations: 36.28 kB / 0.6361 GB, free: 155.4 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001469/0.7364, allocations: 62.12 kB / 0.6361 GB, free: 155.4 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.588e-05/0.7364, allocations: 33.64 kB / 0.6362 GB, free: 155.4 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.000795/0.7372, allocations: 0.6762 MB / 0.6368 GB, free: 155.2 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.81e-07/0.7372, allocations: 0 / 0.6368 GB, free: 155.2 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002124/0.7394, allocations: 0.8052 MB / 0.6376 GB, free: 155.2 MB / 494.1 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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,7), (2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001273/0.7407, allocations: 0.6474 MB / 0.6382 GB, free: 155.1 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003373/0.744, allocations: 1.914 MB / 0.6401 GB, free: 154.9 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.7441, allocations: 3.938 kB / 0.6401 GB, free: 154.9 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001041/0.7451, allocations: 0.5824 MB / 0.6407 GB, free: 154.8 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00196/0.7471, allocations: 409.7 kB / 0.6411 GB, free: 154.8 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003055/0.7501, allocations: 2.351 MB / 0.6434 GB, free: 153.8 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004052/0.7506, allocations: 1.061 MB / 0.6444 GB, free: 153.1 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001147/0.7517, allocations: 438 kB / 0.6448 GB, free: 153.1 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002044/0.7519, allocations: 89.47 kB / 0.6449 GB, free: 153.1 MB / 494.1 MB Notification: Performance of SimCode: time 7.71e-07/0.7519, allocations: 0 / 0.6449 GB, free: 153.1 MB / 494.1 MB Notification: Performance of Templates: time 0.04207/0.794, allocations: 28.26 MB / 0.6725 GB, free: 146.9 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.pipe 2>&1) Environment - environmentSimulation: