Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyState.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyState,tolerance=1e-05,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.2_ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyState") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.004501/0.004501, allocations: 367.4 kB / 15.96 MB, free: 6.199 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 3.972/3.972, allocations: 388.9 MB / 405.6 MB, free: 10.25 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003538/0.003538, allocations: 228.6 kB / 451 MB, free: 145.1 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.5104/0.5104, allocations: 80.02 MB / 0.5627 GB, free: 19.84 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004864/0.0004868, allocations: 12 kB / 0.6265 GB, free: 96.55 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1005/0.101, allocations: 54.87 MB / 0.6801 GB, free: 41.66 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyState): time 1.186/1.288, allocations: 265.6 MB / 0.9395 GB, free: 5 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.04534/1.333, allocations: 24.62 MB / 0.9636 GB, free: 4.598 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003769/1.337, allocations: 113.3 kB / 0.9637 GB, free: 4.598 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004243/1.341, allocations: 0.8936 MB / 0.9645 GB, free: 4.582 MB / 474.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+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.2+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.2+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.2+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.0219/1.363, allocations: 5.915 MB / 0.9703 GB, free: 2.938 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.02684/1.39, allocations: 6.95 MB / 0.9771 GB, free: 0.9961 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.02714/1.417, allocations: 18.59 MB / 0.9953 GB, free: 10.04 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009062/1.426, allocations: 3.63 MB / 0.9988 GB, free: 7.137 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.015/1.441, allocations: 5.053 MB / 1.004 GB, free: 3.598 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01838/1.46, allocations: 6.868 MB / 1.01 GB, free: 14.34 MB / 0.4949 GB Notification: Performance of NFPackage.collectConstants: time 0.003843/1.464, allocations: 382.5 kB / 1.011 GB, free: 13.96 MB / 0.4949 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03631/1.5, allocations: 10.55 MB / 1.021 GB, free: 5.543 MB / 0.4949 GB Notification: Performance of NFScalarize.scalarize: time 0.009448/1.509, allocations: 3.899 MB / 1.025 GB, free: 2.359 MB / 0.4949 GB Notification: Performance of NFVerifyModel.verify: time 0.005877/1.515, allocations: 1.569 MB / 1.026 GB, free: 1.215 MB / 0.4949 GB Notification: Performance of NFConvertDAE.convert: time 0.03197/1.547, allocations: 13.42 MB / 1.04 GB, free: 5.516 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 8.716e-06/1.547, allocations: 3.938 kB / 1.04 GB, free: 5.516 MB / 0.5105 GB Notification: Performance of FrontEnd: time 5.129e-06/1.547, allocations: 0 / 1.04 GB, free: 5.516 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0004171/1.548, allocations: 3.938 kB / 1.04 GB, free: 5.512 MB / 0.5105 GB 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.07091/1.619, allocations: 10.01 MB / 1.049 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.747e-05/1.619, allocations: 12.03 kB / 1.049 GB, free: 12.13 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008736/1.628, allocations: 0.8405 MB / 1.05 GB, free: 11.29 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02492/1.653, allocations: 5.615 MB / 1.056 GB, free: 7.191 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00109/1.654, allocations: 491 kB / 1.056 GB, free: 6.918 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004767/1.659, allocations: 0.6349 MB / 1.057 GB, free: 6.449 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04853/1.707, allocations: 14.23 MB / 1.071 GB, free: 8.246 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004011/1.708, allocations: 19.84 kB / 1.071 GB, free: 8.227 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003453/1.711, allocations: 257.5 kB / 1.071 GB, free: 8.004 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002802/1.714, allocations: 1.264 MB / 1.072 GB, free: 6.738 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05362/1.768, allocations: 16.53 MB / 1.088 GB, free: 6.195 MB / 0.5574 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.4683/2.236, allocations: 52.98 MB / 1.14 GB, free: 234.2 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02917/2.265, allocations: 10.91 MB / 1.151 GB, free: 228.9 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.018/2.283, allocations: 7.261 MB / 1.158 GB, free: 225.2 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00701/2.29, allocations: 6.134 MB / 1.164 GB, free: 218.7 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002167/2.291, allocations: 146.8 kB / 1.164 GB, free: 218.6 MB / 0.573 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.007541/2.298, allocations: 0.7572 MB / 1.165 GB, free: 218.2 MB / 0.573 GB Notification: Performance of pre-optimization done (n=882): time 3.546e-05/2.298, allocations: 0 / 1.165 GB, free: 218.2 MB / 0.573 GB Notification: Performance of matching and sorting (n=1122): time 0.6443/2.943, allocations: 96.97 MB / 1.259 GB, free: 126.7 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001495/2.943, allocations: 168.2 kB / 1.26 GB, free: 126.6 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01258/2.955, allocations: 3.684 MB / 1.263 GB, free: 122.9 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.004706/2.96, allocations: 229.7 kB / 1.263 GB, free: 122.7 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.003155/2.963, allocations: 2.437 MB / 1.266 GB, free: 120.2 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.009061/2.973, allocations: 3.901 MB / 1.27 GB, free: 116.3 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00475/2.977, allocations: 216 kB / 1.27 GB, free: 116.1 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.001384/2.979, allocations: 0.7527 MB / 1.27 GB, free: 115.4 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0404/3.019, allocations: 10.12 MB / 1.28 GB, free: 105.2 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03718/3.057, allocations: 11.75 MB / 1.292 GB, free: 93 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03804/3.095, allocations: 11.22 MB / 1.303 GB, free: 81.74 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.717e-05/3.095, allocations: 8 kB / 1.303 GB, free: 81.73 MB / 0.573 GB Notification: Performance of matching and sorting (n=1397) (initialization): time 0.1216/3.216, allocations: 32.67 MB / 1.335 GB, free: 48.98 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007014/3.217, allocations: 1.177 MB / 1.336 GB, free: 47.31 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.227e-05/3.217, allocations: 36 kB / 1.336 GB, free: 47.28 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.8418/4.059, allocations: 79.14 MB / 1.413 GB, free: 230.5 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009201/4.068, allocations: 1.111 MB / 1.414 GB, free: 229.6 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1296/4.198, allocations: 35.27 MB / 1.449 GB, free: 204 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02966/4.228, allocations: 1.79 MB / 1.45 GB, free: 202.9 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005909/4.234, allocations: 0.6004 MB / 1.451 GB, free: 202.4 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.904e-05/4.234, allocations: 4 kB / 1.451 GB, free: 202.4 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1236/4.357, allocations: 30.92 MB / 1.481 GB, free: 175.2 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001578/4.358, allocations: 36.06 kB / 1.481 GB, free: 175.2 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.408/4.766, allocations: 67.98 MB / 1.548 GB, free: 107.2 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009798/4.775, allocations: 1.221 MB / 1.549 GB, free: 106 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1068/4.882, allocations: 32.22 MB / 1.58 GB, free: 73.85 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02347/4.906, allocations: 1.751 MB / 1.582 GB, free: 72.16 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004132/4.91, allocations: 0.5895 MB / 1.583 GB, free: 71.57 MB / 0.573 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.01125/4.921, allocations: 2.586 MB / 1.585 GB, free: 68.98 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005112/4.926, allocations: 0.6474 MB / 1.586 GB, free: 68.63 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1452/5.072, allocations: 30.22 MB / 1.615 GB, free: 38.3 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.4448/5.516, allocations: 23.94 MB / 1.639 GB, free: 235.7 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001285/5.517, allocations: 1.25 kB / 1.639 GB, free: 235.7 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002791/5.519, allocations: 0.7716 MB / 1.639 GB, free: 235.6 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006068/5.526, allocations: 460.6 kB / 1.64 GB, free: 235.6 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02279/5.548, allocations: 1.439 MB / 1.641 GB, free: 235.6 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004369/5.553, allocations: 0.7652 MB / 1.642 GB, free: 235.6 MB / 0.573 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.1835/5.736, allocations: 35.41 MB / 1.677 GB, free: 227.3 MB / 0.573 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.1161/5.852, allocations: 34.86 MB / 1.711 GB, free: 202.4 MB / 0.573 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.03347/5.886, allocations: 11.47 MB / 1.722 GB, free: 190.9 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.005634/5.892, allocations: 2.501 MB / 1.724 GB, free: 188.4 MB / 0.573 GB Notification: Performance of Backend: time 1.953e-06/5.892, allocations: 0 / 1.724 GB, free: 188.4 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.1277/6.019, allocations: 31.12 MB / 1.755 GB, free: 158 MB / 0.573 GB Notification: Performance of SimCode: time 0.0501/6.07, allocations: 23.34 MB / 1.777 GB, free: 134.6 MB / 0.573 GB Notification: Performance of Templates: time 1.905/7.975, allocations: 382.5 MB / 2.151 GB, free: 202.4 MB / 0.573 GB