Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Fluid.Examples.BranchingDynamicPipes.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/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.1_Modelica.Fluid.Examples.BranchingDynamicPipes") Notification: Performance of loadModel(Modelica): time 1.863/1.863, allocations: 171.2 MB / 186.7 MB, free: 1.125 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000511/0.0005112, allocations: 8 kB / 233.8 MB, free: 2.379 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08456/0.0851, allocations: 38.77 MB / 272.6 MB, free: 11.53 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.91/11, allocations: 3.665 GB / 3.931 GB, free: 4.434 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002824/11, allocations: 81.53 kB / 3.931 GB, free: 4.395 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.157/17.15, allocations: 0.9658 GB / 4.897 GB, free: 23.26 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.035e-06/17.15, allocations: 0 / 4.897 GB, free: 23.26 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.000827/17.16, allocations: 162.5 kB / 4.897 GB, free: 23.24 MB / 426.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.08335/17.24, allocations: 10.5 MB / 4.907 GB, free: 19.09 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.491e-05/17.24, allocations: 13.38 kB / 4.907 GB, free: 19.09 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01189/17.25, allocations: 0.8504 MB / 4.908 GB, free: 18.7 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03406/17.29, allocations: 5.734 MB / 4.914 GB, free: 17.91 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001032/17.29, allocations: 0.5275 MB / 4.914 GB, free: 17.89 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005742/17.29, allocations: 0.7272 MB / 4.915 GB, free: 17.87 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05256/17.34, allocations: 14.26 MB / 4.929 GB, free: 17.19 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005711/17.35, allocations: 27 kB / 4.929 GB, free: 17.18 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005407/17.35, allocations: 287.1 kB / 4.929 GB, free: 17.18 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001163/17.35, allocations: 0.7033 MB / 4.93 GB, free: 17.17 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05271/17.4, allocations: 16.94 MB / 4.947 GB, free: 17.11 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1396/17.54, allocations: 43.37 MB / 4.989 GB, free: 14.13 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03508/17.58, allocations: 11.07 MB / 5 GB, free: 4.832 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006899/17.59, allocations: 4.188 MB / 5.004 GB, free: 64 kB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.3949/17.98, allocations: 174.8 kB / 5.004 GB, free: 38.58 MB / 442.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.009982/17.99, allocations: 0.8799 MB / 5.005 GB, free: 38.58 MB / 442.7 MB Notification: Performance of pre-optimization done (n=926): time 5.954e-05/17.99, allocations: 0 / 5.005 GB, free: 38.58 MB / 442.7 MB Notification: Performance of matching and sorting (n=1188): time 0.6098/18.6, allocations: 99.94 MB / 5.102 GB, free: 34.62 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001272/18.6, allocations: 169.5 kB / 5.103 GB, free: 34.55 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007863/18.61, allocations: 3.669 MB / 5.106 GB, free: 34.29 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.004193/18.61, allocations: 239.9 kB / 5.106 GB, free: 34.26 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002299/18.62, allocations: 2.32 MB / 5.109 GB, free: 33.53 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.007529/18.62, allocations: 4.128 MB / 5.113 GB, free: 31.05 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002964/18.63, allocations: 224.3 kB / 5.113 GB, free: 31.05 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.001105/18.63, allocations: 0.7673 MB / 5.114 GB, free: 30.72 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03515/18.66, allocations: 10.44 MB / 5.124 GB, free: 25.06 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03763/18.7, allocations: 11.8 MB / 5.135 GB, free: 15.08 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.03852/18.74, allocations: 11.51 MB / 5.147 GB, free: 5.348 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.827e-05/18.74, allocations: 10.62 kB / 5.147 GB, free: 5.34 MB / 442.7 MB Notification: Performance of matching and sorting (n=1441) (initialization): time 0.5683/19.31, allocations: 36.29 MB / 5.182 GB, free: 47.26 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005981/19.31, allocations: 0.8921 MB / 5.183 GB, free: 46.21 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.266e-05/19.31, allocations: 24.88 kB / 5.183 GB, free: 46.21 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.5208/19.83, allocations: 84.93 MB / 5.266 GB, free: 39.69 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009079/19.84, allocations: 1.082 MB / 5.267 GB, free: 38.87 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1325/19.97, allocations: 36.95 MB / 5.303 GB, free: 20.12 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02593/20, allocations: 1.843 MB / 5.305 GB, free: 19.08 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0051/20, allocations: 0.6003 MB / 5.305 GB, free: 18.66 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/20, allocations: 4 kB / 5.305 GB, free: 18.66 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1484/20.15, allocations: 33.88 MB / 5.339 GB, free: 0 / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002563/20.15, allocations: 44.25 kB / 5.339 GB, free: 0 / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.892/21.04, allocations: 77.82 MB / 5.415 GB, free: 49.81 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00972/21.05, allocations: 1.135 MB / 5.416 GB, free: 49.81 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1254/21.18, allocations: 34.79 MB / 5.45 GB, free: 32.54 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02611/21.2, allocations: 1.813 MB / 5.451 GB, free: 31.51 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005329/21.21, allocations: 0.5887 MB / 5.452 GB, free: 31.11 MB / 458.7 MB 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.01394/21.22, allocations: 2.599 MB / 5.455 GB, free: 29.94 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006141/21.23, allocations: 0.6585 MB / 5.455 GB, free: 29.6 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1182/21.35, allocations: 30.77 MB / 5.485 GB, free: 11.5 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002124/21.35, allocations: 124 kB / 5.485 GB, free: 11.38 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.943e-05/21.35, allocations: 3.781 kB / 5.485 GB, free: 11.38 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.5383/21.89, allocations: 26.44 MB / 5.511 GB, free: 43.68 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1703/22.06, allocations: 44.52 MB / 5.555 GB, free: 42.24 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001939/22.06, allocations: 0 / 5.555 GB, free: 42.24 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.03644/22.09, allocations: 3.412 MB / 5.558 GB, free: 42.23 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.08505/22.18, allocations: 12.57 MB / 5.57 GB, free: 42.04 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.005136/22.18, allocations: 0.6355 MB / 5.571 GB, free: 42.04 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07152/22.26, allocations: 44.83 MB / 5.615 GB, free: 28.64 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/22.26, allocations: 0 / 5.615 GB, free: 28.64 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1623/22.42, allocations: 38.49 MB / 5.652 GB, free: 18.64 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004309/22.42, allocations: 0.7999 MB / 5.653 GB, free: 18.12 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008594/22.43, allocations: 486.5 kB / 5.654 GB, free: 17.89 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02499/22.46, allocations: 1.49 MB / 5.655 GB, free: 17.7 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005263/22.46, allocations: 0.7975 MB / 5.656 GB, free: 17.6 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.005233/22.47, allocations: 0.5641 MB / 5.656 GB, free: 17.51 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.007155/22.47, allocations: 2.506 MB / 5.659 GB, free: 16.62 MB / 474.7 MB Notification: Performance of sort global known variables: time 6.51e-07/22.47, allocations: 3.406 kB / 5.659 GB, free: 16.62 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.04386/22.52, allocations: 7.041 MB / 5.666 GB, free: 10.83 MB / 474.7 MB 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.022/22.54, allocations: 4 MB / 5.67 GB, free: 8.578 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.6585/23.2, allocations: 41.41 MB / 5.71 GB, free: 59.65 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.919e-05/23.2, allocations: 9.781 kB / 5.71 GB, free: 59.65 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.06082/23.26, allocations: 14.24 MB / 5.724 GB, free: 59.02 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0293/23.29, allocations: 3.07 MB / 5.727 GB, free: 58.94 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1165/23.41, allocations: 35.48 MB / 5.762 GB, free: 49.19 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01203/23.42, allocations: 5.281 MB / 5.767 GB, free: 48.24 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.03185/23.45, allocations: 4.991 MB / 5.772 GB, free: 47.73 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009271/23.46, allocations: 0.8002 MB / 5.772 GB, free: 47.71 MB / 474.7 MB Notification: Performance of SimCode: time 1.633e-06/23.46, allocations: 0 / 5.772 GB, free: 47.71 MB / 474.7 MB Notification: Performance of Templates: time 1.728/25.19, allocations: 419 MB / 6.182 GB, free: 14.71 MB / 490.7 MB