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.914/1.914, allocations: 171.2 MB / 186.7 MB, free: 1.117 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005777/0.0005778, allocations: 8 kB / 233.9 MB, free: 2.395 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09902/0.09964, allocations: 38.77 MB / 272.6 MB, free: 11.54 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.BranchingDynamicPipes): time 0.8209/0.9206, allocations: 215.5 MB / 488.1 MB, free: 476 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0473/0.968, allocations: 26.41 MB / 0.5025 GB, free: 12.3 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003316/0.9714, allocations: 108.5 kB / 0.5026 GB, free: 12.25 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004097/0.9755, allocations: 1.017 MB / 0.5036 GB, free: 11.81 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02148/0.997, allocations: 5.109 MB / 0.5085 GB, free: 9.25 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.026/1.023, allocations: 6.42 MB / 0.5148 GB, free: 3.766 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.01985/1.043, allocations: 10.36 MB / 0.5249 GB, free: 9.766 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007663/1.051, allocations: 3.651 MB / 0.5285 GB, free: 6.109 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01359/1.064, allocations: 4.83 MB / 0.5332 GB, free: 1.766 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01229/1.077, allocations: 4.7 MB / 0.5378 GB, free: 13.46 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003181/1.08, allocations: 380 kB / 0.5382 GB, free: 13.09 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03231/1.112, allocations: 10.42 MB / 0.5483 GB, free: 2.816 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.007359/1.12, allocations: 3.465 MB / 0.5517 GB, free: 15.58 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004644/1.124, allocations: 1.557 MB / 0.5533 GB, free: 14.25 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0293/1.154, allocations: 13.17 MB / 0.5661 GB, free: 1.051 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/1.154, allocations: 4 kB / 0.5661 GB, free: 1.047 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.055e-06/1.154, allocations: 0 / 0.5661 GB, free: 1.047 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003361/1.154, allocations: 0 / 0.5661 GB, free: 1.047 MB / 410.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.06152/1.216, allocations: 10.14 MB / 0.576 GB, free: 6.84 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.043e-05/1.216, allocations: 8.031 kB / 0.576 GB, free: 6.832 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006304/1.222, allocations: 0.8305 MB / 0.5768 GB, free: 5.992 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01517/1.237, allocations: 4.259 MB / 0.581 GB, free: 1.871 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007492/1.238, allocations: 483.3 kB / 0.5815 GB, free: 1.398 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003425/1.241, allocations: 0.6555 MB / 0.5821 GB, free: 0.7422 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2927/1.534, allocations: 14.45 MB / 0.5962 GB, free: 177.5 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002698/1.534, allocations: 24.06 kB / 0.5962 GB, free: 177.5 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002051/1.537, allocations: 252.2 kB / 0.5965 GB, free: 177.4 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001936/1.538, allocations: 1.286 MB / 0.5977 GB, free: 177.2 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04387/1.582, allocations: 17.01 MB / 0.6143 GB, free: 169 MB / 426.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1199/1.702, allocations: 49.15 MB / 0.6623 GB, free: 118.4 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02783/1.73, allocations: 11.33 MB / 0.6734 GB, free: 107.1 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004694/1.735, allocations: 4.17 MB / 0.6775 GB, free: 102.2 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001624/1.735, allocations: 148.5 kB / 0.6776 GB, free: 102.1 MB / 426.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.006811/1.742, allocations: 0.7965 MB / 0.6784 GB, free: 101.3 MB / 426.7 MB Notification: Performance of pre-optimization done (n=926): time 1.812e-05/1.742, allocations: 0 / 0.6784 GB, free: 101.3 MB / 426.7 MB Notification: Performance of matching and sorting (n=1188): time 0.5353/2.277, allocations: 102.1 MB / 0.7781 GB, free: 36 kB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.2717/2.549, allocations: 169 kB / 0.7783 GB, free: 168.7 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008674/2.558, allocations: 3.641 MB / 0.7818 GB, free: 168.5 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00321/2.561, allocations: 240.8 kB / 0.782 GB, free: 168.4 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002002/2.563, allocations: 2.35 MB / 0.7843 GB, free: 167.6 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.006515/2.57, allocations: 4.13 MB / 0.7884 GB, free: 164.4 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002604/2.572, allocations: 225.8 kB / 0.7886 GB, free: 164.2 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0009297/2.573, allocations: 0.7765 MB / 0.7893 GB, free: 163.7 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03607/2.609, allocations: 10.57 MB / 0.7997 GB, free: 160.4 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03587/2.645, allocations: 12.07 MB / 0.8115 GB, free: 155.8 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.03663/2.682, allocations: 11.68 MB / 0.8229 GB, free: 151.1 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.398e-05/2.682, allocations: 7.625 kB / 0.8229 GB, free: 151.1 MB / 426.7 MB Notification: Performance of matching and sorting (n=1463) (initialization): time 0.1551/2.837, allocations: 34.07 MB / 0.8561 GB, free: 119.4 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000564/2.838, allocations: 1.031 MB / 0.8571 GB, free: 117.9 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-05/2.838, allocations: 32 kB / 0.8572 GB, free: 117.9 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.4873/3.325, allocations: 85.18 MB / 0.9404 GB, free: 32.73 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008726/3.334, allocations: 1.119 MB / 0.9414 GB, free: 31.61 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.361/3.695, allocations: 37.13 MB / 0.9777 GB, free: 151.6 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02411/3.719, allocations: 1.846 MB / 0.9795 GB, free: 151.4 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003622/3.723, allocations: 0.6046 MB / 0.9801 GB, free: 151.4 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/3.723, allocations: 6.125 kB / 0.9801 GB, free: 151.4 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1097/3.832, allocations: 32.58 MB / 1.012 GB, free: 135.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001271/3.833, allocations: 35.75 kB / 1.012 GB, free: 135.1 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.4709/4.304, allocations: 76.36 MB / 1.087 GB, free: 58.82 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008997/4.313, allocations: 1.17 MB / 1.088 GB, free: 57.64 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1107/4.423, allocations: 35.07 MB / 1.122 GB, free: 22.65 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02327/4.447, allocations: 1.807 MB / 1.124 GB, free: 20.91 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003508/4.45, allocations: 0.6012 MB / 1.124 GB, free: 20.31 MB / 426.7 MB 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 (626): * Single equations (assignments): 625 * 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 {77 761} Notification: Performance of prepare postOptimizeDAE: time 0.009246/4.46, allocations: 2.612 MB / 1.127 GB, free: 17.7 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003294/4.463, allocations: 0.6536 MB / 1.127 GB, free: 17.37 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.354/4.817, allocations: 30.97 MB / 1.158 GB, free: 154.9 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.08394/4.901, allocations: 24.52 MB / 1.182 GB, free: 139.3 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001236/4.901, allocations: 3.5 kB / 1.182 GB, free: 139.3 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002566/4.904, allocations: 0.7995 MB / 1.182 GB, free: 138.8 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005316/4.909, allocations: 479.7 kB / 1.183 GB, free: 138.4 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02176/4.931, allocations: 1.48 MB / 1.184 GB, free: 136.9 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003571/4.934, allocations: 0.8018 MB / 1.185 GB, free: 136.1 MB / 426.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.2394/5.174, allocations: 37.24 MB / 1.221 GB, free: 99 MB / 426.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.134/5.308, allocations: 36.58 MB / 1.257 GB, free: 62.32 MB / 426.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.03244/5.34, allocations: 12.06 MB / 1.269 GB, free: 50.24 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.005213/5.346, allocations: 2.475 MB / 1.271 GB, free: 47.77 MB / 426.7 MB Notification: Performance of Backend: time 1.153e-06/5.346, allocations: 0 / 1.271 GB, free: 47.77 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.3816/5.727, allocations: 32 MB / 1.303 GB, free: 150.7 MB / 426.7 MB Notification: Performance of SimCode: time 0.05355/5.781, allocations: 24.98 MB / 1.327 GB, free: 139.4 MB / 426.7 MB Notification: Performance of Templates: time 1.491/7.272, allocations: 393.6 MB / 1.711 GB, free: 100.7 MB / 426.8 MB