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.146/2.146, allocations: 235 MB / 248.1 MB, free: 14.34 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.581e-05/2.593e-05, allocations: 0 / 309.7 MB, free: 1.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3199/0.32, allocations: 54.86 MB / 364.5 MB, free: 5.516 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.448/8.768, allocations: 3.68 GB / 4.036 GB, free: 72.97 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002265/8.768, allocations: 82.08 kB / 4.036 GB, free: 72.93 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.163/13.93, allocations: 0.9745 GB / 5.01 GB, free: 19.44 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.904e-06/13.93, allocations: 0 / 5.01 GB, free: 19.44 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0005092/13.93, allocations: 157.5 kB / 5.01 GB, free: 19.42 MB / 0.5105 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.04407/13.98, allocations: 9.639 MB / 5.02 GB, free: 15.27 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.429e-05/13.98, allocations: 6.844 kB / 5.02 GB, free: 15.27 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007325/13.98, allocations: 0.8612 MB / 5.021 GB, free: 14.87 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02178/14.01, allocations: 5.749 MB / 5.026 GB, free: 13.85 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007945/14.01, allocations: 0.5277 MB / 5.027 GB, free: 13.83 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004359/14.01, allocations: 0.6935 MB / 5.028 GB, free: 13.81 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03993/14.05, allocations: 13.83 MB / 5.041 GB, free: 4.695 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000556/14.05, allocations: 27.28 kB / 5.041 GB, free: 4.672 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00415/14.06, allocations: 288 kB / 5.041 GB, free: 4.406 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008324/14.06, allocations: 0.7062 MB / 5.042 GB, free: 3.793 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04696/14.1, allocations: 16.39 MB / 5.058 GB, free: 4.773 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5158/14.62, allocations: 47.58 MB / 5.105 GB, free: 36.92 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0249/14.64, allocations: 10.5 MB / 5.115 GB, free: 36.83 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01583/14.66, allocations: 7.109 MB / 5.122 GB, free: 36.77 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004535/14.66, allocations: 4.177 MB / 5.126 GB, free: 32.54 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001949/14.66, allocations: 144.8 kB / 5.126 GB, free: 32.5 MB / 0.5417 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.007413/14.67, allocations: 0.8521 MB / 5.127 GB, free: 32.31 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=882): time 4.087e-05/14.67, allocations: 0 / 5.127 GB, free: 32.31 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1122): time 0.3513/15.02, allocations: 83.2 MB / 5.208 GB, free: 28.63 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001096/15.02, allocations: 167.9 kB / 5.208 GB, free: 28.56 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007834/15.03, allocations: 3.328 MB / 5.211 GB, free: 27.39 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.003507/15.03, allocations: 231 kB / 5.212 GB, free: 27.2 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.001849/15.04, allocations: 2.229 MB / 5.214 GB, free: 25.67 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.006262/15.04, allocations: 3.894 MB / 5.218 GB, free: 22.83 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003542/15.05, allocations: 218.7 kB / 5.218 GB, free: 22.66 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.00114/15.05, allocations: 0.7501 MB / 5.219 GB, free: 22.16 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02035/15.07, allocations: 8.736 MB / 5.227 GB, free: 19.11 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02275/15.09, allocations: 10.18 MB / 5.237 GB, free: 13.76 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02231/15.11, allocations: 9.815 MB / 5.247 GB, free: 5.695 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.218e-05/15.11, allocations: 8 kB / 5.247 GB, free: 5.688 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1375) (initialization): time 0.1028/15.22, allocations: 29.27 MB / 5.275 GB, free: 0 / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.006663/15.22, allocations: 11.89 MB / 5.287 GB, free: 3.336 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001269/15.22, allocations: 35.19 kB / 5.287 GB, free: 3.305 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.8045/16.03, allocations: 78.13 MB / 5.363 GB, free: 77.93 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006353/16.03, allocations: 1.07 MB / 5.364 GB, free: 77.93 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08198/16.12, allocations: 31.55 MB / 5.395 GB, free: 77.12 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01921/16.14, allocations: 1.782 MB / 5.397 GB, free: 77.05 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004401/16.14, allocations: 0.5981 MB / 5.397 GB, free: 76.64 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/16.14, allocations: 8.641 kB / 5.397 GB, free: 76.63 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.07422/16.21, allocations: 26.98 MB / 5.424 GB, free: 62.79 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000141/16.21, allocations: 32 kB / 5.424 GB, free: 62.76 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2743/16.49, allocations: 53.59 MB / 5.476 GB, free: 26.56 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006711/16.5, allocations: 1.176 MB / 5.477 GB, free: 25.68 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.471/16.97, allocations: 28.51 MB / 5.505 GB, free: 72.11 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01703/16.98, allocations: 1.754 MB / 5.507 GB, free: 72.11 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004665/16.99, allocations: 0.5801 MB / 5.507 GB, free: 72.11 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 () * 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.007147/17, allocations: 0.6062 MB / 5.508 GB, free: 72 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005161/17, allocations: 0.639 MB / 5.509 GB, free: 72 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07945/17.08, allocations: 26.78 MB / 5.535 GB, free: 71.13 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001559/17.08, allocations: 119 kB / 5.535 GB, free: 71.13 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-05/17.08, allocations: 5.938 kB / 5.535 GB, free: 71.13 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.05468/17.14, allocations: 20.43 MB / 5.555 GB, free: 70.39 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1178/17.25, allocations: 41.33 MB / 5.595 GB, free: 67.98 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001393/17.25, allocations: 0 / 5.595 GB, free: 67.98 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01634/17.27, allocations: 2.132 MB / 5.597 GB, free: 67.92 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.05349/17.32, allocations: 11.69 MB / 5.609 GB, free: 66.21 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003883/17.33, allocations: 0.6009 MB / 5.609 GB, free: 65.99 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03396/17.36, allocations: 30.04 MB / 5.639 GB, free: 44.23 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.329e-06/17.36, allocations: 3.875 kB / 5.639 GB, free: 44.23 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.09387/17.45, allocations: 35.14 MB / 5.673 GB, free: 31.18 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002742/17.46, allocations: 0.7874 MB / 5.674 GB, free: 30.44 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00475/17.46, allocations: 460.1 kB / 5.674 GB, free: 30.05 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01586/17.48, allocations: 1.448 MB / 5.676 GB, free: 29.12 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003773/17.48, allocations: 0.7625 MB / 5.676 GB, free: 28.66 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003739/17.49, allocations: 0.5579 MB / 5.677 GB, free: 28.21 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.005218/17.49, allocations: 2.512 MB / 5.679 GB, free: 25.98 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.01e-06/17.49, allocations: 0 / 5.679 GB, free: 25.98 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.03131/17.52, allocations: 6.921 MB / 5.686 GB, free: 19.73 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 () * 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,4 20,2 6,2 6,2 6,2 6,2 6,2 6,4 20,2 6,2 6,2 6,2 6,2 6,2 6,2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.01534/17.54, allocations: 3.956 MB / 5.69 GB, free: 17.48 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.09177/17.63, allocations: 33.17 MB / 5.722 GB, free: 5.809 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.712e-05/17.63, allocations: 6.406 kB / 5.722 GB, free: 5.805 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.4396/18.07, allocations: 12.87 MB / 5.735 GB, free: 83.64 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02053/18.09, allocations: 3.064 MB / 5.738 GB, free: 83.6 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07591/18.17, allocations: 26.42 MB / 5.764 GB, free: 80.23 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01079/18.18, allocations: 5.203 MB / 5.769 GB, free: 79.28 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00807/18.19, allocations: 0.8121 MB / 5.77 GB, free: 79.28 MB / 0.5886 GB Notification: Performance of SimCode: time 2.26e-06/18.19, allocations: 0 / 5.77 GB, free: 79.28 MB / 0.5886 GB Notification: Performance of Templates: time 1.564/19.75, allocations: 0.5404 GB / 6.31 GB, free: 78.14 MB / 0.6198 GB