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.001447/0.001448, allocations: 99.86 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.001699/0.001699, 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.375/1.375, allocations: 205.4 MB / 222.1 MB, free: 5.664 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.3308/0.3308, allocations: 38.03 MB / 308.4 MB, free: 10.44 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.0009842/0.0009843, allocations: 20 kB / 376.4 MB, free: 15.2 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1508/0.1518, allocations: 57.52 MB / 433.9 MB, free: 5.578 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization): time 0.3343/0.4861, allocations: 129.3 MB / 0.55 GB, free: 2.727 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01254/0.4987, allocations: 9.175 MB / 0.559 GB, free: 12.36 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001252/0.4999, allocations: 37.62 kB / 0.559 GB, free: 12.34 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001047/0.501, allocations: 353.9 kB / 0.5594 GB, free: 12.14 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003225/0.5042, allocations: 1.186 MB / 0.5605 GB, free: 11.41 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00542/0.5097, allocations: 2.106 MB / 0.5626 GB, free: 9.41 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002201/0.5119, allocations: 1.496 MB / 0.564 GB, free: 7.914 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000857/0.5128, allocations: 0.6245 MB / 0.5646 GB, free: 7.277 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001281/0.5141, allocations: 0.8258 MB / 0.5655 GB, free: 6.449 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001124/0.5152, allocations: 0.7633 MB / 0.5662 GB, free: 5.684 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001331/0.5153, allocations: 56 kB / 0.5663 GB, free: 5.629 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003426/0.5188, allocations: 1.837 MB / 0.568 GB, free: 3.789 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003656/0.5191, allocations: 331.1 kB / 0.5684 GB, free: 3.465 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002352/0.5194, allocations: 209.2 kB / 0.5686 GB, free: 3.254 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002369/0.5218, allocations: 1.84 MB / 0.5704 GB, free: 1.414 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.5218, allocations: 0 / 0.5704 GB, free: 1.414 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.5218, allocations: 0 / 0.5704 GB, free: 1.414 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.306e-05/0.5218, allocations: 4 kB / 0.5704 GB, free: 1.41 MB / 430.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.002973/0.5248, allocations: 1.376 MB / 0.5717 GB, free: 15.98 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.5248, allocations: 20.02 kB / 0.5717 GB, free: 15.96 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004054/0.5253, allocations: 118.7 kB / 0.5718 GB, free: 15.84 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001266/0.5265, allocations: 0.6945 MB / 0.5725 GB, free: 15.11 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001408/0.5267, allocations: 116.7 kB / 0.5726 GB, free: 14.98 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001195/0.5268, allocations: 63.98 kB / 0.5727 GB, free: 14.92 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001865/0.5287, allocations: 1.2 MB / 0.5739 GB, free: 13.69 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.011e-05/0.5287, allocations: 0 / 0.5739 GB, free: 13.69 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.537e-05/0.5288, allocations: 27.98 kB / 0.5739 GB, free: 13.66 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001036/0.5289, allocations: 77.95 kB / 0.574 GB, free: 13.58 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00191/0.5308, allocations: 1.198 MB / 0.5751 GB, free: 12.39 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.008277/0.5391, allocations: 4.993 MB / 0.58 GB, free: 7.113 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001277/0.5404, allocations: 0.6855 MB / 0.5807 GB, free: 6.422 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003522/0.544, allocations: 2.487 MB / 0.5831 GB, free: 3.723 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.785e-05/0.544, allocations: 43 kB / 0.5831 GB, free: 3.672 MB / 446.1 MB Notification: Performance of pre-optimization done (n=52): time 1.914e-06/0.544, allocations: 0 / 0.5831 GB, free: 3.672 MB / 446.1 MB Notification: Performance of matching and sorting (n=57): time 0.007298/0.5513, allocations: 3.023 MB / 0.5861 GB, free: 0.5352 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.593e-05/0.5515, allocations: 166.7 kB / 0.5863 GB, free: 344 kB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00124/0.5527, allocations: 0.9427 MB / 0.5872 GB, free: 15.38 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 7.509e-05/0.5528, allocations: 37.7 kB / 0.5872 GB, free: 15.34 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003325/0.5531, allocations: 475.1 kB / 0.5877 GB, free: 14.87 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001653/0.5533, allocations: 201.2 kB / 0.5879 GB, free: 14.67 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.84e-05/0.5534, allocations: 20 kB / 0.5879 GB, free: 14.65 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001306/0.5535, allocations: 345.9 kB / 0.5882 GB, free: 14.31 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007258/0.5543, allocations: 449.7 kB / 0.5886 GB, free: 13.87 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008914/0.5552, allocations: 0.6882 MB / 0.5893 GB, free: 13.08 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007976/0.556, allocations: 0.5182 MB / 0.5898 GB, free: 12.56 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.529e-06/0.556, allocations: 0 / 0.5898 GB, free: 12.56 MB / 462.1 MB Notification: Performance of matching and sorting (n=114) (initialization): time 0.002394/0.5584, allocations: 1.527 MB / 0.5913 GB, free: 11 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000965/0.5594, allocations: 2.619 MB / 0.5939 GB, free: 8.176 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.681e-05/0.5594, allocations: 11.95 kB / 0.5939 GB, free: 8.164 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001693/0.5611, allocations: 0.5148 MB / 0.5944 GB, free: 7.641 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008121/0.5619, allocations: 187.7 kB / 0.5946 GB, free: 7.457 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002693/0.5646, allocations: 2.938 MB / 0.5974 GB, free: 4.34 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001003/0.5656, allocations: 59.97 kB / 0.5975 GB, free: 4.281 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001085/0.5658, allocations: 43.98 kB / 0.5975 GB, free: 4.238 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.897e-06/0.5658, allocations: 4 kB / 0.5975 GB, free: 4.234 MB / 462.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002291/0.5681, allocations: 1.378 MB / 0.5989 GB, free: 2.824 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.31e-05/0.5681, allocations: 9.188 kB / 0.5989 GB, free: 2.816 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001069/0.5692, allocations: 430.3 kB / 0.5993 GB, free: 2.387 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007392/0.5699, allocations: 187.7 kB / 0.5995 GB, free: 2.203 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00226/0.5722, allocations: 2.829 MB / 0.6022 GB, free: 15.19 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008583/0.5731, allocations: 64.17 kB / 0.6023 GB, free: 15.13 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001035/0.5732, allocations: 39.98 kB / 0.6023 GB, free: 15.09 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.000679/0.5739, allocations: 373.8 kB / 0.6027 GB, free: 14.71 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001962/0.5741, allocations: 98.88 kB / 0.6028 GB, free: 14.62 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002486/0.5766, allocations: 1.402 MB / 0.6042 GB, free: 13.18 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.264e-05/0.5766, allocations: 11.98 kB / 0.6042 GB, free: 13.17 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.5766, allocations: 0 / 0.6042 GB, free: 13.17 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/0.5766, allocations: 0 / 0.6042 GB, free: 13.17 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003655/0.5803, allocations: 2.361 MB / 0.6065 GB, free: 10.72 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/0.5803, allocations: 0 / 0.6065 GB, free: 10.72 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004617/0.5808, allocations: 87.88 kB / 0.6066 GB, free: 10.63 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001566/0.5823, allocations: 0.5138 MB / 0.6071 GB, free: 10.11 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.477e-05/0.5824, allocations: 19.98 kB / 0.6071 GB, free: 10.09 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002482/0.5849, allocations: 2.92 MB / 0.6099 GB, free: 6.984 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.5849, allocations: 0 / 0.6099 GB, free: 6.984 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002797/0.5877, allocations: 1.784 MB / 0.6117 GB, free: 5.133 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007255/0.5885, allocations: 319.7 kB / 0.612 GB, free: 4.801 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000236/0.5887, allocations: 16 kB / 0.612 GB, free: 4.785 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007094/0.5895, allocations: 40.03 kB / 0.612 GB, free: 4.746 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001475/0.5896, allocations: 56.47 kB / 0.6121 GB, free: 4.691 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.661e-05/0.5897, allocations: 28.73 kB / 0.6121 GB, free: 4.664 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0009331/0.5906, allocations: 0.6635 MB / 0.6128 GB, free: 3.988 MB / 478.1 MB Notification: Performance of sort global known variables: time 2e-07/0.5906, allocations: 0 / 0.6128 GB, free: 3.988 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002209/0.5929, allocations: 0.8081 MB / 0.6135 GB, free: 3.18 MB / 478.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.001588/0.5945, allocations: 0.6478 MB / 0.6142 GB, free: 2.523 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003656/0.5981, allocations: 1.898 MB / 0.616 GB, free: 0.6094 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.92e-06/0.5981, allocations: 3.938 kB / 0.616 GB, free: 0.6055 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001074/0.5992, allocations: 0.5764 MB / 0.6166 GB, free: 16 kB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001859/0.6011, allocations: 375.7 kB / 0.617 GB, free: 15.65 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004297/0.6054, allocations: 2.239 MB / 0.6191 GB, free: 13.38 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008253/0.6063, allocations: 1.085 MB / 0.6202 GB, free: 12.26 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001615/0.6079, allocations: 439.9 kB / 0.6206 GB, free: 11.82 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002854/0.6082, allocations: 87.34 kB / 0.6207 GB, free: 11.74 MB / 494.1 MB Notification: Performance of SimCode: time 8.52e-07/0.6082, allocations: 0 / 0.6207 GB, free: 11.74 MB / 494.1 MB Notification: Performance of Templates: time 0.2152/0.8234, allocations: 27.33 MB / 0.6474 GB, free: 152 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: