Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyState.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyState,tolerance=1e-06,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.1_cpp_ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyState") Notification: Performance of loadModel(ModelicaTest): time 1.982/1.982, allocations: 209.2 MB / 225.4 MB, free: 0.6172 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004414/0.0004416, allocations: 12 kB / 283.1 MB, free: 9.691 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3557/0.3562, allocations: 48.7 MB / 331.8 MB, free: 6.504 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.5/10.86, allocations: 3.673 GB / 3.997 GB, free: 72.98 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002618/10.86, allocations: 87.22 kB / 3.997 GB, free: 72.93 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.116/16.98, allocations: 0.9653 GB / 4.963 GB, free: 27.22 MB / 490.7 MB Notification: Performance of FrontEnd: time 4.448e-06/16.98, allocations: 0 / 4.963 GB, free: 27.22 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0006165/16.98, allocations: 162.2 kB / 4.963 GB, free: 27.21 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: 2025 * Number of variables: 2025 Notification: Performance of Generate backend data structure: time 0.06567/17.04, allocations: 10.31 MB / 4.973 GB, free: 23.32 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.084e-05/17.04, allocations: 10.91 kB / 4.973 GB, free: 23.32 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009404/17.05, allocations: 0.8571 MB / 4.974 GB, free: 22.92 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0289/17.08, allocations: 5.769 MB / 4.979 GB, free: 22.13 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001007/17.08, allocations: 0.521 MB / 4.98 GB, free: 22.12 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006099/17.09, allocations: 0.6979 MB / 4.98 GB, free: 22.1 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05055/17.14, allocations: 14.04 MB / 4.994 GB, free: 21.42 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004343/17.14, allocations: 28.67 kB / 4.994 GB, free: 21.41 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005122/17.15, allocations: 286.3 kB / 4.994 GB, free: 21.41 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001072/17.15, allocations: 0.7108 MB / 4.995 GB, free: 21.39 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05031/17.2, allocations: 16.46 MB / 5.011 GB, free: 21.33 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1369/17.33, allocations: 42.16 MB / 5.052 GB, free: 13.02 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0315/17.37, allocations: 10.65 MB / 5.063 GB, free: 9.754 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005759/17.37, allocations: 4.18 MB / 5.067 GB, free: 5.406 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002544/17.37, allocations: 142.4 kB / 5.067 GB, free: 5.297 MB / 490.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.009406/17.38, allocations: 0.8548 MB / 5.068 GB, free: 4.801 MB / 490.7 MB Notification: Performance of pre-optimization done (n=882): time 3.187e-05/17.38, allocations: 0 / 5.068 GB, free: 4.801 MB / 490.7 MB Notification: Performance of matching and sorting (n=1122): time 1.067/18.45, allocations: 100.5 MB / 5.166 GB, free: 52.39 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001353/18.45, allocations: 167.2 kB / 5.166 GB, free: 52.31 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009605/18.46, allocations: 3.741 MB / 5.17 GB, free: 52.05 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.004714/18.46, allocations: 231.8 kB / 5.17 GB, free: 52.02 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002685/18.47, allocations: 2.234 MB / 5.172 GB, free: 51.18 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.008072/18.47, allocations: 3.892 MB / 5.176 GB, free: 49.22 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003839/18.48, allocations: 216.5 kB / 5.176 GB, free: 49.22 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.001083/18.48, allocations: 0.748 MB / 5.177 GB, free: 48.89 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03643/18.52, allocations: 9.985 MB / 5.187 GB, free: 48.86 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03961/18.55, allocations: 11.48 MB / 5.198 GB, free: 47.68 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03862/18.59, allocations: 11.04 MB / 5.209 GB, free: 47.55 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.088e-05/18.59, allocations: 8.969 kB / 5.209 GB, free: 47.55 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1375) (initialization): time 0.1212/18.71, allocations: 32 MB / 5.24 GB, free: 43.9 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007268/18.72, allocations: 1.024 MB / 5.241 GB, free: 42.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.83e-05/18.72, allocations: 30.09 kB / 5.241 GB, free: 42.59 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5041/19.22, allocations: 76.87 MB / 5.316 GB, free: 5.035 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009269/19.23, allocations: 1.07 MB / 5.317 GB, free: 4.195 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6077/19.84, allocations: 37.04 MB / 5.353 GB, free: 60.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02632/19.86, allocations: 1.787 MB / 5.355 GB, free: 60.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00554/19.87, allocations: 0.592 MB / 5.356 GB, free: 60.5 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/19.87, allocations: 3.375 kB / 5.356 GB, free: 60.5 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1577/20.03, allocations: 32.31 MB / 5.387 GB, free: 60.19 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002299/20.03, allocations: 29.25 kB / 5.387 GB, free: 60.19 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.4014/20.43, allocations: 54.86 MB / 5.441 GB, free: 59.86 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00994/20.44, allocations: 1.176 MB / 5.442 GB, free: 59.86 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1173/20.56, allocations: 31.93 MB / 5.473 GB, free: 54.45 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0233/20.58, allocations: 1.749 MB / 5.475 GB, free: 53.47 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004875/20.58, allocations: 0.5803 MB / 5.475 GB, free: 53.07 MB / 0.5261 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.01379/20.6, allocations: 2.576 MB / 5.478 GB, free: 51.13 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005955/20.6, allocations: 0.6453 MB / 5.479 GB, free: 50.75 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1166/20.72, allocations: 29.98 MB / 5.508 GB, free: 26.75 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001606/20.72, allocations: 120 kB / 5.508 GB, free: 26.63 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.517e-05/20.72, allocations: 0 / 5.508 GB, free: 26.63 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.09015/20.81, allocations: 23.72 MB / 5.531 GB, free: 6.953 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6433/21.45, allocations: 42.5 MB / 5.573 GB, free: 64.02 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001626/21.45, allocations: 0 / 5.573 GB, free: 64.02 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02203/21.48, allocations: 2.134 MB / 5.575 GB, free: 64.02 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.09493/21.57, allocations: 14.11 MB / 5.588 GB, free: 63.8 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004695/21.58, allocations: 0.6034 MB / 5.589 GB, free: 63.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06441/21.64, allocations: 33.1 MB / 5.621 GB, free: 46.19 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/21.64, allocations: 4.312 kB / 5.621 GB, free: 46.19 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1304/21.77, allocations: 36.79 MB / 5.657 GB, free: 44.33 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003535/21.77, allocations: 0.7897 MB / 5.658 GB, free: 43.82 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006949/21.78, allocations: 462.3 kB / 5.659 GB, free: 43.59 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02417/21.81, allocations: 1.442 MB / 5.66 GB, free: 43.41 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004935/21.81, allocations: 0.7644 MB / 5.661 GB, free: 43.32 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004921/21.82, allocations: 0.5495 MB / 5.661 GB, free: 43.24 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.00697/21.82, allocations: 2.559 MB / 5.664 GB, free: 42.33 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6.71e-07/21.82, allocations: 0 / 5.664 GB, free: 42.33 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.03995/21.86, allocations: 6.898 MB / 5.67 GB, free: 41.67 MB / 0.5261 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.01991/21.88, allocations: 3.948 MB / 5.674 GB, free: 41.2 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.1382/22.02, allocations: 36.47 MB / 5.71 GB, free: 13.86 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-05/22.02, allocations: 12.69 kB / 5.71 GB, free: 13.86 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0457/22.07, allocations: 12.61 MB / 5.722 GB, free: 3.688 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02892/22.1, allocations: 3.078 MB / 5.725 GB, free: 1.586 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5656/22.66, allocations: 33.97 MB / 5.758 GB, free: 69.68 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01362/22.68, allocations: 5.202 MB / 5.764 GB, free: 68.78 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008891/22.68, allocations: 0.8162 MB / 5.764 GB, free: 68.78 MB / 0.5417 GB Notification: Performance of SimCode: time 1.503e-06/22.68, allocations: 3.312 kB / 5.764 GB, free: 68.78 MB / 0.5417 GB Notification: Performance of Templates: time 1.916/24.6, allocations: 0.5405 GB / 6.305 GB, free: 46.85 MB / 0.573 GB