Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances.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.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.2_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002743/0.002747, allocations: 363 kB / 15.95 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 4.054/4.054, allocations: 388.9 MB / 405.6 MB, free: 47.89 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.005224/0.005224, allocations: 224.7 kB / 451 MB, free: 2.375 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.8942/0.8942, allocations: 80.01 MB / 0.5627 GB, free: 5.969 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006352/0.0006354, allocations: 12 kB / 0.6265 GB, free: 4.543 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1737/0.1743, allocations: 54.89 MB / 0.6801 GB, free: 13.52 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.69/11.87, allocations: 3.674 GB / 4.354 GB, free: 112 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004874/11.87, allocations: 93.97 kB / 4.354 GB, free: 111.9 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 10.62/22.49, allocations: 1.619 GB / 5.973 GB, free: 28.33 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.945e-06/22.49, allocations: 3.281 kB / 5.973 GB, free: 28.33 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.0004227/22.49, allocations: 83.94 kB / 5.973 GB, free: 28.32 MB / 0.573 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.0468/22.53, allocations: 9.057 MB / 5.982 GB, free: 23.71 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.88e-05/22.53, allocations: 14.02 kB / 5.982 GB, free: 23.71 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003619/22.54, allocations: 401.3 kB / 5.982 GB, free: 23.54 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009286/22.55, allocations: 2.148 MB / 5.985 GB, free: 23.06 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008463/22.55, allocations: 0.4979 MB / 5.985 GB, free: 22.77 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002149/22.55, allocations: 288 kB / 5.985 GB, free: 22.77 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01864/22.57, allocations: 4.936 MB / 5.99 GB, free: 22.05 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000153/22.57, allocations: 10.16 kB / 5.99 GB, free: 22.05 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001248/22.57, allocations: 123.6 kB / 5.99 GB, free: 22.05 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005278/22.57, allocations: 260.3 kB / 5.991 GB, free: 22.05 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01764/22.59, allocations: 5.013 MB / 5.995 GB, free: 22.02 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05419/22.64, allocations: 20.47 MB / 6.015 GB, free: 11.94 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008477/22.65, allocations: 2.577 MB / 6.018 GB, free: 11.91 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00491/22.66, allocations: 1.553 MB / 6.019 GB, free: 11.89 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007607/22.66, allocations: 6.356 MB / 6.026 GB, free: 5.863 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001256/22.66, allocations: 68.14 kB / 6.026 GB, free: 5.82 MB / 0.573 GB Notification: Performance of pre-optimization done (n=235): time 6.312e-06/22.66, allocations: 0 / 6.026 GB, free: 5.82 MB / 0.573 GB Notification: Performance of matching and sorting (n=271): time 0.1135/22.78, allocations: 16.42 MB / 6.042 GB, free: 20.52 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001973/22.78, allocations: 236.5 kB / 6.042 GB, free: 20.27 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00493/22.78, allocations: 2.271 MB / 6.044 GB, free: 19.99 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.001168/22.78, allocations: 80.95 kB / 6.044 GB, free: 19.96 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.001451/22.79, allocations: 1.47 MB / 6.046 GB, free: 19.25 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.00184/22.79, allocations: 0.9632 MB / 6.047 GB, free: 18.65 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005712/22.79, allocations: 81.16 kB / 6.047 GB, free: 18.65 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0003825/22.79, allocations: 467.4 kB / 6.047 GB, free: 18.34 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007104/22.8, allocations: 1.943 MB / 6.049 GB, free: 18.33 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008622/22.8, allocations: 3.216 MB / 6.052 GB, free: 16.85 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008704/22.81, allocations: 2.499 MB / 6.055 GB, free: 16.64 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.224e-05/22.81, allocations: 17.69 kB / 6.055 GB, free: 16.64 MB / 0.5886 GB Notification: Performance of matching and sorting (n=508) (initialization): time 0.02327/22.84, allocations: 6.119 MB / 6.061 GB, free: 15.98 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.001065/22.84, allocations: 1.355 MB / 6.062 GB, free: 14.33 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.875e-05/22.84, allocations: 36.59 kB / 6.062 GB, free: 14.33 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008278/22.85, allocations: 0.9835 MB / 6.063 GB, free: 14.28 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007842/22.85, allocations: 0.9343 MB / 6.064 GB, free: 14.21 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007958/22.86, allocations: 2.795 MB / 6.067 GB, free: 12.39 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00815/22.87, allocations: 379.3 kB / 6.067 GB, free: 12.3 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001985/22.87, allocations: 282.7 kB / 6.067 GB, free: 12.27 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/22.87, allocations: 10.88 kB / 6.067 GB, free: 12.26 MB / 0.5886 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02416/22.9, allocations: 5.751 MB / 6.073 GB, free: 10 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001401/22.9, allocations: 39.81 kB / 6.073 GB, free: 10 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008177/22.9, allocations: 0.9863 MB / 6.074 GB, free: 9.793 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007671/22.91, allocations: 0.9267 MB / 6.075 GB, free: 9.691 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007873/22.92, allocations: 2.795 MB / 6.077 GB, free: 7.723 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007484/22.93, allocations: 376.8 kB / 6.078 GB, free: 7.625 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001733/22.93, allocations: 292.1 kB / 6.078 GB, free: 7.578 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 177 * 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 (487): * Single equations (assignments): 480 * 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.004242/22.93, allocations: 0.9725 MB / 6.079 GB, free: 7.008 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001267/22.94, allocations: 292.7 kB / 6.079 GB, free: 6.863 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02754/22.96, allocations: 6.066 MB / 6.085 GB, free: 4.598 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.999e-05/22.96, allocations: 34.92 kB / 6.085 GB, free: 4.598 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.408e-05/22.96, allocations: 0 / 6.085 GB, free: 4.598 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001419/22.96, allocations: 17.06 kB / 6.085 GB, free: 4.598 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03546/23, allocations: 8.863 MB / 6.094 GB, free: 15.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.958e-05/23, allocations: 0 / 6.094 GB, free: 15.52 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005857/23, allocations: 0.5793 MB / 6.095 GB, free: 15.02 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0106/23.02, allocations: 1.16 MB / 6.096 GB, free: 14.18 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001263/23.02, allocations: 122.3 kB / 6.096 GB, free: 14.08 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007245/23.02, allocations: 2.68 MB / 6.098 GB, free: 11.52 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.16e-05/23.02, allocations: 7.969 kB / 6.098 GB, free: 11.51 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02853/23.05, allocations: 7.251 MB / 6.106 GB, free: 5.074 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00406/23.06, allocations: 0.8331 MB / 6.106 GB, free: 4.355 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001569/23.06, allocations: 75.69 kB / 6.106 GB, free: 4.285 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006127/23.06, allocations: 273.5 kB / 6.107 GB, free: 4.078 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001208/23.07, allocations: 215.5 kB / 6.107 GB, free: 3.941 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009371/23.07, allocations: 180.2 kB / 6.107 GB, free: 3.793 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.00414/23.07, allocations: 1.473 MB / 6.108 GB, free: 2.551 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.333e-06/23.07, allocations: 0 / 6.108 GB, free: 2.551 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.02411/23.1, allocations: 4.242 MB / 6.113 GB, free: 14.42 MB / 0.6199 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 12 (volume1.medium.p,volume1.medium.Xi[1],volume1.medium.T,volume1.mC_scaled[1],volume2.medium.p,volume2.medium.Xi[1],volume2.medium.T,volume2.mC_scaled[1],volume3.medium.p,volume3.medium.Xi[1],volume3.medium.T,volume3.mC_scaled[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (297): * Single equations (assignments): 285 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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 Backend phase and start with SimCode phase: time 0.02497/23.12, allocations: 5.162 MB / 6.118 GB, free: 10.46 MB / 0.6199 GB Notification: Performance of simCode: created initialization part: time 0.03067/23.15, allocations: 8.23 MB / 6.126 GB, free: 3.152 MB / 0.6199 GB Notification: Performance of simCode: created event and clocks part: time 1.407e-05/23.15, allocations: 4.562 kB / 6.126 GB, free: 3.148 MB / 0.6199 GB Notification: Performance of simCode: created simulation system equations: time 0.009291/23.16, allocations: 2.349 MB / 6.128 GB, free: 1.109 MB / 0.6199 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01341/23.17, allocations: 1.26 MB / 6.129 GB, free: 184 kB / 0.6199 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6253/23.8, allocations: 9.738 MB / 6.139 GB, free: 64.32 MB / 0.6199 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00312/23.8, allocations: 2.29 MB / 6.141 GB, free: 63.55 MB / 0.6199 GB Notification: Performance of simCode: alias equations: time 0.0151/23.82, allocations: 2.231 MB / 6.143 GB, free: 63.52 MB / 0.6199 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003134/23.82, allocations: 392 kB / 6.144 GB, free: 63.52 MB / 0.6199 GB Notification: Performance of SimCode: time 3.627e-06/23.82, allocations: 0 / 6.144 GB, free: 63.52 MB / 0.6199 GB Notification: Performance of Templates: time 0.3066/24.13, allocations: 131.7 MB / 6.272 GB, free: 51.15 MB / 0.6199 GB