Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances") translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002048/0.002048, allocations: 182 kB / 12.74 MB, free: 2.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.441/1.441, allocations: 194.3 MB / 207.5 MB, free: 3.465 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001592/0.001592, allocations: 118.3 kB / 252.6 MB, free: 4.836 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1847/0.1847, allocations: 39.94 MB / 337.5 MB, free: 480 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.963e-05/2.964e-05, allocations: 4 kB / 400.3 MB, free: 69.86 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08822/0.08826, allocations: 54.86 MB / 455.1 MB, free: 14.97 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.001/8.09, allocations: 3.674 GB / 4.118 GB, free: 137.6 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002787/8.09, allocations: 84.62 kB / 4.118 GB, free: 137.6 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.649/14.74, allocations: 1.63 GB / 5.748 GB, free: 38.13 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.324e-06/14.74, allocations: 0 / 5.748 GB, free: 38.13 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.0002583/14.74, allocations: 87.5 kB / 5.748 GB, free: 38.13 MB / 0.5886 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.03501/14.77, allocations: 8.726 MB / 5.757 GB, free: 34.08 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.965e-05/14.77, allocations: 11 kB / 5.757 GB, free: 34.08 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00321/14.78, allocations: 402 kB / 5.757 GB, free: 33.9 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006434/14.78, allocations: 2.125 MB / 5.759 GB, free: 33.43 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004194/14.78, allocations: 0.4997 MB / 5.76 GB, free: 33.14 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001279/14.79, allocations: 282.4 kB / 5.76 GB, free: 33.14 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008817/14.79, allocations: 4.823 MB / 5.765 GB, free: 32.42 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.757e-05/14.79, allocations: 9.938 kB / 5.765 GB, free: 32.42 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003902/14.79, allocations: 127.4 kB / 5.765 GB, free: 32.42 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002743/14.79, allocations: 261.5 kB / 5.765 GB, free: 32.41 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006851/14.8, allocations: 4.85 MB / 5.77 GB, free: 32.38 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02633/14.83, allocations: 20.59 MB / 5.79 GB, free: 22.32 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004337/14.83, allocations: 2.506 MB / 5.793 GB, free: 22.28 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001961/14.83, allocations: 1.491 MB / 5.794 GB, free: 22.26 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002431/14.84, allocations: 3.397 MB / 5.797 GB, free: 18.79 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.039e-05/14.84, allocations: 61.92 kB / 5.797 GB, free: 18.75 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=235): time 4.769e-06/14.84, allocations: 6.406 kB / 5.797 GB, free: 18.75 MB / 0.5886 GB Notification: Performance of matching and sorting (n=271): time 0.05139/14.89, allocations: 13.97 MB / 5.811 GB, free: 17.67 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.893e-05/14.89, allocations: 238.1 kB / 5.811 GB, free: 17.41 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003648/14.89, allocations: 1.984 MB / 5.813 GB, free: 17.14 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.0006568/14.89, allocations: 81.3 kB / 5.813 GB, free: 17.11 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.001071/14.89, allocations: 1.468 MB / 5.815 GB, free: 16.39 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.001253/14.9, allocations: 0.9619 MB / 5.816 GB, free: 15.79 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005648/14.9, allocations: 82.34 kB / 5.816 GB, free: 15.79 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0003495/14.9, allocations: 472 kB / 5.816 GB, free: 15.48 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003517/14.9, allocations: 1.754 MB / 5.818 GB, free: 15.47 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004092/14.9, allocations: 3.016 MB / 5.821 GB, free: 14 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003902/14.91, allocations: 2.33 MB / 5.823 GB, free: 13.82 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.209e-05/14.91, allocations: 11.69 kB / 5.823 GB, free: 13.82 MB / 0.5886 GB Notification: Performance of matching and sorting (n=508) (initialization): time 0.01016/14.92, allocations: 5.627 MB / 5.829 GB, free: 13.41 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.004479/14.92, allocations: 16.1 MB / 5.844 GB, free: 12.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-05/14.92, allocations: 38.16 kB / 5.844 GB, free: 12.54 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002881/14.93, allocations: 0.7276 MB / 5.845 GB, free: 12.51 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004418/14.93, allocations: 0.937 MB / 5.846 GB, free: 12.51 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00274/14.93, allocations: 2.455 MB / 5.848 GB, free: 10.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005214/14.94, allocations: 391.5 kB / 5.849 GB, free: 10.94 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001171/14.94, allocations: 285.4 kB / 5.849 GB, free: 10.94 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/14.94, allocations: 3.469 kB / 5.849 GB, free: 10.94 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01119/14.95, allocations: 5.266 MB / 5.854 GB, free: 10.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001393/14.95, allocations: 39.47 kB / 5.854 GB, free: 10.7 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002695/14.95, allocations: 0.7358 MB / 5.855 GB, free: 10.67 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003837/14.96, allocations: 0.9281 MB / 5.856 GB, free: 10.67 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002548/14.96, allocations: 2.458 MB / 5.858 GB, free: 9.113 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004451/14.96, allocations: 377.1 kB / 5.859 GB, free: 9.102 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00101/14.97, allocations: 281.2 kB / 5.859 GB, free: 9.102 MB / 0.6042 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.001899/14.97, allocations: 372.6 kB / 5.859 GB, free: 8.969 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001088/14.97, allocations: 289 kB / 5.86 GB, free: 8.82 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01088/14.98, allocations: 5.598 MB / 5.865 GB, free: 8.52 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.623e-05/14.98, allocations: 42.06 kB / 5.865 GB, free: 8.52 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.137e-05/14.98, allocations: 2.812 kB / 5.865 GB, free: 8.52 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.511e-05/14.98, allocations: 16.22 kB / 5.865 GB, free: 8.52 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01866/15, allocations: 9.295 MB / 5.874 GB, free: 7.957 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.839e-05/15, allocations: 3.5 kB / 5.874 GB, free: 7.957 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002939/15, allocations: 0.5761 MB / 5.875 GB, free: 7.957 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003642/15, allocations: 0.903 MB / 5.876 GB, free: 7.918 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006566/15.01, allocations: 126.5 kB / 5.876 GB, free: 7.918 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002262/15.01, allocations: 2.35 MB / 5.878 GB, free: 6.355 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/15.01, allocations: 2.953 kB / 5.878 GB, free: 6.355 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01477/15.02, allocations: 7.416 MB / 5.885 GB, free: 5.738 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00241/15.02, allocations: 0.8543 MB / 5.886 GB, free: 5.477 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008758/15.03, allocations: 72.94 kB / 5.886 GB, free: 5.477 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003106/15.03, allocations: 277.6 kB / 5.886 GB, free: 5.465 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004238/15.03, allocations: 218.1 kB / 5.887 GB, free: 5.457 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005035/15.03, allocations: 182.8 kB / 5.887 GB, free: 5.457 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.002879/15.03, allocations: 1.451 MB / 5.888 GB, free: 5.297 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.71e-07/15.03, allocations: 0.9062 kB / 5.888 GB, free: 5.297 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.01903/15.05, allocations: 4.236 MB / 5.892 GB, free: 4.527 MB / 0.6042 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 (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.01786/15.07, allocations: 5.175 MB / 5.897 GB, free: 3.191 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0157/15.09, allocations: 7.737 MB / 5.905 GB, free: 1.594 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.296e-05/15.09, allocations: 0.5625 kB / 5.905 GB, free: 1.594 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.004535/15.09, allocations: 2.17 MB / 5.907 GB, free: 0.8242 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006978/15.1, allocations: 1.209 MB / 5.908 GB, free: 0.5508 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01516/15.11, allocations: 6.432 MB / 5.915 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002329/15.11, allocations: 2.294 MB / 5.917 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.009899/15.12, allocations: 2.386 MB / 5.919 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001575/15.13, allocations: 369.1 kB / 5.919 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of SimCode: time 1.222e-06/15.13, allocations: 0 / 5.919 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of Templates: time 0.7087/15.83, allocations: 139 MB / 6.055 GB, free: 57.64 MB / 0.6198 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances.pipe 2>&1)