Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances") translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.000995/0.000995, allocations: 171.3 kB / 7.638 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.376/1.376, allocations: 170.7 MB / 178.7 MB, free: 15.64 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001668/0.001668, allocations: 111.5 kB / 218 MB, free: 8.402 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1838/0.1838, allocations: 37.98 MB / 295.1 MB, free: 9.496 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.602e-05/1.606e-05, allocations: 2.281 kB / 350 MB, free: 36.99 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1014/0.1015, allocations: 48.71 MB / 398.7 MB, free: 5.355 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.725/7.827, allocations: 3.666 GB / 4.056 GB, free: 34.55 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002552/7.827, allocations: 87.94 kB / 4.056 GB, free: 34.46 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.928/14.75, allocations: 1.603 GB / 5.659 GB, free: 20.05 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.663e-06/14.75, allocations: 0 / 5.659 GB, free: 20.05 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0003575/14.76, allocations: 82.86 kB / 5.659 GB, free: 20.04 MB / 0.5105 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.03997/14.8, allocations: 8.719 MB / 5.668 GB, free: 13.48 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.877e-05/14.8, allocations: 8.031 kB / 5.668 GB, free: 13.48 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00319/14.8, allocations: 407.4 kB / 5.668 GB, free: 13.08 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006523/14.8, allocations: 2.129 MB / 5.67 GB, free: 11.27 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003775/14.81, allocations: 402.7 kB / 5.671 GB, free: 10.83 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001326/14.81, allocations: 171.9 kB / 5.671 GB, free: 10.66 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008128/14.81, allocations: 4.373 MB / 5.675 GB, free: 6.785 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009151/14.82, allocations: 4.431 MB / 5.68 GB, free: 2.453 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.724e-05/14.82, allocations: 7.938 kB / 5.68 GB, free: 2.445 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004644/14.82, allocations: 10.73 kB / 5.68 GB, free: 2.438 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003731/14.82, allocations: 265.1 kB / 5.68 GB, free: 2.176 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5387/15.36, allocations: 19.48 MB / 5.699 GB, free: 29.87 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005292/15.37, allocations: 2.383 MB / 5.701 GB, free: 29.84 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002708/15.37, allocations: 1.426 MB / 5.703 GB, free: 29.82 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003012/15.37, allocations: 3.343 MB / 5.706 GB, free: 26.36 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.476e-05/15.37, allocations: 62.75 kB / 5.706 GB, free: 26.32 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=232): time 6.492e-06/15.37, allocations: 2.438 kB / 5.706 GB, free: 26.32 MB / 0.5261 GB Notification: Performance of matching and sorting (n=268): time 0.06188/15.44, allocations: 13.78 MB / 5.719 GB, free: 25.54 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.886e-05/15.44, allocations: 234.6 kB / 5.72 GB, free: 25.28 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004468/15.44, allocations: 1.67 MB / 5.721 GB, free: 25.05 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0009443/15.44, allocations: 28.67 kB / 5.721 GB, free: 25.02 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001491/15.44, allocations: 1.48 MB / 5.723 GB, free: 24.42 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001648/15.45, allocations: 0.9188 MB / 5.724 GB, free: 23.95 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000901/15.45, allocations: 2.812 kB / 5.724 GB, free: 23.95 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0004168/15.45, allocations: 466.6 kB / 5.724 GB, free: 23.64 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003699/15.45, allocations: 1.696 MB / 5.726 GB, free: 23.64 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004718/15.46, allocations: 2.939 MB / 5.729 GB, free: 22.18 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02472/15.48, allocations: 5.719 MB / 5.734 GB, free: 22.13 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.429e-05/15.48, allocations: 16.31 kB / 5.734 GB, free: 22.13 MB / 0.5261 GB Notification: Performance of matching and sorting (n=508) (initialization): time 0.03296/15.51, allocations: 8.685 MB / 5.743 GB, free: 21.85 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.003688/15.52, allocations: 15.87 MB / 5.758 GB, free: 4.984 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001025/15.52, allocations: 40.66 kB / 5.758 GB, free: 4.984 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002869/15.52, allocations: 0.7275 MB / 5.759 GB, free: 4.961 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00473/15.52, allocations: 0.9324 MB / 5.76 GB, free: 4.961 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003157/15.53, allocations: 2.521 MB / 5.762 GB, free: 19.4 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005744/15.53, allocations: 314.6 kB / 5.763 GB, free: 19.39 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001603/15.54, allocations: 283.9 kB / 5.763 GB, free: 19.39 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/15.54, allocations: 6.641 kB / 5.763 GB, free: 19.38 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03048/15.57, allocations: 8.144 MB / 5.771 GB, free: 19.27 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000135/15.57, allocations: 42.59 kB / 5.771 GB, free: 19.27 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002546/15.57, allocations: 0.7216 MB / 5.772 GB, free: 19.25 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003986/15.57, allocations: 0.9248 MB / 5.772 GB, free: 19.25 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002664/15.58, allocations: 2.531 MB / 5.775 GB, free: 17.68 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005528/15.58, allocations: 293.5 kB / 5.775 GB, free: 17.68 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00146/15.58, allocations: 279 kB / 5.775 GB, free: 17.68 MB / 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 () * 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.00187/15.58, allocations: 240.1 kB / 5.776 GB, free: 17.57 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00114/15.59, allocations: 274.9 kB / 5.776 GB, free: 17.43 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01606/15.6, allocations: 6.245 MB / 5.782 GB, free: 17.12 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.58e-05/15.6, allocations: 28.59 kB / 5.782 GB, free: 17.12 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.094e-05/15.6, allocations: 2.156 kB / 5.782 GB, free: 17.12 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-05/15.6, allocations: 14.86 kB / 5.782 GB, free: 17.12 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02155/15.62, allocations: 8.416 MB / 5.79 GB, free: 16.61 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-05/15.62, allocations: 3.875 kB / 5.79 GB, free: 16.61 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002462/15.63, allocations: 0.5472 MB / 5.791 GB, free: 16.61 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003579/15.63, allocations: 0.8992 MB / 5.792 GB, free: 16.57 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006497/15.63, allocations: 90.66 kB / 5.792 GB, free: 16.57 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002582/15.63, allocations: 2.416 MB / 5.794 GB, free: 15 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.972e-06/15.63, allocations: 7.531 kB / 5.794 GB, free: 15 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01661/15.65, allocations: 7.038 MB / 5.801 GB, free: 14.4 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002444/15.65, allocations: 0.8269 MB / 5.802 GB, free: 14.16 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008527/15.65, allocations: 21.83 kB / 5.802 GB, free: 14.16 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00312/15.66, allocations: 223.3 kB / 5.802 GB, free: 14.15 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003775/15.66, allocations: 203.6 kB / 5.802 GB, free: 14.15 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004259/15.66, allocations: 174.5 kB / 5.802 GB, free: 14.15 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001975/15.66, allocations: 1.201 MB / 5.804 GB, free: 14 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.71e-07/15.66, allocations: 0.8438 kB / 5.804 GB, free: 14 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01994/15.68, allocations: 3.953 MB / 5.807 GB, free: 13.98 MB / 0.5417 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (285): * Single equations (assignments): 273 * 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.01706/15.7, allocations: 5.485 MB / 5.813 GB, free: 13.22 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01334/15.71, allocations: 7.354 MB / 5.82 GB, free: 12.64 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.317e-05/15.71, allocations: 5.562 kB / 5.82 GB, free: 12.64 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.003339/15.71, allocations: 2.04 MB / 5.822 GB, free: 12.62 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005973/15.72, allocations: 1.057 MB / 5.823 GB, free: 12.58 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01242/15.73, allocations: 6.162 MB / 5.829 GB, free: 11.61 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001823/15.73, allocations: 2.288 MB / 5.831 GB, free: 10.83 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.008066/15.74, allocations: 2.246 MB / 5.833 GB, free: 10.72 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001171/15.74, allocations: 348.2 kB / 5.834 GB, free: 10.71 MB / 0.5417 GB Notification: Performance of SimCode: time 7.41e-07/15.74, allocations: 0 / 5.834 GB, free: 10.71 MB / 0.5417 GB Notification: Performance of Templates: time 0.6324/16.37, allocations: 112.3 MB / 5.943 GB, free: 76.26 MB / 0.573 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances.pipe 2>&1)