Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyState.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyState,tolerance=1e-06,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.1_ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyState") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002636/0.00264, allocations: 352.2 kB / 15.95 MB, free: 6.223 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 3.307/3.307, allocations: 341.5 MB / 358.2 MB, free: 28.6 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.003533/0.003534, allocations: 225.3 kB / 397.9 MB, free: 6.012 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.5712/0.5712, allocations: 76.09 MB / 0.5014 GB, free: 0.8008 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004503/0.0004506, allocations: 12 kB / 0.5592 GB, free: 60.26 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0913/0.09177, allocations: 48.71 MB / 0.6067 GB, free: 11.53 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyState): time 1.121/1.213, allocations: 265.2 MB / 0.8657 GB, free: 3.355 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0456/1.259, allocations: 24.49 MB / 0.8896 GB, free: 1.258 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003797/1.262, allocations: 109.4 kB / 0.8897 GB, free: 1.258 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004071/1.267, allocations: 0.8575 MB / 0.8906 GB, free: 0.957 MB / 426.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Fluid/Sources.mo:772:36-773:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Fluid/Sources.mo:770:36-771:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Fluid/Sources.mo:772:36-773:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Fluid/Sources.mo:770:36-771:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.02306/1.29, allocations: 5.91 MB / 0.8964 GB, free: 15.3 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.02709/1.317, allocations: 6.919 MB / 0.9031 GB, free: 12.98 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0283/1.345, allocations: 18.35 MB / 0.921 GB, free: 15.93 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009636/1.355, allocations: 3.627 MB / 0.9246 GB, free: 12.36 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01454/1.369, allocations: 4.97 MB / 0.9294 GB, free: 7.574 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01808/1.388, allocations: 6.809 MB / 0.9361 GB, free: 1.215 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003648/1.391, allocations: 380 kB / 0.9364 GB, free: 0.8438 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03607/1.427, allocations: 10.42 MB / 0.9466 GB, free: 6.691 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.008805/1.436, allocations: 3.854 MB / 0.9504 GB, free: 2.902 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005646/1.442, allocations: 1.557 MB / 0.9519 GB, free: 1.336 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0312/1.473, allocations: 13.4 MB / 0.965 GB, free: 4.496 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.184e-06/1.473, allocations: 0 / 0.965 GB, free: 4.496 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.385e-06/1.473, allocations: 0 / 0.965 GB, free: 4.496 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0004457/1.474, allocations: 0 / 0.965 GB, free: 4.496 MB / 490.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.06258/1.536, allocations: 10.01 MB / 0.9748 GB, free: 10.49 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.718e-05/1.536, allocations: 8.031 kB / 0.9748 GB, free: 10.48 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006671/1.543, allocations: 0.8344 MB / 0.9756 GB, free: 9.641 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01906/1.562, allocations: 5.621 MB / 0.9811 GB, free: 4.184 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009802/1.563, allocations: 483.1 kB / 0.9815 GB, free: 3.742 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003789/1.567, allocations: 0.6359 MB / 0.9821 GB, free: 3.133 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0469/1.614, allocations: 14.23 MB / 0.996 GB, free: 4.922 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003982/1.614, allocations: 23.83 kB / 0.9961 GB, free: 4.898 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003193/1.618, allocations: 258.9 kB / 0.9963 GB, free: 4.676 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002641/1.62, allocations: 1.26 MB / 0.9976 GB, free: 3.414 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3496/1.97, allocations: 16.52 MB / 1.014 GB, free: 225 MB / 0.5105 GB 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.1242/2.094, allocations: 47.54 MB / 1.06 GB, free: 188.4 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03007/2.124, allocations: 10.92 MB / 1.071 GB, free: 177.6 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01835/2.143, allocations: 7.262 MB / 1.078 GB, free: 170.3 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006992/2.15, allocations: 6.126 MB / 1.084 GB, free: 163.1 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002544/2.15, allocations: 148.2 kB / 1.084 GB, free: 162.9 MB / 0.5105 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.007015/2.157, allocations: 0.7557 MB / 1.085 GB, free: 162.2 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=882): time 2.984e-05/2.157, allocations: 2.094 kB / 1.085 GB, free: 162.2 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1122): time 0.6438/2.801, allocations: 96.97 MB / 1.179 GB, free: 65.76 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001481/2.801, allocations: 164.2 kB / 1.18 GB, free: 65.58 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01131/2.813, allocations: 3.691 MB / 1.183 GB, free: 61.89 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.004388/2.817, allocations: 229.7 kB / 1.183 GB, free: 61.66 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.003053/2.82, allocations: 2.435 MB / 1.186 GB, free: 59.22 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.008441/2.829, allocations: 3.892 MB / 1.19 GB, free: 55.36 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003815/2.833, allocations: 220 kB / 1.19 GB, free: 55.14 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.001203/2.834, allocations: 0.7528 MB / 1.191 GB, free: 54.38 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.05031/2.884, allocations: 10.13 MB / 1.2 GB, free: 44.25 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.05372/2.938, allocations: 11.75 MB / 1.212 GB, free: 32.01 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03601/2.974, allocations: 11.22 MB / 1.223 GB, free: 20.76 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.939e-05/2.974, allocations: 12 kB / 1.223 GB, free: 20.75 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1397) (initialization): time 0.4378/3.412, allocations: 32.67 MB / 1.255 GB, free: 207.4 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.000894/3.413, allocations: 1.166 MB / 1.256 GB, free: 205.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.512e-05/3.413, allocations: 35.84 kB / 1.256 GB, free: 205.9 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5479/3.961, allocations: 77.68 MB / 1.332 GB, free: 153.6 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008909/3.97, allocations: 1.11 MB / 1.333 GB, free: 152.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1242/4.094, allocations: 35.26 MB / 1.367 GB, free: 117.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02463/4.119, allocations: 1.789 MB / 1.369 GB, free: 115.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004153/4.123, allocations: 0.6012 MB / 1.37 GB, free: 115.1 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/4.123, allocations: 4 kB / 1.37 GB, free: 115.1 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1704/4.293, allocations: 30.92 MB / 1.4 GB, free: 84.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001895/4.294, allocations: 36 kB / 1.4 GB, free: 84.16 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.879/5.173, allocations: 66.95 MB / 1.465 GB, free: 198.6 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01001/5.183, allocations: 1.213 MB / 1.466 GB, free: 198.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.117/5.3, allocations: 32.22 MB / 1.498 GB, free: 190.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02392/5.324, allocations: 1.753 MB / 1.5 GB, free: 190.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004183/5.328, allocations: 0.5874 MB / 1.5 GB, free: 190.4 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 158 * 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 (610): * Single equations (assignments): 609 * 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 {73 715} Notification: Performance of prepare postOptimizeDAE: time 0.01105/5.339, allocations: 2.592 MB / 1.503 GB, free: 189.3 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004624/5.344, allocations: 0.6382 MB / 1.503 GB, free: 189.3 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1102/5.454, allocations: 30.23 MB / 1.533 GB, free: 171.1 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.08512/5.539, allocations: 23.94 MB / 1.556 GB, free: 146.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001133/5.539, allocations: 0 / 1.556 GB, free: 146.9 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002599/5.542, allocations: 0.7756 MB / 1.557 GB, free: 146.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005337/5.547, allocations: 463.7 kB / 1.557 GB, free: 145.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02152/5.569, allocations: 1.436 MB / 1.559 GB, free: 144.5 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00366/5.573, allocations: 0.7623 MB / 1.56 GB, free: 143.7 MB / 0.5105 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.1769/5.749, allocations: 35.4 MB / 1.594 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.1133/5.863, allocations: 34.87 MB / 1.628 GB, free: 73.43 MB / 0.5105 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.03256/5.895, allocations: 11.46 MB / 1.639 GB, free: 61.94 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.005785/5.901, allocations: 2.501 MB / 1.642 GB, free: 59.45 MB / 0.5105 GB Notification: Performance of Backend: time 9.52e-07/5.901, allocations: 0 / 1.642 GB, free: 59.45 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.1285/6.03, allocations: 31.12 MB / 1.672 GB, free: 29.04 MB / 0.5105 GB Notification: Performance of SimCode: time 0.3657/6.396, allocations: 23.33 MB / 1.695 GB, free: 196.6 MB / 0.5105 GB Notification: Performance of Templates: time 1.068/7.464, allocations: 382.3 MB / 2.068 GB, free: 57.26 MB / 0.5105 GB