Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.808/1.808, allocations: 209.3 MB / 224.9 MB, free: 196 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004413/0.0004414, allocations: 8 kB / 282.6 MB, free: 9.586 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2798/0.2803, allocations: 48.7 MB / 331.3 MB, free: 6.488 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.824/9.104, allocations: 3.673 GB / 3.997 GB, free: 13.93 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002188/9.104, allocations: 75.97 kB / 3.997 GB, free: 13.86 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.153/14.26, allocations: 0.9653 GB / 4.962 GB, free: 23.84 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.461e-06/14.26, allocations: 0 / 4.962 GB, free: 23.84 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0004803/14.26, allocations: 162.8 kB / 4.962 GB, free: 23.83 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.04419/14.3, allocations: 10.31 MB / 4.972 GB, free: 19.64 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/14.3, allocations: 11.78 kB / 4.972 GB, free: 19.64 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007193/14.31, allocations: 0.8541 MB / 4.973 GB, free: 19.25 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02039/14.33, allocations: 5.761 MB / 4.979 GB, free: 18.46 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008201/14.33, allocations: 0.5253 MB / 4.979 GB, free: 18.45 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004339/14.33, allocations: 0.7021 MB / 4.98 GB, free: 18.43 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04122/14.38, allocations: 13.99 MB / 4.994 GB, free: 17.75 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004718/14.38, allocations: 26.3 kB / 4.994 GB, free: 17.74 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00424/14.38, allocations: 289 kB / 4.994 GB, free: 17.74 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008853/14.38, allocations: 0.7106 MB / 4.995 GB, free: 17.72 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04148/14.42, allocations: 16.46 MB / 5.011 GB, free: 17.66 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1093/14.53, allocations: 42.17 MB / 5.052 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02889/14.56, allocations: 10.64 MB / 5.062 GB, free: 5.535 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006194/14.57, allocations: 4.178 MB / 5.066 GB, free: 0.7773 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002353/14.57, allocations: 146.4 kB / 5.067 GB, free: 0.625 MB / 0.4948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.007709/14.58, allocations: 0.8541 MB / 5.067 GB, free: 15.84 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=882): time 3.823e-05/14.58, allocations: 3.938 kB / 5.067 GB, free: 15.84 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1122): time 0.7886/15.36, allocations: 98.64 MB / 5.164 GB, free: 50.32 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001183/15.36, allocations: 167.3 kB / 5.164 GB, free: 50.25 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008389/15.37, allocations: 3.368 MB / 5.167 GB, free: 50.01 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.003786/15.38, allocations: 232.1 kB / 5.167 GB, free: 49.98 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002009/15.38, allocations: 2.23 MB / 5.17 GB, free: 49.14 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.006962/15.39, allocations: 3.893 MB / 5.173 GB, free: 47.09 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003662/15.39, allocations: 214.7 kB / 5.174 GB, free: 47.09 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.001255/15.39, allocations: 0.7523 MB / 5.174 GB, free: 46.76 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02746/15.42, allocations: 9.983 MB / 5.184 GB, free: 46.73 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02964/15.45, allocations: 11.44 MB / 5.195 GB, free: 45.54 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02965/15.48, allocations: 11.04 MB / 5.206 GB, free: 44.81 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.788e-05/15.48, allocations: 6.625 kB / 5.206 GB, free: 44.81 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1375) (initialization): time 0.0989/15.58, allocations: 32 MB / 5.237 GB, free: 26.27 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.002446/15.58, allocations: 11.88 MB / 5.249 GB, free: 13.49 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001483/15.58, allocations: 36 kB / 5.249 GB, free: 13.45 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.7927/16.37, allocations: 79.08 MB / 5.326 GB, free: 45.63 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006331/16.38, allocations: 1.068 MB / 5.327 GB, free: 45.63 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09925/16.48, allocations: 35.08 MB / 5.361 GB, free: 44.82 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01798/16.5, allocations: 1.784 MB / 5.363 GB, free: 44.82 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004234/16.5, allocations: 0.5928 MB / 5.364 GB, free: 44.82 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/16.5, allocations: 4.656 kB / 5.364 GB, free: 44.82 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1031/16.6, allocations: 32.31 MB / 5.395 GB, free: 38.04 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001364/16.6, allocations: 31.75 kB / 5.395 GB, free: 38.01 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2812/16.88, allocations: 54.87 MB / 5.449 GB, free: 1.559 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006761/16.89, allocations: 1.176 MB / 5.45 GB, free: 0.6758 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4718/17.36, allocations: 32.65 MB / 5.482 GB, free: 59 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01667/17.38, allocations: 1.756 MB / 5.484 GB, free: 59 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004347/17.38, allocations: 0.5779 MB / 5.484 GB, free: 59 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.01196/17.4, allocations: 2.571 MB / 5.487 GB, free: 58.81 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004794/17.4, allocations: 0.6396 MB / 5.487 GB, free: 58.81 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0941/17.5, allocations: 29.98 MB / 5.517 GB, free: 57.93 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001601/17.5, allocations: 119.7 kB / 5.517 GB, free: 57.93 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.885e-05/17.5, allocations: 0.6875 kB / 5.517 GB, free: 57.93 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.07086/17.57, allocations: 23.74 MB / 5.54 GB, free: 57.19 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1179/17.68, allocations: 41.87 MB / 5.581 GB, free: 48.82 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001271/17.68, allocations: 3.062 kB / 5.581 GB, free: 48.82 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01489/17.7, allocations: 2.135 MB / 5.583 GB, free: 48.75 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.06545/17.76, allocations: 14.12 MB / 5.597 GB, free: 47.08 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003816/17.77, allocations: 0.6033 MB / 5.597 GB, free: 46.86 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04832/17.82, allocations: 33.1 MB / 5.63 GB, free: 25.12 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.605e-06/17.82, allocations: 8.016 kB / 5.63 GB, free: 25.12 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5023/18.32, allocations: 38.32 MB / 5.667 GB, free: 58.18 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002821/18.32, allocations: 0.7906 MB / 5.668 GB, free: 58.08 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004777/18.33, allocations: 458.4 kB / 5.668 GB, free: 58.08 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01631/18.34, allocations: 1.448 MB / 5.67 GB, free: 58.08 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004094/18.35, allocations: 0.7635 MB / 5.67 GB, free: 58.07 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003914/18.35, allocations: 0.5512 MB / 5.671 GB, free: 58.07 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.005729/18.36, allocations: 2.554 MB / 5.673 GB, free: 57.93 MB / 0.5261 GB Notification: Performance of sort global known variables: time 9.68e-07/18.36, allocations: 0.7812 kB / 5.673 GB, free: 57.93 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.03379/18.39, allocations: 6.9 MB / 5.68 GB, free: 57.93 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.01586/18.41, allocations: 3.953 MB / 5.684 GB, free: 57.69 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.1033/18.51, allocations: 36.48 MB / 5.72 GB, free: 57.08 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.621e-05/18.51, allocations: 10.17 kB / 5.72 GB, free: 57.08 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.03437/18.54, allocations: 12.62 MB / 5.732 GB, free: 56.44 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01908/18.56, allocations: 3.067 MB / 5.735 GB, free: 56.35 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08785/18.65, allocations: 33.91 MB / 5.768 GB, free: 46.93 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01098/18.66, allocations: 5.2 MB / 5.773 GB, free: 45.98 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007597/18.67, allocations: 0.8212 MB / 5.774 GB, free: 45.98 MB / 0.5261 GB Notification: Performance of SimCode: time 2.058e-06/18.67, allocations: 0 / 5.774 GB, free: 45.98 MB / 0.5261 GB Notification: Performance of Templates: time 1.893/20.56, allocations: 0.5405 GB / 6.314 GB, free: 106.3 MB / 0.573 GB