Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.296/2.296, allocations: 234.9 MB / 251.1 MB, free: 10.53 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004492/0.0004492, allocations: 12 kB / 314.9 MB, free: 10.57 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3534/0.3539, allocations: 54.87 MB / 369.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.14/11.49, allocations: 3.68 GB / 4.041 GB, free: 121.3 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002853/11.49, allocations: 83.48 kB / 4.041 GB, free: 121.3 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.899/17.39, allocations: 0.9756 GB / 5.017 GB, free: 28.72 MB / 0.5261 GB Notification: Performance of FrontEnd: time 4.227e-06/17.39, allocations: 0 / 5.017 GB, free: 28.72 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0005466/17.39, allocations: 161.6 kB / 5.017 GB, free: 28.71 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.06535/17.45, allocations: 10.33 MB / 5.027 GB, free: 24.77 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.913e-05/17.46, allocations: 9.812 kB / 5.027 GB, free: 24.77 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009272/17.46, allocations: 0.865 MB / 5.028 GB, free: 24.38 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0282/17.49, allocations: 5.768 MB / 5.033 GB, free: 23.59 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001069/17.49, allocations: 0.5299 MB / 5.034 GB, free: 23.57 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006018/17.5, allocations: 0.6968 MB / 5.035 GB, free: 23.55 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05344/17.55, allocations: 14.05 MB / 5.048 GB, free: 22.87 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005439/17.55, allocations: 29.97 kB / 5.048 GB, free: 22.86 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005368/17.56, allocations: 289.5 kB / 5.049 GB, free: 22.86 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001096/17.56, allocations: 0.6995 MB / 5.049 GB, free: 22.84 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05103/17.61, allocations: 16.47 MB / 5.065 GB, free: 22.78 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1451/17.76, allocations: 47.59 MB / 5.112 GB, free: 7.766 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03151/17.79, allocations: 10.65 MB / 5.122 GB, free: 4.98 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00645/17.79, allocations: 4.184 MB / 5.126 GB, free: 16.64 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002548/17.79, allocations: 146 kB / 5.126 GB, free: 16.52 MB / 0.5417 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.009295/17.8, allocations: 0.8479 MB / 5.127 GB, free: 16.03 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=882): time 3.267e-05/17.8, allocations: 2.781 kB / 5.127 GB, free: 16.03 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1122): time 1.107/18.91, allocations: 100.8 MB / 5.226 GB, free: 51.93 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001379/18.91, allocations: 167.6 kB / 5.226 GB, free: 51.85 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008896/18.92, allocations: 3.741 MB / 5.23 GB, free: 51.59 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.004487/18.93, allocations: 232.4 kB / 5.23 GB, free: 51.56 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.002387/18.93, allocations: 2.229 MB / 5.232 GB, free: 50.72 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.008568/18.94, allocations: 3.891 MB / 5.236 GB, free: 48.76 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004203/18.94, allocations: 218.3 kB / 5.236 GB, free: 48.76 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.001144/18.94, allocations: 0.7559 MB / 5.237 GB, free: 48.43 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03587/18.98, allocations: 9.984 MB / 5.246 GB, free: 48.4 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03863/19.02, allocations: 11.48 MB / 5.258 GB, free: 47.21 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03934/19.06, allocations: 11.05 MB / 5.268 GB, free: 47.09 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.171e-05/19.06, allocations: 11.03 kB / 5.268 GB, free: 47.09 MB / 0.5573 GB Notification: Performance of matching and sorting (n=1375) (initialization): time 0.1272/19.18, allocations: 32 MB / 5.3 GB, free: 44.88 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007144/19.18, allocations: 1.008 MB / 5.301 GB, free: 43.57 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.831e-05/19.18, allocations: 34.05 kB / 5.301 GB, free: 43.57 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.4908/19.67, allocations: 78.48 MB / 5.377 GB, free: 7.75 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009133/19.68, allocations: 1.07 MB / 5.378 GB, free: 6.91 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6705/20.35, allocations: 38.98 MB / 5.416 GB, free: 66 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02637/20.38, allocations: 1.79 MB / 5.418 GB, free: 66 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005268/20.39, allocations: 0.5916 MB / 5.419 GB, free: 66 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/20.39, allocations: 3.5 kB / 5.419 GB, free: 66 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1421/20.53, allocations: 32.31 MB / 5.45 GB, free: 65.69 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002156/20.53, allocations: 32.69 kB / 5.45 GB, free: 65.69 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.4062/20.93, allocations: 55.73 MB / 5.505 GB, free: 65.36 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009958/20.94, allocations: 1.177 MB / 5.506 GB, free: 65.36 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1167/21.06, allocations: 31.93 MB / 5.537 GB, free: 64.55 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02389/21.09, allocations: 1.752 MB / 5.539 GB, free: 64.55 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005094/21.09, allocations: 0.5801 MB / 5.539 GB, free: 64.32 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.01503/21.11, allocations: 2.576 MB / 5.542 GB, free: 63.16 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005947/21.11, allocations: 0.64 MB / 5.543 GB, free: 62.83 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1157/21.23, allocations: 29.99 MB / 5.572 GB, free: 43.67 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001746/21.23, allocations: 116 kB / 5.572 GB, free: 43.55 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.665e-05/21.23, allocations: 4 kB / 5.572 GB, free: 43.55 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.09004/21.32, allocations: 23.73 MB / 5.595 GB, free: 23.87 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6638/21.98, allocations: 43.24 MB / 5.637 GB, free: 62.81 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000165/21.98, allocations: 6.906 kB / 5.637 GB, free: 62.81 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02233/22, allocations: 2.131 MB / 5.639 GB, free: 62.81 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.09661/22.1, allocations: 14.12 MB / 5.653 GB, free: 62.6 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004856/22.11, allocations: 0.5979 MB / 5.654 GB, free: 62.6 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06693/22.17, allocations: 33.1 MB / 5.686 GB, free: 45.01 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.548e-06/22.17, allocations: 9.359 kB / 5.686 GB, free: 45.01 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1338/22.31, allocations: 36.79 MB / 5.722 GB, free: 43.93 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003236/22.31, allocations: 0.7856 MB / 5.723 GB, free: 43.5 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006348/22.32, allocations: 462.6 kB / 5.723 GB, free: 43.5 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02345/22.34, allocations: 1.446 MB / 5.725 GB, free: 43.48 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004684/22.34, allocations: 0.7601 MB / 5.725 GB, free: 43.46 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004295/22.35, allocations: 0.5523 MB / 5.726 GB, free: 43.46 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.006322/22.36, allocations: 2.553 MB / 5.728 GB, free: 43.32 MB / 0.573 GB Notification: Performance of sort global known variables: time 6.61e-07/22.36, allocations: 1.656 kB / 5.728 GB, free: 43.32 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.03713/22.39, allocations: 6.924 MB / 5.735 GB, free: 43.32 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.01875/22.41, allocations: 3.956 MB / 5.739 GB, free: 43.06 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.138/22.55, allocations: 36.47 MB / 5.775 GB, free: 40.7 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.838e-05/22.55, allocations: 4.719 kB / 5.775 GB, free: 40.7 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.04537/22.59, allocations: 12.61 MB / 5.787 GB, free: 36.85 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02855/22.62, allocations: 3.073 MB / 5.79 GB, free: 35.17 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1061/22.73, allocations: 33.49 MB / 5.823 GB, free: 7.383 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01047/22.74, allocations: 5.201 MB / 5.828 GB, free: 3.496 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008287/22.75, allocations: 0.8089 MB / 5.829 GB, free: 2.789 MB / 0.573 GB Notification: Performance of SimCode: time 1.543e-06/22.75, allocations: 0 / 5.829 GB, free: 2.789 MB / 0.573 GB Notification: Performance of Templates: time 2.397/25.15, allocations: 0.5407 GB / 6.369 GB, free: 106 MB / 0.6355 GB