Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyState.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyState,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pipe1.mediums.1..T|pipe1.mediums.1..Xi.1.|pipe1.mediums.1..p|pipe1.mediums.2..T|pipe1.mediums.2..Xi.1.|pipe1.mediums.2..p|pipe1.mediums.3..T|pipe1.mediums.3..Xi.1.|pipe1.mediums.3..p|pipe1.mediums.4..T|pipe1.mediums.4..Xi.1.|pipe1.mediums.4..p|pipe1.mediums.5..T|pipe1.mediums.5..Xi.1.|pipe1.mediums.5..p|pipe2.mediums.1..T|pipe2.mediums.1..Xi.1.|pipe2.mediums.1..p|pipe2.mediums.2..T|pipe2.mediums.2..Xi.1.|pipe2.mediums.2..p|pipe2.mediums.3..T|pipe2.mediums.3..Xi.1.|pipe2.mediums.3..p|pipe2.mediums.4..T|pipe2.mediums.4..Xi.1.|pipe2.mediums.4..p|pipe2.mediums.5..T|pipe2.mediums.5..Xi.1.|pipe2.mediums.5..p|pipe3.mediums.1..T|pipe3.mediums.1..Xi.1.|pipe3.mediums.1..p|pipe3.mediums.2..T|pipe3.mediums.2..Xi.1.|pipe3.mediums.2..p|pipe3.mediums.3..T|pipe3.mediums.3..Xi.1.|pipe3.mediums.3..p|pipe3.mediums.4..T|pipe3.mediums.4..Xi.1.|pipe3.mediums.4..p|pipe3.mediums.5..T|pipe3.mediums.5..Xi.1.|pipe3.mediums.5..p|pipe4.mediums.1..T|pipe4.mediums.1..Xi.1.|pipe4.mediums.1..p|pipe4.mediums.2..T|pipe4.mediums.2..Xi.1.|pipe4.mediums.2..p|pipe4.mediums.3..T|pipe4.mediums.3..Xi.1.|pipe4.mediums.3..p|pipe4.mediums.4..T|pipe4.mediums.4..Xi.1.|pipe4.mediums.4..p|pipe4.mediums.5..T|pipe4.mediums.5..Xi.1.|pipe4.mediums.5..p",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyState") Notification: Performance of loadModel(ModelicaTest): time 2.086/2.086, allocations: 234.9 MB / 250.5 MB, free: 9.465 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004255/0.0004257, allocations: 12 kB / 314.4 MB, free: 9.469 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2701/0.2706, allocations: 54.85 MB / 369.3 MB, free: 10.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.49/8.76, allocations: 3.68 GB / 4.04 GB, free: 3.246 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002185/8.761, allocations: 76.16 kB / 4.041 GB, free: 3.207 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.318/14.08, allocations: 0.9756 GB / 5.016 GB, free: 33.92 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.977e-06/14.08, allocations: 0 / 5.016 GB, free: 33.92 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0005152/14.08, allocations: 160.6 kB / 5.016 GB, free: 33.9 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2025 * Number of variables: 2025 Notification: Performance of Generate backend data structure: time 0.04833/14.13, allocations: 10.32 MB / 5.026 GB, free: 30.07 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/14.13, allocations: 12.88 kB / 5.026 GB, free: 30.07 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008082/14.14, allocations: 0.8628 MB / 5.027 GB, free: 29.67 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0224/14.16, allocations: 5.772 MB / 5.033 GB, free: 28.89 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009116/14.16, allocations: 0.5221 MB / 5.033 GB, free: 28.87 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004724/14.16, allocations: 0.6951 MB / 5.034 GB, free: 28.85 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04475/14.21, allocations: 14 MB / 5.048 GB, free: 28.17 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000536/14.21, allocations: 26.22 kB / 5.048 GB, free: 28.16 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004505/14.21, allocations: 284.2 kB / 5.048 GB, free: 28.16 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009312/14.21, allocations: 0.7102 MB / 5.049 GB, free: 28.14 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04372/14.26, allocations: 16.46 MB / 5.065 GB, free: 28.08 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1142/14.37, allocations: 47.6 MB / 5.111 GB, free: 13.07 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02574/14.4, allocations: 10.65 MB / 5.122 GB, free: 12.96 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004918/14.4, allocations: 4.181 MB / 5.126 GB, free: 24.73 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002219/14.4, allocations: 146.8 kB / 5.126 GB, free: 24.68 MB / 0.5417 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.007126/14.41, allocations: 0.8478 MB / 5.127 GB, free: 24.32 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=882): time 3.685e-05/14.41, allocations: 3.906 kB / 5.127 GB, free: 24.32 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1122): time 0.8571/15.27, allocations: 100.8 MB / 5.225 GB, free: 55.25 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000133/15.27, allocations: 169.8 kB / 5.225 GB, free: 55.18 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008362/15.28, allocations: 3.372 MB / 5.229 GB, free: 54.96 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.003688/15.28, allocations: 228.1 kB / 5.229 GB, free: 54.93 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.002079/15.28, allocations: 2.229 MB / 5.231 GB, free: 54.75 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.006581/15.29, allocations: 3.9 MB / 5.235 GB, free: 52.78 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003655/15.29, allocations: 216.7 kB / 5.235 GB, free: 52.78 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.001167/15.29, allocations: 0.7479 MB / 5.236 GB, free: 52.45 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02862/15.32, allocations: 9.989 MB / 5.246 GB, free: 52.42 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03128/15.35, allocations: 11.44 MB / 5.257 GB, free: 51.23 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03095/15.38, allocations: 11.05 MB / 5.268 GB, free: 51.1 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.161e-05/15.38, allocations: 9.125 kB / 5.268 GB, free: 51.1 MB / 0.5573 GB Notification: Performance of matching and sorting (n=1375) (initialization): time 0.1017/15.49, allocations: 31.99 MB / 5.299 GB, free: 50.54 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.002563/15.49, allocations: 11.87 MB / 5.31 GB, free: 38.17 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000174/15.49, allocations: 32.81 kB / 5.31 GB, free: 38.17 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.3761/15.87, allocations: 78.47 MB / 5.387 GB, free: 17.98 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006195/15.87, allocations: 1.064 MB / 5.388 GB, free: 17.18 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1157/15.99, allocations: 35.72 MB / 5.423 GB, free: 6.637 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01864/16.01, allocations: 1.791 MB / 5.425 GB, free: 5.418 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004588/16.01, allocations: 0.5942 MB / 5.425 GB, free: 4.914 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/16.01, allocations: 8 kB / 5.425 GB, free: 4.906 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.5257/16.54, allocations: 34.45 MB / 5.459 GB, free: 70.59 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001646/16.54, allocations: 32.25 kB / 5.459 GB, free: 70.59 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2917/16.83, allocations: 55.74 MB / 5.513 GB, free: 70.25 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006988/16.84, allocations: 1.172 MB / 5.515 GB, free: 70.25 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09387/16.93, allocations: 31.92 MB / 5.546 GB, free: 69.45 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01801/16.95, allocations: 1.752 MB / 5.547 GB, free: 69.45 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004337/16.95, allocations: 0.5795 MB / 5.548 GB, free: 69.45 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 136 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (588): * Single equations (assignments): 587 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {72 716} Notification: Performance of prepare postOptimizeDAE: time 0.0121/16.96, allocations: 2.572 MB / 5.551 GB, free: 69.26 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00497/16.97, allocations: 0.6414 MB / 5.551 GB, free: 69.26 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.09256/17.06, allocations: 29.99 MB / 5.58 GB, free: 57.49 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001468/17.06, allocations: 123.5 kB / 5.581 GB, free: 57.38 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.724e-05/17.06, allocations: 4 kB / 5.581 GB, free: 57.37 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.06803/17.13, allocations: 23.72 MB / 5.604 GB, free: 37.77 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1116/17.24, allocations: 41.85 MB / 5.645 GB, free: 4.824 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001173/17.24, allocations: 4 kB / 5.645 GB, free: 4.82 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01476/17.26, allocations: 2.136 MB / 5.647 GB, free: 3.145 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.4667/17.72, allocations: 14.15 MB / 5.66 GB, free: 69.92 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004129/17.73, allocations: 0.6081 MB / 5.661 GB, free: 69.92 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05309/17.78, allocations: 33.08 MB / 5.693 GB, free: 52.33 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.724e-06/17.78, allocations: 9.438 kB / 5.693 GB, free: 52.33 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1094/17.89, allocations: 36.88 MB / 5.729 GB, free: 51.33 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002935/17.89, allocations: 0.7852 MB / 5.73 GB, free: 50.93 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005172/17.9, allocations: 461.2 kB / 5.731 GB, free: 50.93 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01648/17.91, allocations: 1.455 MB / 5.732 GB, free: 50.9 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003964/17.92, allocations: 0.764 MB / 5.733 GB, free: 50.88 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003952/17.92, allocations: 0.5495 MB / 5.733 GB, free: 50.88 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.006105/17.93, allocations: 2.554 MB / 5.736 GB, free: 50.74 MB / 0.573 GB Notification: Performance of sort global known variables: time 9.08e-07/17.93, allocations: 0.9375 kB / 5.736 GB, free: 50.74 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.03136/17.96, allocations: 6.935 MB / 5.743 GB, free: 50.74 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 60 (pipe1.mediums[1].p,pipe1.mediums[1].Xi[1],pipe1.mediums[1].T,pipe1.mediums[2].p,pipe1.mediums[2].Xi[1],pipe1.mediums[2].T,pipe1.mediums[3].p,pipe1.mediums[3].Xi[1],pipe1.mediums[3].T,pipe1.mediums[4].p,pipe1.mediums[4].Xi[1],pipe1.mediums[4].T,pipe1.mediums[5].p,pipe1.mediums[5].Xi[1],pipe1.mediums[5].T,pipe2.mediums[1].p,pipe2.mediums[1].Xi[1],pipe2.mediums[1].T,pipe2.mediums[2].p,pipe2.mediums[2].Xi[1],pipe2.mediums[2].T,pipe2.mediums[3].p,pipe2.mediums[3].Xi[1],pipe2.mediums[3].T,pipe2.mediums[4].p,pipe2.mediums[4].Xi[1],pipe2.mediums[4].T,pipe2.mediums[5].p,pipe2.mediums[5].Xi[1],pipe2.mediums[5].T,pipe3.mediums[1].p,pipe3.mediums[1].Xi[1],pipe3.mediums[1].T,pipe3.mediums[2].p,pipe3.mediums[2].Xi[1],pipe3.mediums[2].T,pipe3.mediums[3].p,pipe3.mediums[3].Xi[1],pipe3.mediums[3].T,pipe3.mediums[4].p,pipe3.mediums[4].Xi[1],pipe3.mediums[4].T,pipe3.mediums[5].p,pipe3.mediums[5].Xi[1],pipe3.mediums[5].T,pipe4.mediums[1].p,pipe4.mediums[1].Xi[1],pipe4.mediums[1].T,pipe4.mediums[2].p,pipe4.mediums[2].Xi[1],pipe4.mediums[2].T,pipe4.mediums[3].p,pipe4.mediums[3].Xi[1],pipe4.mediums[3].T,pipe4.mediums[4].p,pipe4.mediums[4].Xi[1],pipe4.mediums[4].T,pipe4.mediums[5].p,pipe4.mediums[5].Xi[1],pipe4.mediums[5].T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1057): * Single equations (assignments): 1030 * 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: 27 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 22 {2 6,2 6,2 6,2 6,2 6,2 6,2 6,2 6,2 6,2 6,2 6,2 6,2 6,2 6,2 6,2 6,2 6,2 6,2 6,2 6,4 20,4 20} Notification: Performance of Backend phase and start with SimCode phase: time 0.01584/17.98, allocations: 3.937 MB / 5.746 GB, free: 50.48 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.1067/18.08, allocations: 36.51 MB / 5.782 GB, free: 49.09 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.409e-05/18.08, allocations: 10.03 kB / 5.782 GB, free: 49.09 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.03657/18.12, allocations: 12.62 MB / 5.794 GB, free: 45.23 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01999/18.14, allocations: 3.063 MB / 5.797 GB, free: 44.61 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0825/18.22, allocations: 33.9 MB / 5.831 GB, free: 17.33 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01049/18.23, allocations: 5.2 MB / 5.836 GB, free: 13.44 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007289/18.24, allocations: 0.8085 MB / 5.836 GB, free: 12.74 MB / 0.573 GB Notification: Performance of SimCode: time 3.53e-06/18.24, allocations: 0 / 5.836 GB, free: 12.74 MB / 0.573 GB Notification: Performance of Templates: time 2.001/20.24, allocations: 0.5407 GB / 6.377 GB, free: 113.6 MB / 0.6355 GB