Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyState.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/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_ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyState") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002676/0.002681, allocations: 360.5 kB / 15.95 MB, free: 6.207 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 4.061/4.061, allocations: 388.9 MB / 405.6 MB, free: 9.578 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003644/0.003643, allocations: 227.2 kB / 451 MB, free: 145 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.5183/0.5183, allocations: 80.02 MB / 0.5627 GB, free: 19.76 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006542/0.0006546, allocations: 8 kB / 0.6265 GB, free: 96.55 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1009/0.1016, allocations: 54.87 MB / 0.6801 GB, free: 41.67 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.35/11.45, allocations: 3.68 GB / 4.36 GB, free: 114.5 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002394/11.45, allocations: 93.58 kB / 4.36 GB, free: 114.4 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.138/17.59, allocations: 0.9683 GB / 5.328 GB, free: 27.46 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.186e-06/17.59, allocations: 2.516 kB / 5.328 GB, free: 27.46 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0005641/17.59, allocations: 160.2 kB / 5.328 GB, free: 27.45 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.06386/17.65, allocations: 10.32 MB / 5.339 GB, free: 23.4 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.637e-05/17.65, allocations: 14.78 kB / 5.339 GB, free: 23.4 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009177/17.66, allocations: 0.8667 MB / 5.339 GB, free: 23 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03579/17.7, allocations: 9.21 MB / 5.348 GB, free: 22.14 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009854/17.7, allocations: 0.5246 MB / 5.349 GB, free: 22.13 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005493/17.71, allocations: 0.6988 MB / 5.35 GB, free: 22.11 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05368/17.76, allocations: 14.04 MB / 5.363 GB, free: 21.43 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006623/17.76, allocations: 25.98 kB / 5.363 GB, free: 21.43 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005992/17.77, allocations: 294.6 kB / 5.364 GB, free: 21.43 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001582/17.77, allocations: 0.7035 MB / 5.364 GB, free: 21.41 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06851/17.84, allocations: 16.46 MB / 5.38 GB, free: 21.35 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1642/18, allocations: 47.19 MB / 5.426 GB, free: 15.29 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03413/18.03, allocations: 10.66 MB / 5.437 GB, free: 10.5 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02283/18.06, allocations: 7.219 MB / 5.444 GB, free: 4.398 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00771/18.07, allocations: 4.855 MB / 5.449 GB, free: 14.91 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000293/18.07, allocations: 138.5 kB / 5.449 GB, free: 14.76 MB / 0.5574 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.009429/18.08, allocations: 0.848 MB / 5.45 GB, free: 13.99 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=882): time 3.498e-05/18.08, allocations: 0 / 5.45 GB, free: 13.99 MB / 0.5574 GB Notification: Performance of matching and sorting (n=1122): time 1.187/19.26, allocations: 98.66 MB / 5.546 GB, free: 53.86 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002235/19.26, allocations: 166.6 kB / 5.546 GB, free: 53.79 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01432/19.28, allocations: 3.715 MB / 5.55 GB, free: 53.52 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 0.006123/19.28, allocations: 230 kB / 5.55 GB, free: 53.49 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 0.004054/19.29, allocations: 2.403 MB / 5.552 GB, free: 52.71 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 0.01165/19.3, allocations: 3.893 MB / 5.556 GB, free: 50.75 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0048/19.3, allocations: 216.5 kB / 5.556 GB, free: 50.75 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 0.001261/19.31, allocations: 0.7428 MB / 5.557 GB, free: 50.43 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03601/19.34, allocations: 9.995 MB / 5.567 GB, free: 50.4 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03876/19.38, allocations: 11.48 MB / 5.578 GB, free: 49.21 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03914/19.42, allocations: 11.04 MB / 5.589 GB, free: 49.08 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.844e-05/19.42, allocations: 7.219 kB / 5.589 GB, free: 49.08 MB / 0.5574 GB Notification: Performance of matching and sorting (n=1375) (initialization): time 0.1269/19.55, allocations: 32.21 MB / 5.62 GB, free: 35.15 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006173/19.55, allocations: 1.032 MB / 5.621 GB, free: 33.71 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.909e-05/19.55, allocations: 28 kB / 5.621 GB, free: 33.69 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.116/20.66, allocations: 79.1 MB / 5.699 GB, free: 60.39 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01476/20.68, allocations: 1.075 MB / 5.7 GB, free: 60.39 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1956/20.87, allocations: 35.09 MB / 5.734 GB, free: 59.58 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03632/20.91, allocations: 1.79 MB / 5.736 GB, free: 59.58 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006813/20.92, allocations: 0.5967 MB / 5.736 GB, free: 59.58 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.11e-05/20.92, allocations: 6.312 kB / 5.736 GB, free: 59.58 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1512/21.07, allocations: 32.31 MB / 5.768 GB, free: 59.27 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001804/21.07, allocations: 35.84 kB / 5.768 GB, free: 59.27 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.4318/21.5, allocations: 70.16 MB / 5.836 GB, free: 29.02 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01016/21.51, allocations: 1.176 MB / 5.837 GB, free: 28.14 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1561/21.67, allocations: 31.98 MB / 5.869 GB, free: 6.832 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02594/21.69, allocations: 1.75 MB / 5.87 GB, free: 5.668 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005501/21.7, allocations: 0.5879 MB / 5.871 GB, free: 5.164 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.01688/21.72, allocations: 2.575 MB / 5.873 GB, free: 3.078 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006459/21.72, allocations: 0.6396 MB / 5.874 GB, free: 2.75 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.6267/22.35, allocations: 31.1 MB / 5.904 GB, free: 82.53 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002371/22.35, allocations: 119.2 kB / 5.905 GB, free: 82.53 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-05/22.35, allocations: 0.5156 kB / 5.905 GB, free: 82.53 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.09595/22.44, allocations: 23.73 MB / 5.928 GB, free: 81.79 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1521/22.6, allocations: 41.76 MB / 5.969 GB, free: 80.33 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.00019/22.6, allocations: 0 / 5.969 GB, free: 80.33 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0223/22.62, allocations: 2.138 MB / 5.971 GB, free: 80.33 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.09591/22.72, allocations: 14.12 MB / 5.984 GB, free: 80.12 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004889/22.72, allocations: 0.6071 MB / 5.985 GB, free: 80.12 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07485/22.8, allocations: 33.03 MB / 6.017 GB, free: 61.89 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.065e-06/22.8, allocations: 4.094 kB / 6.017 GB, free: 61.89 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1465/22.94, allocations: 36.8 MB / 6.053 GB, free: 48.65 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003015/22.95, allocations: 0.774 MB / 6.054 GB, free: 47.91 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005483/22.95, allocations: 463.2 kB / 6.054 GB, free: 47.53 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02215/22.97, allocations: 1.446 MB / 6.056 GB, free: 46.59 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004021/22.98, allocations: 0.7663 MB / 6.057 GB, free: 46.13 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004373/22.98, allocations: 0.5477 MB / 6.057 GB, free: 45.68 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.006155/22.99, allocations: 2.533 MB / 6.06 GB, free: 43.59 MB / 0.5886 GB Notification: Performance of sort global known variables: time 8.22e-07/22.99, allocations: 0 / 6.06 GB, free: 43.59 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.04345/23.03, allocations: 6.922 MB / 6.066 GB, free: 37.34 MB / 0.5886 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.01819/23.05, allocations: 3.943 MB / 6.07 GB, free: 35.19 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.1412/23.19, allocations: 36.64 MB / 6.106 GB, free: 5.457 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.737e-05/23.19, allocations: 9 kB / 6.106 GB, free: 5.445 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.6039/23.79, allocations: 14.01 MB / 6.12 GB, free: 76.05 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05087/23.85, allocations: 3.254 MB / 6.123 GB, free: 75.98 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1575/24, allocations: 33.67 MB / 6.156 GB, free: 67.78 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0118/24.01, allocations: 5.191 MB / 6.161 GB, free: 66.83 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.03067/24.05, allocations: 4.92 MB / 6.166 GB, free: 66.33 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008332/24.05, allocations: 0.7625 MB / 6.166 GB, free: 66.33 MB / 0.5886 GB Notification: Performance of SimCode: time 2.044e-06/24.05, allocations: 0 / 6.166 GB, free: 66.33 MB / 0.5886 GB Notification: Performance of Templates: time 1.933/25.99, allocations: 402.5 MB / 6.559 GB, free: 108.6 MB / 0.6199 GB