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.004/2.004, allocations: 194.9 MB / 211.7 MB, free: 3.004 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003452/0.0003453, allocations: 16 kB / 264.6 MB, free: 12.93 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08868/0.08905, allocations: 44.5 MB / 309.1 MB, free: 368 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.BranchingDynamicPipes): time 0.6608/0.7499, allocations: 215.8 MB / 0.5125 GB, free: 2.859 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.4498/1.2, allocations: 26.52 MB / 0.5384 GB, free: 4.105 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003874/1.204, allocations: 106.2 kB / 0.5385 GB, free: 4.105 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005782/1.21, allocations: 1.047 MB / 0.5396 GB, free: 4.102 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02613/1.236, allocations: 5.119 MB / 0.5446 GB, free: 4.027 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.03096/1.267, allocations: 6.42 MB / 0.5508 GB, free: 3.949 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.02512/1.292, allocations: 10.48 MB / 0.5611 GB, free: 3.902 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01006/1.302, allocations: 3.655 MB / 0.5646 GB, free: 18.98 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01763/1.32, allocations: 4.923 MB / 0.5694 GB, free: 18.19 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01575/1.335, allocations: 4.761 MB / 0.5741 GB, free: 17 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003909/1.339, allocations: 380.1 kB / 0.5745 GB, free: 17 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0358/1.375, allocations: 10.56 MB / 0.5848 GB, free: 14.58 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.01249/1.388, allocations: 3.506 MB / 0.5882 GB, free: 13.55 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.009451/1.397, allocations: 1.571 MB / 0.5897 GB, free: 12.64 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.03729/1.435, allocations: 13.19 MB / 0.6026 GB, free: 1.137 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/1.435, allocations: 0 / 0.6026 GB, free: 1.137 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.796e-06/1.435, allocations: 0 / 0.6026 GB, free: 1.137 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003484/1.435, allocations: 0 / 0.6026 GB, free: 1.137 MB / 442.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.06153/1.497, allocations: 10.14 MB / 0.6125 GB, free: 7.676 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.068e-05/1.497, allocations: 8.031 kB / 0.6125 GB, free: 7.668 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00641/1.503, allocations: 0.8393 MB / 0.6133 GB, free: 6.824 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01527/1.518, allocations: 4.262 MB / 0.6175 GB, free: 3.75 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006847/1.519, allocations: 486 kB / 0.618 GB, free: 3.48 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003612/1.523, allocations: 0.6523 MB / 0.6186 GB, free: 3.043 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04228/1.565, allocations: 14.45 MB / 0.6327 GB, free: 9.125 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002741/1.565, allocations: 25.41 kB / 0.6327 GB, free: 9.105 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002233/1.568, allocations: 252.2 kB / 0.633 GB, free: 9.047 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002424/1.57, allocations: 1.289 MB / 0.6342 GB, free: 7.941 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04901/1.619, allocations: 17.01 MB / 0.6508 GB, free: 12.29 MB / 490.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.1628/1.782, allocations: 54.59 MB / 0.7042 GB, free: 13.89 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03867/1.821, allocations: 11.33 MB / 0.7152 GB, free: 6.441 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00604/1.827, allocations: 4.163 MB / 0.7193 GB, free: 1.621 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002067/1.827, allocations: 146.7 kB / 0.7194 GB, free: 1.535 MB / 0.5261 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.007151/1.834, allocations: 0.8056 MB / 0.7202 GB, free: 0.8867 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=926): time 2.292e-05/1.834, allocations: 0 / 0.7202 GB, free: 0.8867 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1188): time 0.937/2.771, allocations: 102.1 MB / 0.8199 GB, free: 48.07 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001071/2.771, allocations: 172.7 kB / 0.8201 GB, free: 47.89 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006935/2.778, allocations: 3.652 MB / 0.8236 GB, free: 45.25 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.003453/2.782, allocations: 235.5 kB / 0.8239 GB, free: 45.17 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001817/2.784, allocations: 2.345 MB / 0.8261 GB, free: 43.57 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.006158/2.79, allocations: 4.139 MB / 0.8302 GB, free: 40.02 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001986/2.792, allocations: 231.6 kB / 0.8304 GB, free: 39.97 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0007516/2.793, allocations: 0.7741 MB / 0.8312 GB, free: 39.37 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03362/2.826, allocations: 10.57 MB / 0.8415 GB, free: 32.02 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03684/2.863, allocations: 12.07 MB / 0.8533 GB, free: 22.99 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0378/2.901, allocations: 11.68 MB / 0.8647 GB, free: 15.26 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.734e-05/2.901, allocations: 8 kB / 0.8647 GB, free: 15.25 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1463) (initialization): time 0.1243/3.026, allocations: 34.07 MB / 0.898 GB, free: 7.691 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.000878/3.026, allocations: 1.03 MB / 0.899 GB, free: 6.352 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.25e-05/3.027, allocations: 28 kB / 0.899 GB, free: 6.324 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.7779/3.804, allocations: 87.06 MB / 0.984 GB, free: 260.1 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008752/3.813, allocations: 1.124 MB / 0.9851 GB, free: 259.2 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1245/3.938, allocations: 37.13 MB / 1.021 GB, free: 226.2 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02474/3.963, allocations: 1.84 MB / 1.023 GB, free: 224.4 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004142/3.967, allocations: 0.609 MB / 1.024 GB, free: 223.8 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/3.967, allocations: 4 kB / 1.024 GB, free: 223.8 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1136/4.08, allocations: 32.59 MB / 1.056 GB, free: 191.2 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001174/4.081, allocations: 32 kB / 1.056 GB, free: 191.1 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.4479/4.529, allocations: 77.74 MB / 1.132 GB, free: 113.3 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009131/4.538, allocations: 1.17 MB / 1.133 GB, free: 112.2 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1127/4.65, allocations: 35.06 MB / 1.167 GB, free: 77.17 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02381/4.674, allocations: 1.811 MB / 1.169 GB, free: 75.43 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004002/4.678, allocations: 0.5934 MB / 1.169 GB, free: 74.83 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 (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.01039/4.689, allocations: 2.619 MB / 1.172 GB, free: 72.21 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004231/4.693, allocations: 0.6526 MB / 1.172 GB, free: 71.87 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1064/4.799, allocations: 30.98 MB / 1.203 GB, free: 40.86 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.4066/5.206, allocations: 24.51 MB / 1.227 GB, free: 282.1 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001103/5.206, allocations: 0 / 1.227 GB, free: 282.1 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0027/5.209, allocations: 0.7955 MB / 1.227 GB, free: 282 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00554/5.215, allocations: 482.1 kB / 1.228 GB, free: 282 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02254/5.237, allocations: 1.486 MB / 1.229 GB, free: 282 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004273/5.241, allocations: 0.7984 MB / 1.23 GB, free: 281.9 MB / 0.573 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.1816/5.423, allocations: 37.25 MB / 1.266 GB, free: 272.7 MB / 0.573 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.1087/5.532, allocations: 36.58 MB / 1.302 GB, free: 243.3 MB / 0.573 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.03217/5.564, allocations: 12.06 MB / 1.314 GB, free: 231.2 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.004985/5.569, allocations: 2.475 MB / 1.316 GB, free: 228.7 MB / 0.573 GB Notification: Performance of Backend: time 9.82e-07/5.569, allocations: 0 / 1.316 GB, free: 228.7 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.1194/5.688, allocations: 32.01 MB / 1.348 GB, free: 197.4 MB / 0.573 GB Notification: Performance of SimCode: time 0.04945/5.738, allocations: 24.99 MB / 1.372 GB, free: 172.3 MB / 0.573 GB Notification: Performance of Templates: time 1.29/7.028, allocations: 393.7 MB / 1.757 GB, free: 63.45 MB / 0.573 GB