Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Fluid.Examples.BranchingDynamicPipes.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) Running command: translateModel(Modelica.Fluid.Examples.BranchingDynamicPipes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pipe1.flowModel.m_flows.1.|pipe1.flowModel.m_flows.2.|pipe1.flowModel.m_flows.3.|pipe1.flowModel.m_flows.4.|pipe1.flowModel.m_flows.5.|pipe1.flowModel.m_flows.6.|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.flowModel.m_flows.1.|pipe2.flowModel.m_flows.2.|pipe2.flowModel.m_flows.3.|pipe2.flowModel.m_flows.4.|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.flowModel.m_flows.1.|pipe3.flowModel.m_flows.2.|pipe3.flowModel.m_flows.3.|pipe3.flowModel.m_flows.4.|pipe3.flowModel.m_flows.5.|pipe3.flowModel.m_flows.6.|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.flowModel.m_flows.1.|pipe4.flowModel.m_flows.2.|pipe4.flowModel.m_flows.3.|pipe4.flowModel.m_flows.4.|pipe4.flowModel.m_flows.5.|pipe4.flowModel.m_flows.6.|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="Modelica_3.2.2_Modelica.Fluid.Examples.BranchingDynamicPipes") Notification: Performance of loadModel(Modelica): time 2.168/2.168, allocations: 194.8 MB / 211.7 MB, free: 3.02 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000365/0.0003652, allocations: 16 kB / 264.5 MB, free: 12.93 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1025/0.1028, allocations: 44.5 MB / 309 MB, free: 372 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.25/11.36, allocations: 3.671 GB / 3.972 GB, free: 4.465 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002737/11.36, allocations: 81.97 kB / 3.972 GB, free: 4.426 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.911/17.27, allocations: 0.976 GB / 4.949 GB, free: 17.9 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.856e-06/17.27, allocations: 4.188 kB / 4.949 GB, free: 17.89 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0006098/17.27, allocations: 170.4 kB / 4.949 GB, free: 17.87 MB / 458.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.06338/17.33, allocations: 10.51 MB / 4.959 GB, free: 10.04 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/17.33, allocations: 11.97 kB / 4.959 GB, free: 10.03 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008952/17.34, allocations: 0.8648 MB / 4.96 GB, free: 9.176 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02736/17.37, allocations: 5.722 MB / 4.965 GB, free: 3.836 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009834/17.37, allocations: 0.5283 MB / 4.966 GB, free: 3.305 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006053/17.37, allocations: 0.7297 MB / 4.967 GB, free: 2.574 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05759/17.43, allocations: 14.26 MB / 4.981 GB, free: 4.121 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005665/17.43, allocations: 19.8 kB / 4.981 GB, free: 4.102 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005722/17.44, allocations: 291.9 kB / 4.981 GB, free: 3.82 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001389/17.44, allocations: 0.7098 MB / 4.982 GB, free: 3.109 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.482/17.92, allocations: 16.94 MB / 4.998 GB, free: 31.63 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.149/18.07, allocations: 48.76 MB / 5.046 GB, free: 17.21 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03194/18.1, allocations: 11.07 MB / 5.057 GB, free: 17.11 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005648/18.11, allocations: 4.187 MB / 5.061 GB, free: 12.88 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002317/18.11, allocations: 146.6 kB / 5.061 GB, free: 12.83 MB / 474.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.009614/18.12, allocations: 0.886 MB / 5.062 GB, free: 12.64 MB / 474.7 MB Notification: Performance of pre-optimization done (n=926): time 4.042e-05/18.12, allocations: 0 / 5.062 GB, free: 12.64 MB / 474.7 MB Notification: Performance of matching and sorting (n=1188): time 0.5925/18.71, allocations: 101.2 MB / 5.16 GB, free: 12.22 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00018/18.71, allocations: 172.7 kB / 5.161 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009771/18.72, allocations: 3.665 MB / 5.164 GB, free: 9 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.004686/18.73, allocations: 244 kB / 5.164 GB, free: 8.758 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.003276/18.73, allocations: 2.318 MB / 5.167 GB, free: 6.816 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.009375/18.74, allocations: 4.136 MB / 5.171 GB, free: 3.102 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004506/18.74, allocations: 228 kB / 5.171 GB, free: 2.883 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.001501/18.74, allocations: 0.7651 MB / 5.172 GB, free: 2.246 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.5165/19.26, allocations: 11.39 MB / 5.183 GB, free: 59.92 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.04458/19.31, allocations: 11.8 MB / 5.194 GB, free: 58.91 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03976/19.35, allocations: 11.52 MB / 5.206 GB, free: 58.78 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.054e-05/19.35, allocations: 4.938 kB / 5.206 GB, free: 58.78 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1441) (initialization): time 0.1367/19.48, allocations: 33.6 MB / 5.238 GB, free: 58.43 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006016/19.48, allocations: 0.8896 MB / 5.239 GB, free: 57.39 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-05/19.48, allocations: 29.06 kB / 5.239 GB, free: 57.39 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5122/20, allocations: 87.14 MB / 5.324 GB, free: 27.26 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009062/20, allocations: 1.08 MB / 5.326 GB, free: 26.44 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.561/20.57, allocations: 37.72 MB / 5.362 GB, free: 52.04 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02703/20.59, allocations: 1.843 MB / 5.364 GB, free: 52.04 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005891/20.6, allocations: 0.5999 MB / 5.365 GB, free: 52.04 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/20.6, allocations: 3.281 kB / 5.365 GB, free: 52.04 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1302/20.73, allocations: 32.12 MB / 5.396 GB, free: 51.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001954/20.73, allocations: 28 kB / 5.396 GB, free: 51.73 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5805/21.31, allocations: 79.3 MB / 5.474 GB, free: 44.65 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01394/21.32, allocations: 1.131 MB / 5.475 GB, free: 43.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.183/21.51, allocations: 34.79 MB / 5.509 GB, free: 26.01 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0329/21.54, allocations: 1.811 MB / 5.51 GB, free: 24.99 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006601/21.55, allocations: 0.5889 MB / 5.511 GB, free: 24.58 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 114 * 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 (604): * Single equations (assignments): 603 * 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 {75 763} Notification: Performance of prepare postOptimizeDAE: time 0.01906/21.57, allocations: 2.604 MB / 5.514 GB, free: 22.59 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008104/21.57, allocations: 0.6529 MB / 5.514 GB, free: 22.25 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.646/22.22, allocations: 30.79 MB / 5.544 GB, free: 66.68 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001629/22.22, allocations: 124.6 kB / 5.544 GB, free: 66.68 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-05/22.22, allocations: 4.25 kB / 5.544 GB, free: 66.68 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1012/22.32, allocations: 24.3 MB / 5.568 GB, free: 65.96 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1654/22.49, allocations: 44.52 MB / 5.612 GB, free: 64.52 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001867/22.49, allocations: 0 / 5.612 GB, free: 64.52 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.03513/22.52, allocations: 3.414 MB / 5.615 GB, free: 64.52 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.08839/22.61, allocations: 12.56 MB / 5.627 GB, free: 64.32 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.005315/22.62, allocations: 0.6293 MB / 5.628 GB, free: 64.32 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07541/22.69, allocations: 44.83 MB / 5.672 GB, free: 33.37 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.312e-06/22.69, allocations: 11.11 kB / 5.672 GB, free: 33.36 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1433/22.83, allocations: 38.49 MB / 5.709 GB, free: 21.05 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003241/22.84, allocations: 0.7988 MB / 5.71 GB, free: 20.53 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007098/22.85, allocations: 486 kB / 5.71 GB, free: 20.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02435/22.87, allocations: 1.483 MB / 5.712 GB, free: 20.11 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005953/22.88, allocations: 0.7984 MB / 5.713 GB, free: 19.93 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.005204/22.88, allocations: 0.574 MB / 5.713 GB, free: 19.46 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.006086/22.89, allocations: 2.507 MB / 5.716 GB, free: 17.39 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.994e-06/22.89, allocations: 0 / 5.716 GB, free: 17.39 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.04082/22.93, allocations: 7.06 MB / 5.723 GB, free: 11 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 82 (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,pipe1.flowModel.m_flows[1],pipe1.flowModel.m_flows[2],pipe1.flowModel.m_flows[3],pipe1.flowModel.m_flows[4],pipe1.flowModel.m_flows[5],pipe1.flowModel.m_flows[6],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,pipe2.flowModel.m_flows[1],pipe2.flowModel.m_flows[2],pipe2.flowModel.m_flows[3],pipe2.flowModel.m_flows[4],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,pipe3.flowModel.m_flows[1],pipe3.flowModel.m_flows[2],pipe3.flowModel.m_flows[3],pipe3.flowModel.m_flows[4],pipe3.flowModel.m_flows[5],pipe3.flowModel.m_flows[6],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,pipe4.flowModel.m_flows[1],pipe4.flowModel.m_flows[2],pipe4.flowModel.m_flows[3],pipe4.flowModel.m_flows[4],pipe4.flowModel.m_flows[5],pipe4.flowModel.m_flows[6]) * 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 (1169): * Single equations (assignments): 1122 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 22 * Torn equation systems: 25 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 22 {1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 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: 20 {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} Notification: Performance of Backend phase and start with SimCode phase: time 0.02127/22.95, allocations: 3.996 MB / 5.726 GB, free: 8.773 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.6734/23.62, allocations: 41.48 MB / 5.767 GB, free: 70.32 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.786e-05/23.62, allocations: 10.03 kB / 5.767 GB, free: 70.32 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.05932/23.68, allocations: 14.23 MB / 5.781 GB, free: 69.69 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02892/23.71, allocations: 3.073 MB / 5.784 GB, free: 69.61 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1357/23.85, allocations: 35.47 MB / 5.818 GB, free: 59.94 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01305/23.86, allocations: 5.276 MB / 5.824 GB, free: 58.99 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.03363/23.89, allocations: 4.994 MB / 5.829 GB, free: 58.47 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01009/23.9, allocations: 0.7948 MB / 5.829 GB, free: 58.46 MB / 0.5105 GB Notification: Performance of SimCode: time 2.174e-06/23.9, allocations: 4 kB / 5.829 GB, free: 58.46 MB / 0.5105 GB Notification: Performance of Templates: time 1.871/25.77, allocations: 419.1 MB / 6.239 GB, free: 82.46 MB / 0.5417 GB