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/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.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 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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009179/0.0009179, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.001007/0.001007, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.252/1.252, allocations: 205.4 MB / 222.1 MB, free: 5.527 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2756/0.2756, allocations: 40 MB / 310.4 MB, free: 10.02 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.2. 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.0004768/0.0004769, allocations: 12 kB / 378.8 MB, free: 12.62 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0899/0.09038, allocations: 57.97 MB / 436.8 MB, free: 2.551 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization): time 0.2875/0.3779, allocations: 129.3 MB / 0.5528 GB, free: 48 kB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0119/0.3898, allocations: 9.166 MB / 0.5618 GB, free: 8.66 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001041/0.3909, allocations: 39.69 kB / 0.5618 GB, free: 8.621 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001114/0.392, allocations: 354.2 kB / 0.5621 GB, free: 8.273 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002871/0.3949, allocations: 1.176 MB / 0.5633 GB, free: 7.094 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00494/0.3999, allocations: 2.107 MB / 0.5653 GB, free: 5.004 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002162/0.4021, allocations: 1.499 MB / 0.5668 GB, free: 3.5 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009913/0.4031, allocations: 0.6332 MB / 0.5674 GB, free: 2.859 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001296/0.4044, allocations: 0.8218 MB / 0.5682 GB, free: 2.035 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001072/0.4055, allocations: 0.7673 MB / 0.569 GB, free: 1.266 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001273/0.4056, allocations: 56 kB / 0.569 GB, free: 1.211 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003227/0.4088, allocations: 1.833 MB / 0.5708 GB, free: 15.38 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003434/0.4092, allocations: 331.1 kB / 0.5711 GB, free: 15.05 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002235/0.4094, allocations: 213.2 kB / 0.5713 GB, free: 14.84 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002202/0.4116, allocations: 1.836 MB / 0.5731 GB, free: 13 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.4116, allocations: 0 / 0.5731 GB, free: 13 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.4116, allocations: 4 kB / 0.5731 GB, free: 13 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.097e-05/0.4117, allocations: 0 / 0.5731 GB, free: 13 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: 179 * Number of variables: 179 Notification: Performance of Generate backend data structure: time 0.002794/0.4145, allocations: 1.379 MB / 0.5745 GB, free: 11.57 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.25e-05/0.4145, allocations: 12.02 kB / 0.5745 GB, free: 11.55 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003588/0.4149, allocations: 114.8 kB / 0.5746 GB, free: 11.44 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001074/0.416, allocations: 0.7024 MB / 0.5753 GB, free: 10.7 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001072/0.4161, allocations: 120.7 kB / 0.5754 GB, free: 10.57 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001088/0.4162, allocations: 63.98 kB / 0.5755 GB, free: 10.5 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001689/0.4179, allocations: 1.192 MB / 0.5766 GB, free: 9.277 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.007e-05/0.4179, allocations: 8 kB / 0.5766 GB, free: 9.27 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.092e-05/0.418, allocations: 27.98 kB / 0.5767 GB, free: 9.242 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001004/0.4181, allocations: 73.95 kB / 0.5767 GB, free: 9.168 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001746/0.4199, allocations: 1.198 MB / 0.5779 GB, free: 7.973 MB / 446.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.007604/0.4275, allocations: 4.992 MB / 0.5828 GB, free: 2.699 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001155/0.4287, allocations: 0.6808 MB / 0.5834 GB, free: 2.012 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003121/0.4318, allocations: 2.483 MB / 0.5859 GB, free: 15.32 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.819e-05/0.4318, allocations: 42.69 kB / 0.5859 GB, free: 15.27 MB / 462.1 MB Notification: Performance of pre-optimization done (n=52): time 2.144e-06/0.4319, allocations: 3.938 kB / 0.5859 GB, free: 15.27 MB / 462.1 MB Notification: Performance of matching and sorting (n=57): time 0.006524/0.4384, allocations: 3.023 MB / 0.5889 GB, free: 12.13 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.854e-05/0.4385, allocations: 162.8 kB / 0.589 GB, free: 11.93 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001085/0.4396, allocations: 0.9466 MB / 0.59 GB, free: 10.98 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 6.771e-05/0.4397, allocations: 37.7 kB / 0.59 GB, free: 10.93 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003179/0.44, allocations: 475 kB / 0.5904 GB, free: 10.46 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001544/0.4401, allocations: 197.2 kB / 0.5906 GB, free: 10.27 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.852e-05/0.4402, allocations: 20 kB / 0.5906 GB, free: 10.25 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001346/0.4404, allocations: 353.9 kB / 0.591 GB, free: 9.898 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006748/0.441, allocations: 453.7 kB / 0.5914 GB, free: 9.457 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008356/0.4419, allocations: 0.6842 MB / 0.5921 GB, free: 8.664 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007796/0.4427, allocations: 0.5222 MB / 0.5926 GB, free: 8.145 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.4427, allocations: 0 / 0.5926 GB, free: 8.145 MB / 462.1 MB Notification: Performance of matching and sorting (n=114) (initialization): time 0.002315/0.445, allocations: 1.519 MB / 0.5941 GB, free: 6.594 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009354/0.4459, allocations: 2.619 MB / 0.5966 GB, free: 3.77 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.333e-05/0.446, allocations: 8 kB / 0.5966 GB, free: 3.762 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001575/0.4475, allocations: 0.5176 MB / 0.5971 GB, free: 3.234 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007234/0.4483, allocations: 191.7 kB / 0.5973 GB, free: 3.047 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002467/0.4508, allocations: 2.932 MB / 0.6002 GB, free: 15.93 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008691/0.4517, allocations: 68.05 kB / 0.6003 GB, free: 15.87 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.277e-05/0.4518, allocations: 45.55 kB / 0.6003 GB, free: 15.82 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.385e-06/0.4518, allocations: 4 kB / 0.6003 GB, free: 15.82 MB / 478.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002197/0.454, allocations: 1.382 MB / 0.6017 GB, free: 14.41 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.454, allocations: 8.125 kB / 0.6017 GB, free: 14.4 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009934/0.455, allocations: 422.2 kB / 0.6021 GB, free: 13.98 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007151/0.4557, allocations: 187.7 kB / 0.6022 GB, free: 13.79 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002102/0.4578, allocations: 2.837 MB / 0.605 GB, free: 10.77 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007624/0.4586, allocations: 56.19 kB / 0.6051 GB, free: 10.72 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.768e-05/0.4587, allocations: 39.98 kB / 0.6051 GB, free: 10.68 MB / 478.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.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 (101): * Single equations (assignments): 98 * 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.0004897/0.4592, allocations: 376.7 kB / 0.6055 GB, free: 10.3 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001496/0.4594, allocations: 98.81 kB / 0.6056 GB, free: 10.2 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002241/0.4616, allocations: 1.4 MB / 0.6069 GB, free: 8.766 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.34e-05/0.4616, allocations: 11.98 kB / 0.6069 GB, free: 8.754 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.4617, allocations: 0 / 0.6069 GB, free: 8.754 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.175e-06/0.4617, allocations: 3.984 kB / 0.6069 GB, free: 8.75 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003291/0.465, allocations: 2.353 MB / 0.6092 GB, free: 6.305 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.465, allocations: 0 / 0.6092 GB, free: 6.305 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004306/0.4654, allocations: 87.88 kB / 0.6093 GB, free: 6.219 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001441/0.4669, allocations: 0.5176 MB / 0.6098 GB, free: 5.691 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.959e-05/0.4669, allocations: 19.98 kB / 0.6098 GB, free: 5.672 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002204/0.4691, allocations: 2.917 MB / 0.6127 GB, free: 2.57 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.4692, allocations: 8.016 kB / 0.6127 GB, free: 2.562 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002407/0.4716, allocations: 1.773 MB / 0.6144 GB, free: 0.7266 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005125/0.4721, allocations: 315.7 kB / 0.6147 GB, free: 408 kB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001362/0.4722, allocations: 16 kB / 0.6148 GB, free: 392 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000591/0.4728, allocations: 35.97 kB / 0.6148 GB, free: 356 kB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001199/0.473, allocations: 63.72 kB / 0.6148 GB, free: 296 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.322e-05/0.473, allocations: 27.98 kB / 0.6149 GB, free: 268 kB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0008229/0.4739, allocations: 0.6674 MB / 0.6155 GB, free: 15.58 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4739, allocations: 3.938 kB / 0.6155 GB, free: 15.58 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001989/0.4759, allocations: 0.8121 MB / 0.6163 GB, free: 14.77 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 (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.001294/0.4772, allocations: 0.6357 MB / 0.6169 GB, free: 14.12 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003306/0.4805, allocations: 1.901 MB / 0.6188 GB, free: 12.2 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.668e-06/0.4805, allocations: 3.938 kB / 0.6188 GB, free: 12.2 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001022/0.4815, allocations: 0.5773 MB / 0.6194 GB, free: 11.61 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00163/0.4832, allocations: 379 kB / 0.6197 GB, free: 11.23 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003391/0.4866, allocations: 2.241 MB / 0.6219 GB, free: 8.969 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006213/0.4872, allocations: 1.086 MB / 0.623 GB, free: 7.852 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001214/0.4885, allocations: 435.9 kB / 0.6234 GB, free: 7.422 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002139/0.4887, allocations: 83.41 kB / 0.6235 GB, free: 7.34 MB / 494.1 MB Notification: Performance of SimCode: time 2.81e-07/0.4887, allocations: 4 kB / 0.6235 GB, free: 7.336 MB / 494.1 MB Notification: Performance of Templates: time 0.1896/0.6783, allocations: 27.34 MB / 0.6502 GB, free: 150.7 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: