Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances.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.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.2_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002842/0.002842, allocations: 366.8 kB / 15.96 MB, free: 6.203 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.949/3.949, allocations: 388.9 MB / 405.6 MB, free: 10.24 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.003571/0.003571, allocations: 227.4 kB / 451 MB, free: 145 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.5536/0.5536, allocations: 80.02 MB / 0.5627 GB, free: 19.84 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004711/0.0004714, allocations: 8 kB / 0.6265 GB, free: 96.52 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09769/0.09819, allocations: 54.87 MB / 0.6801 GB, free: 41.64 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances): time 1.184/1.282, allocations: 307 MB / 0.9799 GB, free: 3.426 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.04203/1.325, allocations: 24.41 MB / 1.004 GB, free: 316 kB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003006/1.328, allocations: 79.53 kB / 1.004 GB, free: 316 kB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00387/1.332, allocations: 0.7657 MB / 1.005 GB, free: 16 kB / 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. [/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.02859/1.36, allocations: 6.544 MB / 1.011 GB, free: 11.96 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.02806/1.388, allocations: 7.09 MB / 1.018 GB, free: 6.391 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.01235/1.401, allocations: 7.448 MB / 1.025 GB, free: 15.67 MB / 0.4949 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003874/1.405, allocations: 1.601 MB / 1.027 GB, free: 14.09 MB / 0.4949 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01194/1.417, allocations: 3.621 MB / 1.03 GB, free: 10.73 MB / 0.4949 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007563/1.424, allocations: 2.793 MB / 1.033 GB, free: 8.148 MB / 0.4949 GB Notification: Performance of NFPackage.collectConstants: time 0.001099/1.425, allocations: 148 kB / 1.033 GB, free: 8.004 MB / 0.4949 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04411/1.469, allocations: 15.08 MB / 1.048 GB, free: 9.328 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.002614/1.472, allocations: 1.067 MB / 1.049 GB, free: 8.277 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.001408/1.474, allocations: 0.5161 MB / 1.049 GB, free: 7.754 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.02377/1.497, allocations: 8.361 MB / 1.058 GB, free: 15.88 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 9.198e-06/1.497, allocations: 4 kB / 1.058 GB, free: 15.87 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.276e-06/1.497, allocations: 0 / 1.058 GB, free: 15.87 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001417/1.498, allocations: 0 / 1.058 GB, free: 15.87 MB / 0.5261 GB 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.01825/1.516, allocations: 4.453 MB / 1.062 GB, free: 11.38 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.91e-05/1.516, allocations: 11.97 kB / 1.062 GB, free: 11.36 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00184/1.518, allocations: 277 kB / 1.062 GB, free: 11.09 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004605/1.522, allocations: 1.478 MB / 1.064 GB, free: 9.586 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002469/1.523, allocations: 141.7 kB / 1.064 GB, free: 9.457 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008626/1.524, allocations: 190.3 kB / 1.064 GB, free: 9.281 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01018/1.534, allocations: 3.149 MB / 1.067 GB, free: 6.113 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.771e-05/1.534, allocations: 4 kB / 1.067 GB, free: 6.109 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004369/1.534, allocations: 81.3 kB / 1.067 GB, free: 6.039 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004346/1.535, allocations: 187.7 kB / 1.067 GB, free: 5.855 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01162/1.546, allocations: 3.552 MB / 1.071 GB, free: 2.301 MB / 0.5261 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.03881/1.585, allocations: 12.46 MB / 1.083 GB, free: 5.07 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005974/1.591, allocations: 1.649 MB / 1.084 GB, free: 3.418 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003689/1.595, allocations: 1.067 MB / 1.086 GB, free: 2.352 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006958/1.602, allocations: 4.709 MB / 1.09 GB, free: 12.83 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.391e-05/1.602, allocations: 51.88 kB / 1.09 GB, free: 12.77 MB / 0.5574 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003243/1.605, allocations: 301.4 kB / 1.09 GB, free: 12.48 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=157): time 1.062e-05/1.606, allocations: 4 kB / 1.09 GB, free: 12.47 MB / 0.5574 GB Notification: Performance of matching and sorting (n=169): time 0.0518/1.657, allocations: 8.675 MB / 1.099 GB, free: 3.75 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001353/1.658, allocations: 209.9 kB / 1.099 GB, free: 3.504 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003957/1.662, allocations: 1.623 MB / 1.101 GB, free: 1.879 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 0.0006315/1.662, allocations: 57.7 kB / 1.101 GB, free: 1.816 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 0.001306/1.664, allocations: 1.025 MB / 1.102 GB, free: 0.7891 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 0.001226/1.665, allocations: 0.5935 MB / 1.102 GB, free: 204 kB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003877/1.665, allocations: 44 kB / 1.102 GB, free: 160 kB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 0.000303/1.666, allocations: 398.7 kB / 1.103 GB, free: 15.76 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004705/1.67, allocations: 1.215 MB / 1.104 GB, free: 14.54 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005824/1.676, allocations: 1.786 MB / 1.106 GB, free: 12.52 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005475/1.682, allocations: 1.504 MB / 1.107 GB, free: 11 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.071e-05/1.682, allocations: 7.984 kB / 1.107 GB, free: 10.99 MB / 0.573 GB Notification: Performance of matching and sorting (n=301) (initialization): time 0.01865/1.7, allocations: 4.061 MB / 1.111 GB, free: 6.906 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007222/1.701, allocations: 0.6117 MB / 1.112 GB, free: 6.066 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.666e-05/1.701, allocations: 15.94 kB / 1.112 GB, free: 6.051 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01625/1.717, allocations: 1.332 MB / 1.113 GB, free: 4.711 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006297/1.724, allocations: 0.5383 MB / 1.114 GB, free: 4.172 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007847/1.732, allocations: 2.138 MB / 1.116 GB, free: 1.988 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006124/1.738, allocations: 207.7 kB / 1.116 GB, free: 1.785 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001102/1.739, allocations: 175.9 kB / 1.116 GB, free: 1.613 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/1.739, allocations: 4 kB / 1.116 GB, free: 1.609 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.3776/2.117, allocations: 3.823 MB / 1.12 GB, free: 261.7 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.789e-05/2.117, allocations: 16.03 kB / 1.12 GB, free: 261.7 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01452/2.131, allocations: 0.9839 MB / 1.121 GB, free: 261.6 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006451/2.138, allocations: 0.5497 MB / 1.121 GB, free: 261.6 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006929/2.145, allocations: 1.92 MB / 1.123 GB, free: 260.6 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006068/2.151, allocations: 190.6 kB / 1.123 GB, free: 260.6 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001225/2.152, allocations: 177.3 kB / 1.124 GB, free: 260.6 MB / 0.573 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,4 15} Notification: Performance of prepare postOptimizeDAE: time 0.003175/2.156, allocations: 0.6504 MB / 1.124 GB, free: 260.3 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001131/2.157, allocations: 200.4 kB / 1.124 GB, free: 260.3 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02232/2.179, allocations: 4.051 MB / 1.128 GB, free: 258.9 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001181/2.179, allocations: 17.42 kB / 1.128 GB, free: 258.8 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.176e-05/2.179, allocations: 0 / 1.128 GB, free: 258.8 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001473/2.181, allocations: 309 kB / 1.129 GB, free: 258.7 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001712/2.183, allocations: 42.98 kB / 1.129 GB, free: 258.7 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004154/2.187, allocations: 146.7 kB / 1.129 GB, free: 258.7 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007797/2.188, allocations: 137.2 kB / 1.129 GB, free: 258.6 MB / 0.573 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01626/2.204, allocations: 3.253 MB / 1.132 GB, free: 257.6 MB / 0.573 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01385/2.218, allocations: 4.073 MB / 1.136 GB, free: 256 MB / 0.573 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003787/2.222, allocations: 1.167 MB / 1.137 GB, free: 255.6 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.002537/2.224, allocations: 1.104 MB / 1.138 GB, free: 255.2 MB / 0.573 GB Notification: Performance of Backend: time 8.52e-07/2.224, allocations: 0 / 1.138 GB, free: 255.2 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.03252/2.257, allocations: 8.013 MB / 1.146 GB, free: 253.4 MB / 0.573 GB Notification: Performance of SimCode: time 0.01334/2.27, allocations: 5.613 MB / 1.152 GB, free: 250.3 MB / 0.573 GB Notification: Performance of Templates: time 0.2474/2.518, allocations: 120 MB / 1.269 GB, free: 135.4 MB / 0.573 GB