Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances.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.Fittings.TestJunctionTraceSubstances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|junction1.mC_scaled.1.|junction1.medium.T|junction1.medium.Xi.1.|junction1.medium.p",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002663/0.002668, allocations: 349 kB / 15.94 MB, free: 6.199 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.752/3.752, allocations: 341.5 MB / 358.2 MB, free: 12.56 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.003723/0.003723, allocations: 224.5 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.6282/0.6282, allocations: 76.1 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007468/0.0007471, allocations: 12 kB / 0.5592 GB, free: 53.46 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1196/0.1204, allocations: 48.71 MB / 0.6068 GB, free: 4.633 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances): time 1.186/1.307, allocations: 306.4 MB / 0.9059 GB, free: 9.602 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.05852/1.365, allocations: 24.29 MB / 0.9297 GB, free: 1.285 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003613/1.369, allocations: 75.38 kB / 0.9297 GB, free: 1.211 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004764/1.374, allocations: 0.7413 MB / 0.9305 GB, free: 476 kB / 474.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. [/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.03505/1.409, allocations: 6.52 MB / 0.9368 GB, free: 9.945 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.03454/1.444, allocations: 7.071 MB / 0.9437 GB, free: 2.898 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.4667/1.91, allocations: 7.411 MB / 0.951 GB, free: 7.551 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004772/1.915, allocations: 1.597 MB / 0.9525 GB, free: 7.41 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01384/1.929, allocations: 3.609 MB / 0.9561 GB, free: 7.379 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0105/1.94, allocations: 2.789 MB / 0.9588 GB, free: 7.367 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001759/1.941, allocations: 141.2 kB / 0.9589 GB, free: 7.367 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.04242/1.984, allocations: 14.93 MB / 0.9735 GB, free: 7.355 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003241/1.987, allocations: 1.06 MB / 0.9745 GB, free: 7.355 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002256/1.989, allocations: 0.5065 MB / 0.975 GB, free: 7.324 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02278/2.012, allocations: 8.376 MB / 0.9832 GB, free: 6.25 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.314e-06/2.012, allocations: 0 / 0.9832 GB, free: 6.25 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.397e-06/2.012, allocations: 0 / 0.9832 GB, free: 6.25 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001517/2.013, allocations: 0 / 0.9832 GB, free: 6.25 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: 498 * Number of variables: 498 Notification: Performance of Generate backend data structure: time 0.01841/2.031, allocations: 4.441 MB / 0.9875 GB, free: 3.523 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.106e-05/2.031, allocations: 8.5 kB / 0.9875 GB, free: 3.523 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002326/2.033, allocations: 282.4 kB / 0.9878 GB, free: 3.391 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004598/2.038, allocations: 1.474 MB / 0.9893 GB, free: 2.707 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002396/2.038, allocations: 143.9 kB / 0.9894 GB, free: 2.703 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009817/2.039, allocations: 185.9 kB / 0.9896 GB, free: 2.703 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01027/2.05, allocations: 3.151 MB / 0.9926 GB, free: 1.867 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.654e-05/2.05, allocations: 0 / 0.9926 GB, free: 1.867 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006058/2.05, allocations: 85.83 kB / 0.9927 GB, free: 1.863 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003813/2.051, allocations: 186.6 kB / 0.9929 GB, free: 1.828 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01132/2.062, allocations: 3.547 MB / 0.9964 GB, free: 1.23 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.03801/2.1, allocations: 12.08 MB / 1.008 GB, free: 9.645 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005868/2.106, allocations: 1.658 MB / 1.01 GB, free: 8.559 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003535/2.11, allocations: 1.07 MB / 1.011 GB, free: 7.887 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006538/2.116, allocations: 4.708 MB / 1.015 GB, free: 2.582 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.203e-05/2.116, allocations: 54.28 kB / 1.015 GB, free: 2.535 MB / 0.4948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003303/2.12, allocations: 301.7 kB / 1.016 GB, free: 2.281 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=157): time 1.425e-05/2.12, allocations: 0 / 1.016 GB, free: 2.281 MB / 0.4948 GB Notification: Performance of matching and sorting (n=169): time 0.05382/2.174, allocations: 8.668 MB / 1.024 GB, free: 11.68 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000117/2.174, allocations: 205.9 kB / 1.024 GB, free: 11.44 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003943/2.178, allocations: 1.626 MB / 1.026 GB, free: 10.25 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0007388/2.179, allocations: 57.08 kB / 1.026 GB, free: 10.21 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001204/2.18, allocations: 1.026 MB / 1.027 GB, free: 9.508 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001271/2.181, allocations: 0.5902 MB / 1.028 GB, free: 9.004 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004408/2.182, allocations: 47.69 kB / 1.028 GB, free: 8.992 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0003047/2.182, allocations: 406.4 kB / 1.028 GB, free: 8.633 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004895/2.187, allocations: 1.205 MB / 1.029 GB, free: 7.84 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005513/2.192, allocations: 1.789 MB / 1.031 GB, free: 6.289 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00556/2.198, allocations: 1.503 MB / 1.032 GB, free: 5.34 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.796e-05/2.198, allocations: 4 kB / 1.032 GB, free: 5.336 MB / 0.5105 GB Notification: Performance of matching and sorting (n=301) (initialization): time 0.01933/2.217, allocations: 4.061 MB / 1.036 GB, free: 2.445 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005815/2.218, allocations: 0.6116 MB / 1.037 GB, free: 1.668 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.628e-05/2.218, allocations: 12 kB / 1.037 GB, free: 1.656 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01433/2.232, allocations: 1.33 MB / 1.038 GB, free: 464 kB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005033/2.237, allocations: 0.5511 MB / 1.039 GB, free: 15.96 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00579/2.243, allocations: 2.139 MB / 1.041 GB, free: 14.13 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005106/2.248, allocations: 210.2 kB / 1.041 GB, free: 13.97 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00117/2.25, allocations: 181.1 kB / 1.041 GB, free: 13.82 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/2.25, allocations: 8 kB / 1.041 GB, free: 13.81 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02008/2.27, allocations: 3.821 MB / 1.045 GB, free: 11.15 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.736e-05/2.27, allocations: 17.02 kB / 1.045 GB, free: 11.13 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0104/2.28, allocations: 0.9746 MB / 1.046 GB, free: 10.26 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005027/2.286, allocations: 0.5498 MB / 1.047 GB, free: 9.766 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004883/2.29, allocations: 1.917 MB / 1.048 GB, free: 8.09 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004607/2.295, allocations: 191.4 kB / 1.049 GB, free: 7.941 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001104/2.296, allocations: 176.7 kB / 1.049 GB, free: 7.789 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * Number of states: 0 () * Number of discrete variables: 2 (traceSubstance2.ind,traceSubstance.ind) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (276): * Single equations (assignments): 272 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 6,5 14} Notification: Performance of prepare postOptimizeDAE: time 0.002641/2.299, allocations: 0.6502 MB / 1.049 GB, free: 7.359 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008621/2.3, allocations: 205.5 kB / 1.05 GB, free: 7.156 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.017/2.317, allocations: 4.045 MB / 1.054 GB, free: 4.395 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.21e-05/2.317, allocations: 7.969 kB / 1.054 GB, free: 4.387 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.169e-05/2.317, allocations: 3.984 kB / 1.054 GB, free: 4.383 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001189/2.318, allocations: 321 kB / 1.054 GB, free: 4.082 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001282/2.32, allocations: 35.06 kB / 1.054 GB, free: 4.074 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003788/2.323, allocations: 146.8 kB / 1.054 GB, free: 3.957 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007919/2.324, allocations: 134.4 kB / 1.054 GB, free: 3.84 MB / 0.5261 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0169/2.341, allocations: 3.253 MB / 1.057 GB, free: 1.457 MB / 0.5261 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01448/2.356, allocations: 4.063 MB / 1.061 GB, free: 14.62 MB / 0.5417 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003949/2.36, allocations: 1.171 MB / 1.063 GB, free: 13.84 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.002883/2.363, allocations: 1.103 MB / 1.064 GB, free: 13.06 MB / 0.5417 GB Notification: Performance of Backend: time 3.026e-06/2.363, allocations: 0 / 1.064 GB, free: 13.06 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.03762/2.4, allocations: 8.028 MB / 1.071 GB, free: 6.621 MB / 0.5417 GB Notification: Performance of SimCode: time 0.01481/2.415, allocations: 5.632 MB / 1.077 GB, free: 1.406 MB / 0.5417 GB Notification: Performance of Templates: time 0.6279/3.043, allocations: 119.9 MB / 1.194 GB, free: 338 MB / 0.6355 GB