Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipesWithTraceSubstances.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.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.2_ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipesWithTraceSubstances") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002655/0.002662, allocations: 365.5 kB / 15.96 MB, free: 6.18 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 4.088/4.088, allocations: 388.9 MB / 405.6 MB, free: 9.641 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.003563/0.003563, allocations: 221.7 kB / 451 MB, free: 144.9 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.5482/0.5482, allocations: 80.03 MB / 0.5627 GB, free: 19.73 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004897/0.0004898, allocations: 12 kB / 0.6265 GB, free: 96.48 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1066/0.1071, allocations: 54.88 MB / 0.6801 GB, free: 41.6 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipesWithTraceSubstances): time 1.312/1.42, allocations: 356.5 MB / 1.028 GB, free: 2.02 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.08271/1.502, allocations: 35.84 MB / 1.063 GB, free: 15.52 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007676/1.51, allocations: 218.1 kB / 1.063 GB, free: 15.31 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0081/1.518, allocations: 1.588 MB / 1.065 GB, free: 13.71 MB / 0.5261 GB [/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. [/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.03875/1.557, allocations: 9.287 MB / 1.074 GB, free: 4.414 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.04046/1.598, allocations: 10.57 MB / 1.084 GB, free: 9.855 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.5589/2.156, allocations: 29.23 MB / 1.113 GB, free: 8.773 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01625/2.173, allocations: 5.852 MB / 1.119 GB, free: 8.348 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03215/2.205, allocations: 10.32 MB / 1.129 GB, free: 8.301 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02787/2.233, allocations: 11.19 MB / 1.14 GB, free: 8.277 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.007042/2.24, allocations: 0.5829 MB / 1.14 GB, free: 8.277 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02972/2.27, allocations: 6.98 MB / 1.147 GB, free: 8.27 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.01541/2.285, allocations: 6.595 MB / 1.153 GB, free: 8.27 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.01057/2.296, allocations: 2.707 MB / 1.156 GB, free: 8.238 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.03535/2.331, allocations: 18.98 MB / 1.175 GB, free: 1.535 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/2.331, allocations: 0.5469 kB / 1.175 GB, free: 1.535 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.755e-06/2.331, allocations: 0 / 1.175 GB, free: 1.535 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0008691/2.332, allocations: 0 / 1.175 GB, free: 1.535 MB / 0.5573 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.1023/2.435, allocations: 16.42 MB / 1.191 GB, free: 6.27 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 7.622e-05/2.435, allocations: 10.19 kB / 1.191 GB, free: 6.262 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03111/2.466, allocations: 2.182 MB / 1.193 GB, free: 4.188 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0265/2.492, allocations: 6.928 MB / 1.2 GB, free: 15.14 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001728/2.494, allocations: 0.8753 MB / 1.2 GB, free: 14.64 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007349/2.502, allocations: 1.131 MB / 1.202 GB, free: 13.88 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07747/2.579, allocations: 22.73 MB / 1.224 GB, free: 13.7 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008222/2.58, allocations: 39.98 kB / 1.224 GB, free: 13.68 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006572/2.587, allocations: 465.2 kB / 1.224 GB, free: 13.57 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00364/2.59, allocations: 1.859 MB / 1.226 GB, free: 11.95 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07682/2.667, allocations: 22.66 MB / 1.248 GB, free: 12.6 MB / 0.6198 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.2299/2.897, allocations: 83.95 MB / 1.33 GB, free: 4.086 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.05636/2.953, allocations: 21.53 MB / 1.351 GB, free: 4.723 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.6989/3.652, allocations: 10.78 MB / 1.362 GB, free: 353.2 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006597/3.659, allocations: 3.77 MB / 1.365 GB, free: 350.2 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003579/3.659, allocations: 216.2 kB / 1.366 GB, free: 350.1 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01152/3.671, allocations: 1.414 MB / 1.367 GB, free: 350 MB / 0.698 GB Notification: Performance of pre-optimization done (n=1487): time 9.674e-05/3.671, allocations: 0 / 1.367 GB, free: 350 MB / 0.698 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.8957/4.567, allocations: 143.2 MB / 1.507 GB, free: 250 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001733/4.567, allocations: 357.5 kB / 1.507 GB, free: 249.6 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01836/4.585, allocations: 8.041 MB / 1.515 GB, free: 241.7 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.004603/4.59, allocations: 349.7 kB / 1.515 GB, free: 241.3 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.004787/4.595, allocations: 4.993 MB / 1.52 GB, free: 236.3 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.009188/4.604, allocations: 6.119 MB / 1.526 GB, free: 230.2 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005214/4.609, allocations: 388 kB / 1.527 GB, free: 229.9 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.001734/4.611, allocations: 1.116 MB / 1.528 GB, free: 228.7 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03105/4.642, allocations: 10.58 MB / 1.538 GB, free: 218.1 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03548/4.678, allocations: 14.53 MB / 1.552 GB, free: 202.2 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03569/4.714, allocations: 13.12 MB / 1.565 GB, free: 189 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001213/4.714, allocations: 28 kB / 1.565 GB, free: 189 MB / 0.698 GB Notification: Performance of matching and sorting (n=2483) (initialization): time 0.09293/4.807, allocations: 29.69 MB / 1.594 GB, free: 159 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.002157/4.809, allocations: 3.34 MB / 1.597 GB, free: 154.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002895/4.809, allocations: 103.9 kB / 1.597 GB, free: 154.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009836/4.819, allocations: 2.53 MB / 1.6 GB, free: 151.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.04287/4.862, allocations: 5.032 MB / 1.605 GB, free: 146.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02961/4.892, allocations: 39.49 MB / 1.643 GB, free: 104.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02607/4.918, allocations: 1.431 MB / 1.645 GB, free: 103 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.007295/4.925, allocations: 1.3 MB / 1.646 GB, free: 101.7 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/4.925, allocations: 4 kB / 1.646 GB, free: 101.7 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1035/5.029, allocations: 27.55 MB / 1.673 GB, free: 73.86 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002722/5.029, allocations: 104 kB / 1.673 GB, free: 73.76 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00749/5.036, allocations: 2.269 MB / 1.675 GB, free: 71.33 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.04125/5.078, allocations: 4.977 MB / 1.68 GB, free: 66.34 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03788/5.116, allocations: 38.65 MB / 1.718 GB, free: 25.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02398/5.14, allocations: 1.372 MB / 1.719 GB, free: 23.93 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006631/5.146, allocations: 1.273 MB / 1.72 GB, free: 22.65 MB / 0.698 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.01775/5.164, allocations: 4.254 MB / 1.725 GB, free: 18.38 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006965/5.171, allocations: 1.162 MB / 1.726 GB, free: 17.21 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.5373/5.709, allocations: 31.12 MB / 1.756 GB, free: 317.8 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.07879/5.787, allocations: 22.4 MB / 1.778 GB, free: 312 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001107/5.788, allocations: 0 / 1.778 GB, free: 312 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005076/5.793, allocations: 1.296 MB / 1.779 GB, free: 311.8 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008311/5.801, allocations: 475.9 kB / 1.78 GB, free: 311.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02133/5.822, allocations: 1.014 MB / 1.781 GB, free: 311.3 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005553/5.828, allocations: 1.173 MB / 1.782 GB, free: 311.2 MB / 0.698 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.1152/5.943, allocations: 28.12 MB / 1.809 GB, free: 302.9 MB / 0.698 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.1146/6.058, allocations: 38.01 MB / 1.846 GB, free: 278.2 MB / 0.698 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.02923/6.087, allocations: 11.64 MB / 1.858 GB, free: 266.6 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.01411/6.101, allocations: 5.354 MB / 1.863 GB, free: 261.3 MB / 0.698 GB Notification: Performance of Backend: time 1.252e-06/6.101, allocations: 5.312 kB / 1.863 GB, free: 261.3 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.1213/6.223, allocations: 36.42 MB / 1.899 GB, free: 225.5 MB / 0.698 GB Notification: Performance of SimCode: time 0.09143/6.314, allocations: 41.41 MB / 1.939 GB, free: 184.8 MB / 0.698 GB Notification: Performance of Templates: time 1.31/7.624, allocations: 382.3 MB / 2.312 GB, free: 106.2 MB / 0.698 GB