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.002845/0.00285, allocations: 346.1 kB / 15.93 MB, free: 6.219 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.872/3.872, allocations: 341.5 MB / 358.2 MB, free: 12.62 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.003584/0.003584, allocations: 225.3 kB / 397.9 MB, free: 4.969 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.5417/0.5417, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006973/0.0006977, allocations: 12 kB / 0.5592 GB, free: 53.47 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09914/0.09987, allocations: 48.7 MB / 0.6067 GB, free: 4.66 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.94/12.04, allocations: 3.667 GB / 4.274 GB, free: 71.6 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002936/12.04, allocations: 92.59 kB / 4.274 GB, free: 71.55 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 10.77/22.8, allocations: 1.607 GB / 5.881 GB, free: 25.34 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.414e-06/22.8, allocations: 0 / 5.881 GB, free: 25.34 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0003926/22.8, allocations: 84.75 kB / 5.882 GB, free: 25.33 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: 752 * Number of variables: 752 Notification: Performance of Generate backend data structure: time 0.04487/22.85, allocations: 9.057 MB / 5.89 GB, free: 20.66 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/22.85, allocations: 13.03 kB / 5.89 GB, free: 20.66 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003578/22.85, allocations: 394.1 kB / 5.891 GB, free: 20.48 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0091/22.86, allocations: 2.148 MB / 5.893 GB, free: 20.01 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007474/22.86, allocations: 0.5083 MB / 5.893 GB, free: 19.72 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002007/22.86, allocations: 278.9 kB / 5.894 GB, free: 19.72 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01804/22.88, allocations: 4.934 MB / 5.898 GB, free: 19 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002089/22.88, allocations: 17.34 kB / 5.898 GB, free: 19 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001829/22.88, allocations: 126.9 kB / 5.899 GB, free: 19 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005686/22.88, allocations: 259.6 kB / 5.899 GB, free: 18.99 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01754/22.9, allocations: 5.009 MB / 5.904 GB, free: 18.96 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05429/22.96, allocations: 19.84 MB / 5.923 GB, free: 9.613 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008616/22.97, allocations: 2.582 MB / 5.926 GB, free: 9.57 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004962/22.97, allocations: 1.548 MB / 5.927 GB, free: 9.559 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007461/22.98, allocations: 6.356 MB / 5.933 GB, free: 3.531 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001103/22.98, allocations: 62.19 kB / 5.933 GB, free: 3.492 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=235): time 6.472e-06/22.98, allocations: 2.844 kB / 5.933 GB, free: 3.492 MB / 0.5261 GB Notification: Performance of matching and sorting (n=271): time 0.1143/23.09, allocations: 16.43 MB / 5.949 GB, free: 18.15 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000207/23.09, allocations: 234.5 kB / 5.95 GB, free: 17.9 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005374/23.1, allocations: 2.276 MB / 5.952 GB, free: 17.62 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.001153/23.1, allocations: 79.23 kB / 5.952 GB, free: 17.59 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.001681/23.1, allocations: 1.463 MB / 5.953 GB, free: 16.88 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.002181/23.1, allocations: 0.9632 MB / 5.954 GB, free: 16.28 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001206/23.1, allocations: 81.75 kB / 5.954 GB, free: 16.28 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.000604/23.1, allocations: 462.4 kB / 5.955 GB, free: 15.97 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007981/23.11, allocations: 1.942 MB / 5.957 GB, free: 15.96 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008918/23.12, allocations: 3.221 MB / 5.96 GB, free: 14.37 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009217/23.13, allocations: 2.497 MB / 5.962 GB, free: 13.29 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.057e-05/23.13, allocations: 9.688 kB / 5.962 GB, free: 13.29 MB / 0.5417 GB Notification: Performance of matching and sorting (n=508) (initialization): time 0.02555/23.16, allocations: 6.12 MB / 5.968 GB, free: 10.86 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.001197/23.16, allocations: 1.35 MB / 5.97 GB, free: 9.023 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.306e-05/23.16, allocations: 39.94 kB / 5.97 GB, free: 9.023 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008359/23.17, allocations: 0.9875 MB / 5.971 GB, free: 8.812 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007669/23.17, allocations: 0.9331 MB / 5.972 GB, free: 8.715 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00982/23.18, allocations: 2.805 MB / 5.974 GB, free: 6.738 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008335/23.19, allocations: 384.7 kB / 5.975 GB, free: 6.641 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001844/23.19, allocations: 287.9 kB / 5.975 GB, free: 6.602 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/23.19, allocations: 3.406 kB / 5.975 GB, free: 6.602 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02383/23.22, allocations: 5.748 MB / 5.981 GB, free: 4.348 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001123/23.22, allocations: 41.69 kB / 5.981 GB, free: 4.344 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00848/23.23, allocations: 0.9892 MB / 5.982 GB, free: 3.828 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007873/23.23, allocations: 0.9189 MB / 5.982 GB, free: 3.039 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00825/23.24, allocations: 2.798 MB / 5.985 GB, free: 380 kB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007468/23.25, allocations: 380.9 kB / 5.986 GB, free: 72 kB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00309/23.25, allocations: 358.2 kB / 5.986 GB, free: 0 / 0.5417 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.004481/23.26, allocations: 0.9848 MB / 5.987 GB, free: 15.1 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001323/23.26, allocations: 292.5 kB / 5.987 GB, free: 14.81 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02547/23.29, allocations: 6.051 MB / 5.993 GB, free: 9.758 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.136e-05/23.29, allocations: 31.84 kB / 5.993 GB, free: 9.73 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.828e-05/23.29, allocations: 8 kB / 5.993 GB, free: 9.723 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001111/23.29, allocations: 16.98 kB / 5.993 GB, free: 9.719 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03288/23.32, allocations: 8.814 MB / 6.002 GB, free: 2.539 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.728e-05/23.32, allocations: 7.312 kB / 6.002 GB, free: 2.535 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005649/23.32, allocations: 0.5724 MB / 6.002 GB, free: 2.051 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01055/23.33, allocations: 1.162 MB / 6.003 GB, free: 1.199 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001219/23.34, allocations: 121.7 kB / 6.004 GB, free: 1.102 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5395/23.88, allocations: 2.665 MB / 6.006 GB, free: 50.37 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.733e-06/23.88, allocations: 3.609 kB / 6.006 GB, free: 50.37 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02869/23.9, allocations: 7.262 MB / 6.013 GB, free: 50.02 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003721/23.91, allocations: 0.8163 MB / 6.014 GB, free: 49.93 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001754/23.91, allocations: 77.09 kB / 6.014 GB, free: 49.93 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00621/23.92, allocations: 281.2 kB / 6.014 GB, free: 49.93 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001642/23.92, allocations: 216.7 kB / 6.015 GB, free: 49.93 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001017/23.92, allocations: 188.1 kB / 6.015 GB, free: 49.93 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.004383/23.92, allocations: 1.475 MB / 6.016 GB, free: 49.78 MB / 0.5573 GB Notification: Performance of sort global known variables: time 9.11e-07/23.92, allocations: 0 / 6.016 GB, free: 49.78 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.02383/23.95, allocations: 4.228 MB / 6.02 GB, free: 49.78 MB / 0.5573 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.0232/23.97, allocations: 5.162 MB / 6.025 GB, free: 49.32 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.03041/24, allocations: 8.222 MB / 6.033 GB, free: 48.72 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-05/24, allocations: 4.438 kB / 6.033 GB, free: 48.72 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.009251/24.01, allocations: 2.353 MB / 6.036 GB, free: 48.7 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01392/24.02, allocations: 1.261 MB / 6.037 GB, free: 48.68 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03311/24.06, allocations: 9.769 MB / 6.046 GB, free: 45.77 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004488/24.06, allocations: 2.287 MB / 6.049 GB, free: 45 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.01702/24.08, allocations: 2.222 MB / 6.051 GB, free: 44.97 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003287/24.08, allocations: 394.7 kB / 6.051 GB, free: 44.97 MB / 0.5573 GB Notification: Performance of SimCode: time 1.352e-06/24.08, allocations: 1.125 kB / 6.051 GB, free: 44.97 MB / 0.5573 GB Notification: Performance of Templates: time 0.301/24.38, allocations: 131.7 MB / 6.18 GB, free: 7.727 MB / 0.5573 GB