Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipesWithTraceSubstances.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.TestComponents.Pipes.DynamicPipesWithTraceSubstances,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|junction1.mC_scaled.1.|junction1.mC_scaled.2.|junction1.medium.T|junction1.medium.p|junction2.mC_scaled.1.|junction2.mC_scaled.2.|junction2.medium.T|junction2.medium.p|pipe1.mediums.1..T|pipe1.mediums.1..p|pipe1.mediums.2..T|pipe1.mediums.2..p|pipe1.mediums.3..T|pipe1.mediums.3..p|pipe1.mediums.4..T|pipe1.mediums.4..p|pipe1.mediums.5..T|pipe1.mediums.5..p|pipe2.mediums.1..T|pipe2.mediums.1..p|pipe2.mediums.2..T|pipe2.mediums.2..p|pipe2.mediums.3..T|pipe2.mediums.3..p|pipe2.mediums.4..T|pipe2.mediums.4..p|pipe2.mediums.5..T|pipe2.mediums.5..p|pipe3.mediums.1..T|pipe3.mediums.1..p|pipe3.mediums.2..T|pipe3.mediums.2..p|pipe3.mediums.3..T|pipe3.mediums.3..p|pipe3.mediums.4..T|pipe3.mediums.4..p|pipe3.mediums.5..T|pipe3.mediums.5..p|pipe4.mediums.1..T|pipe4.mediums.1..p|pipe4.mediums.2..T|pipe4.mediums.2..p|pipe4.mediums.3..T|pipe4.mediums.3..p|pipe4.mediums.4..T|pipe4.mediums.4..p|pipe4.mediums.5..T|pipe4.mediums.5..p|pipe5.mediums.1..T|pipe5.mediums.1..p|pipe5.mediums.2..T|pipe5.mediums.2..p|pipe5.mediums.3..T|pipe5.mediums.3..p|pipe5.mediums.4..T|pipe5.mediums.4..p|pipe5.mediums.5..T|pipe5.mediums.5..p|pipe6.mediums.1..T|pipe6.mediums.1..p|pipe6.mediums.2..T|pipe6.mediums.2..p|pipe6.mediums.3..T|pipe6.mediums.3..p|pipe6.mediums.4..T|pipe6.mediums.4..p|pipe6.mediums.5..T|pipe6.mediums.5..p|pipe7.mediums.1..T|pipe7.mediums.1..p|pipe7.mediums.2..T|pipe7.mediums.2..p|pipe7.mediums.3..T|pipe7.mediums.3..p|pipe7.mediums.4..T|pipe7.mediums.4..p|pipe7.mediums.5..T|pipe7.mediums.5..p|pipe8.mediums.1..T|pipe8.mediums.1..p|pipe8.mediums.2..T|pipe8.mediums.2..p|pipe8.mediums.3..T|pipe8.mediums.3..p|pipe8.mediums.4..T|pipe8.mediums.4..p|pipe8.mediums.5..T|pipe8.mediums.5..p",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipesWithTraceSubstances") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.00265/0.002655, allocations: 352 kB / 15.95 MB, free: 6.215 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.509/3.509, allocations: 341.5 MB / 358.2 MB, free: 12.55 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.003467/0.003467, allocations: 217.2 kB / 397.9 MB, free: 4.898 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.5627/0.5627, allocations: 76.1 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004572/0.0004574, allocations: 8 kB / 0.5592 GB, free: 53.45 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08687/0.08735, allocations: 48.71 MB / 0.6068 GB, free: 4.621 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipesWithTraceSubstances): time 1.773/1.861, allocations: 356.4 MB / 0.9548 GB, free: 6.07 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.104/1.965, allocations: 35.81 MB / 0.9898 GB, free: 5.758 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007981/1.973, allocations: 215.4 kB / 0.99 GB, free: 5.758 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007826/1.98, allocations: 1.599 MB / 0.9916 GB, free: 5.75 MB / 490.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. [/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.03705/2.018, allocations: 9.289 MB / 1.001 GB, free: 5.445 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.04251/2.06, allocations: 10.57 MB / 1.011 GB, free: 3.418 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.04853/2.109, allocations: 29.58 MB / 1.04 GB, free: 10.68 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01613/2.125, allocations: 5.847 MB / 1.046 GB, free: 6.004 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03291/2.158, allocations: 10.32 MB / 1.056 GB, free: 13.53 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02799/2.186, allocations: 11.19 MB / 1.067 GB, free: 4.246 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.006238/2.192, allocations: 0.5828 MB / 1.067 GB, free: 3.664 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03516/2.227, allocations: 6.975 MB / 1.074 GB, free: 14.13 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0147/2.242, allocations: 6.589 MB / 1.08 GB, free: 8.703 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.009524/2.252, allocations: 2.707 MB / 1.083 GB, free: 6.734 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.04066/2.292, allocations: 18.98 MB / 1.102 GB, free: 6.117 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 6.902e-06/2.293, allocations: 0 / 1.102 GB, free: 6.117 MB / 0.5417 GB Notification: Performance of FrontEnd: time 3.347e-06/2.293, allocations: 4 kB / 1.102 GB, free: 6.113 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0007401/2.293, allocations: 0 / 1.102 GB, free: 6.113 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3585 * Number of variables: 3585 Notification: Performance of Generate backend data structure: time 0.09055/2.384, allocations: 16.42 MB / 1.118 GB, free: 6.832 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 6.182e-05/2.384, allocations: 8.031 kB / 1.118 GB, free: 6.824 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02121/2.405, allocations: 2.18 MB / 1.12 GB, free: 4.75 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02558/2.431, allocations: 6.936 MB / 1.127 GB, free: 15.35 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001755/2.433, allocations: 0.8661 MB / 1.127 GB, free: 14.86 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006861/2.439, allocations: 1.135 MB / 1.128 GB, free: 14.09 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0782/2.518, allocations: 22.73 MB / 1.151 GB, free: 10.4 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006996/2.519, allocations: 51.55 kB / 1.151 GB, free: 10.35 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005935/2.524, allocations: 456.8 kB / 1.151 GB, free: 9.938 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00362/2.528, allocations: 1.856 MB / 1.153 GB, free: 8.074 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.7066/3.235, allocations: 22.65 MB / 1.175 GB, free: 282.3 MB / 0.5887 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.1932/3.428, allocations: 83.97 MB / 1.257 GB, free: 218.6 MB / 0.5887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04638/3.474, allocations: 21.54 MB / 1.278 GB, free: 196.6 MB / 0.5887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02683/3.501, allocations: 10.78 MB / 1.289 GB, free: 185.8 MB / 0.5887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005842/3.507, allocations: 3.767 MB / 1.292 GB, free: 181.5 MB / 0.5887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003135/3.508, allocations: 221.5 kB / 1.293 GB, free: 181.2 MB / 0.5887 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01063/3.518, allocations: 1.41 MB / 1.294 GB, free: 179.8 MB / 0.5887 GB Notification: Performance of pre-optimization done (n=1487): time 5.372e-05/3.518, allocations: 4 kB / 1.294 GB, free: 179.8 MB / 0.5887 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: pipe2.mediums[4].T 2: pipe2.mediums[1].T 3: pipe2.mediums[2].T 4: pipe2.mediums[3].T 5: pipe2.mediums[5].T 6: pipe3.mediums[5].T 7: pipe3.mediums[1].T 8: pipe3.mediums[3].T 9: pipe3.mediums[4].T 10: pipe3.mediums[2].T 11: pipe1.mediums[1].T 12: pipe1.mediums[2].T 13: pipe1.mediums[3].T 14: pipe1.mediums[4].T 15: pipe1.mediums[5].T 16: pipe4.mediums[3].T 17: pipe4.mediums[5].T 18: pipe4.mediums[1].T 19: pipe4.mediums[2].T 20: pipe4.mediums[4].T 21: junction1.medium.T 22: junction2.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=1737): time 0.8714/4.39, allocations: 143.2 MB / 1.434 GB, free: 37 MB / 0.5887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001834/4.39, allocations: 361.5 kB / 1.434 GB, free: 36.6 MB / 0.5887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01822/4.408, allocations: 8.048 MB / 1.442 GB, free: 28.6 MB / 0.5887 GB Notification: Performance of collectPreVariables (initialization): time 0.004787/4.413, allocations: 341.7 kB / 1.442 GB, free: 28.26 MB / 0.5887 GB Notification: Performance of collectInitialEqns (initialization): time 0.004959/4.418, allocations: 4.987 MB / 1.447 GB, free: 23.27 MB / 0.5887 GB Notification: Performance of collectInitialBindings (initialization): time 0.01226/4.43, allocations: 6.126 MB / 1.453 GB, free: 17.19 MB / 0.5887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.007254/4.438, allocations: 392 kB / 1.453 GB, free: 16.8 MB / 0.5887 GB Notification: Performance of setup shared object (initialization): time 0.001878/4.44, allocations: 1.116 MB / 1.455 GB, free: 15.68 MB / 0.5887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03198/4.472, allocations: 10.58 MB / 1.465 GB, free: 5.098 MB / 0.5887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3794/4.851, allocations: 14.53 MB / 1.479 GB, free: 265.6 MB / 0.5887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04115/4.892, allocations: 13.12 MB / 1.492 GB, free: 262.9 MB / 0.5887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002393/4.893, allocations: 29 kB / 1.492 GB, free: 262.9 MB / 0.5887 GB Notification: Performance of matching and sorting (n=2483) (initialization): time 0.1038/4.996, allocations: 29.68 MB / 1.521 GB, free: 252.8 MB / 0.5887 GB Notification: Performance of prepare postOptimizeDAE: time 0.002769/4.999, allocations: 3.336 MB / 1.524 GB, free: 248.4 MB / 0.5887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004689/5, allocations: 105 kB / 1.524 GB, free: 248.4 MB / 0.5887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01036/5.01, allocations: 2.53 MB / 1.527 GB, free: 247.6 MB / 0.5887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.04391/5.054, allocations: 5.028 MB / 1.532 GB, free: 246.2 MB / 0.5887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03044/5.085, allocations: 39.48 MB / 1.57 GB, free: 206 MB / 0.5887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02695/5.112, allocations: 1.426 MB / 1.572 GB, free: 205 MB / 0.5887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006656/5.118, allocations: 1.3 MB / 1.573 GB, free: 203.7 MB / 0.5887 GB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/5.118, allocations: 4 kB / 1.573 GB, free: 203.7 MB / 0.5887 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.08991/5.208, allocations: 27.55 MB / 1.6 GB, free: 177.8 MB / 0.5887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003532/5.209, allocations: 104 kB / 1.6 GB, free: 177.7 MB / 0.5887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007993/5.217, allocations: 2.272 MB / 1.602 GB, free: 175.3 MB / 0.5887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.04225/5.259, allocations: 4.977 MB / 1.607 GB, free: 170.3 MB / 0.5887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02958/5.289, allocations: 38.64 MB / 1.645 GB, free: 129.4 MB / 0.5887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03196/5.321, allocations: 1.366 MB / 1.646 GB, free: 128.1 MB / 0.5887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.007526/5.328, allocations: 1.274 MB / 1.647 GB, free: 126.8 MB / 0.5887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 470 * Number of states: 0 () * Number of discrete variables: 4 (traceSubstance3.ind,traceSubstance4.ind,traceSubstance1.ind,traceSubstance2.ind) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2423): * Single equations (assignments): 2366 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 53 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 10 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 43 {1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,2 7,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.02277/5.351, allocations: 4.268 MB / 1.651 GB, free: 122.6 MB / 0.5887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00817/5.359, allocations: 1.157 MB / 1.653 GB, free: 122 MB / 0.5887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1087/5.468, allocations: 31.12 MB / 1.683 GB, free: 91.07 MB / 0.5887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.07104/5.539, allocations: 22.38 MB / 1.705 GB, free: 68.38 MB / 0.5887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001209/5.539, allocations: 4 kB / 1.705 GB, free: 68.38 MB / 0.5887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004882/5.544, allocations: 1.309 MB / 1.706 GB, free: 67.08 MB / 0.5887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008163/5.552, allocations: 471.8 kB / 1.707 GB, free: 66.62 MB / 0.5887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0214/5.574, allocations: 1.019 MB / 1.708 GB, free: 65.62 MB / 0.5887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005358/5.579, allocations: 1.176 MB / 1.709 GB, free: 64.45 MB / 0.5887 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.1118/5.691, allocations: 28.11 MB / 1.736 GB, free: 36.41 MB / 0.5887 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.4993/6.191, allocations: 38 MB / 1.773 GB, free: 239.2 MB / 0.5887 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0402/6.231, allocations: 11.65 MB / 1.785 GB, free: 239.1 MB / 0.5887 GB Notification: Performance of sorting global known variables: time 0.01962/6.251, allocations: 5.356 MB / 1.79 GB, free: 238.9 MB / 0.5887 GB Notification: Performance of Backend: time 1.673e-06/6.251, allocations: 0 / 1.79 GB, free: 238.9 MB / 0.5887 GB Notification: Performance of simCode: created initialization part: time 0.1793/6.43, allocations: 36.45 MB / 1.825 GB, free: 227.1 MB / 0.5887 GB Notification: Performance of SimCode: time 0.1045/6.534, allocations: 41.38 MB / 1.866 GB, free: 203.7 MB / 0.5887 GB Notification: Performance of Templates: time 1.95/8.484, allocations: 382.3 MB / 2.239 GB, free: 243.7 MB / 0.5888 GB