Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances.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.TestMultiPortTraceSubstances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume1.mC_scaled.1.|volume1.medium.T|volume1.medium.Xi.1.|volume1.medium.p|volume2.mC_scaled.1.|volume2.medium.T|volume2.medium.Xi.1.|volume2.medium.p|volume3.mC_scaled.1.|volume3.medium.T|volume3.medium.Xi.1.|volume3.medium.p",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.003755/0.00376, allocations: 348.4 kB / 15.94 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.526/3.526, 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.003561/0.003561, allocations: 225.2 kB / 397.9 MB, free: 4.902 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.512/0.512, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004514/0.0004516, allocations: 8 kB / 0.5592 GB, free: 53.47 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08448/0.08496, allocations: 48.71 MB / 0.6067 GB, free: 4.648 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances): time 1.254/1.339, allocations: 323.8 MB / 0.9229 GB, free: 8.246 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.6693/2.009, allocations: 29.32 MB / 0.9516 GB, free: 3.988 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004178/2.013, allocations: 98.53 kB / 0.9517 GB, free: 3.988 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004701/2.018, allocations: 0.9246 MB / 0.9526 GB, free: 3.984 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. Notification: Performance of NFTyping.typeBindings: time 0.03824/2.056, allocations: 9.069 MB / 0.9614 GB, free: 3.879 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.02682/2.083, allocations: 6.392 MB / 0.9677 GB, free: 3.777 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.01724/2.1, allocations: 10.4 MB / 0.9778 GB, free: 3.773 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00631/2.107, allocations: 2.036 MB / 0.9798 GB, free: 3.523 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02215/2.129, allocations: 5.794 MB / 0.9855 GB, free: 2.328 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009968/2.139, allocations: 3.777 MB / 0.9892 GB, free: 1.492 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002115/2.141, allocations: 200.9 kB / 0.9894 GB, free: 1.492 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.04683/2.188, allocations: 15.56 MB / 1.005 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.004336/2.192, allocations: 1.606 MB / 1.006 GB, free: 12.99 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.002918/2.195, allocations: 0.6959 MB / 1.007 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.02864/2.224, allocations: 9.658 MB / 1.016 GB, free: 4.812 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 7.354e-06/2.224, allocations: 7.844 kB / 1.016 GB, free: 4.809 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.837e-06/2.224, allocations: 0 / 1.016 GB, free: 4.809 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0002011/2.224, allocations: 0 / 1.016 GB, free: 4.809 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 752 * Number of variables: 752 Notification: Performance of Generate backend data structure: time 0.0323/2.256, allocations: 5.492 MB / 1.022 GB, free: 15.57 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.983e-05/2.257, allocations: 16.03 kB / 1.022 GB, free: 15.55 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002569/2.259, allocations: 394.6 kB / 1.022 GB, free: 15.17 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006402/2.266, allocations: 1.899 MB / 1.024 GB, free: 13.75 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008057/2.266, allocations: 0.4945 MB / 1.024 GB, free: 13.3 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001625/2.268, allocations: 293.5 kB / 1.025 GB, free: 13.11 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0163/2.284, allocations: 4.951 MB / 1.029 GB, free: 9.398 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001659/2.285, allocations: 7.469 kB / 1.029 GB, free: 9.395 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001163/2.286, allocations: 123.6 kB / 1.03 GB, free: 9.363 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006345/2.287, allocations: 280.2 kB / 1.03 GB, free: 9.121 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01724/2.304, allocations: 5.109 MB / 1.035 GB, free: 5.637 MB / 0.5105 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.05423/2.358, allocations: 21 MB / 1.055 GB, free: 3.406 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008804/2.367, allocations: 2.625 MB / 1.058 GB, free: 1.715 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005207/2.372, allocations: 1.578 MB / 1.059 GB, free: 0.7188 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008569/2.381, allocations: 6.347 MB / 1.066 GB, free: 9.465 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001128/2.381, allocations: 63.06 kB / 1.066 GB, free: 9.41 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=235): time 5.901e-06/2.381, allocations: 0 / 1.066 GB, free: 9.41 MB / 0.5417 GB Notification: Performance of matching and sorting (n=271): time 0.112/2.493, allocations: 15.92 MB / 1.081 GB, free: 12.8 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001664/2.493, allocations: 235.8 kB / 1.081 GB, free: 12.52 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005262/2.498, allocations: 2.271 MB / 1.084 GB, free: 10.82 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0009765/2.5, allocations: 81.58 kB / 1.084 GB, free: 10.77 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.00179/2.501, allocations: 1.477 MB / 1.085 GB, free: 9.73 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001977/2.503, allocations: 0.9566 MB / 1.086 GB, free: 8.914 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005473/2.504, allocations: 89.94 kB / 1.086 GB, free: 8.891 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0004309/2.504, allocations: 470.4 kB / 1.087 GB, free: 8.484 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007894/2.512, allocations: 1.971 MB / 1.089 GB, free: 7.164 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00985/2.522, allocations: 3.284 MB / 1.092 GB, free: 4.059 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00934/2.532, allocations: 2.541 MB / 1.094 GB, free: 2.391 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.914e-05/2.532, allocations: 12 kB / 1.094 GB, free: 2.379 MB / 0.5573 GB Notification: Performance of matching and sorting (n=514) (initialization): time 0.02512/2.557, allocations: 6.189 MB / 1.1 GB, free: 14.08 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.001522/2.558, allocations: 1.388 MB / 1.102 GB, free: 12.26 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001348/2.559, allocations: 44 kB / 1.102 GB, free: 12.21 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009148/2.568, allocations: 0.9848 MB / 1.103 GB, free: 11.38 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007846/2.576, allocations: 0.9339 MB / 1.104 GB, free: 10.54 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008837/2.585, allocations: 2.798 MB / 1.106 GB, free: 8.055 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007161/2.592, allocations: 387.4 kB / 1.107 GB, free: 7.742 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001294/2.593, allocations: 281.8 kB / 1.107 GB, free: 7.504 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/2.593, allocations: 4 kB / 1.107 GB, free: 7.5 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02222/2.615, allocations: 5.829 MB / 1.113 GB, free: 3.598 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001367/2.616, allocations: 40.22 kB / 1.113 GB, free: 3.559 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008855/2.624, allocations: 0.9799 MB / 1.114 GB, free: 2.719 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007635/2.632, allocations: 0.9341 MB / 1.115 GB, free: 1.887 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008286/2.64, allocations: 2.785 MB / 1.117 GB, free: 15.41 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006509/2.647, allocations: 382.5 kB / 1.118 GB, free: 15.1 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001065/2.648, allocations: 279.4 kB / 1.118 GB, free: 14.86 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 183 * Number of states: 0 () * Number of discrete variables: 22 (traceSubstance1.ind,traceSubstance2.ind,traceSubstance3.ind,traceSubstance.ind,volume1.regularFlow[1],volume1.regularFlow[2],volume1.regularFlow[3],volume2.regularFlow[1],volume2.regularFlow[2],volume2.regularFlow[3],volume3.regularFlow[1],volume3.regularFlow[2],volume3.regularFlow[3],volume3.inFlow[3],volume3.inFlow[2],volume3.inFlow[1],volume2.inFlow[3],volume2.inFlow[2],volume2.inFlow[1],volume1.inFlow[3],volume1.inFlow[2],volume1.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (493): * Single equations (assignments): 486 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 6,2 6,2 6} Notification: Performance of prepare postOptimizeDAE: time 0.003111/2.651, allocations: 0.9859 MB / 1.119 GB, free: 14.23 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001038/2.652, allocations: 288.5 kB / 1.119 GB, free: 13.95 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02316/2.675, allocations: 6.117 MB / 1.125 GB, free: 9.707 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.181e-05/2.676, allocations: 15.95 kB / 1.125 GB, free: 9.691 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.111e-05/2.676, allocations: 0 / 1.125 GB, free: 9.691 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003179/2.679, allocations: 0.8407 MB / 1.126 GB, free: 9.059 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001235/2.68, allocations: 71.8 kB / 1.126 GB, free: 9.035 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005104/2.685, allocations: 269.3 kB / 1.126 GB, free: 8.812 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008334/2.686, allocations: 224.7 kB / 1.127 GB, free: 8.617 MB / 0.5886 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.03002/2.716, allocations: 5.657 MB / 1.132 GB, free: 4.406 MB / 0.5886 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0311/2.747, allocations: 7.093 MB / 1.139 GB, free: 15.51 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.009377/2.757, allocations: 2.137 MB / 1.141 GB, free: 14.11 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.005097/2.762, allocations: 1.467 MB / 1.143 GB, free: 13.04 MB / 0.6042 GB Notification: Performance of Backend: time 1.403e-06/2.762, allocations: 0 / 1.143 GB, free: 13.04 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.05773/2.82, allocations: 10.86 MB / 1.153 GB, free: 4.469 MB / 0.6042 GB Notification: Performance of SimCode: time 0.02228/2.842, allocations: 7.948 MB / 1.161 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of Templates: time 0.6874/3.529, allocations: 146.5 MB / 1.304 GB, free: 224.2 MB / 0.6198 GB