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.001172/0.001173, allocations: 180.3 kB / 7.651 MB, free: 1.402 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.427/1.427, allocations: 194.3 MB / 202.4 MB, free: 8.492 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.001665/0.001665, allocations: 117.1 kB / 247.4 MB, free: 6.211 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.1729/0.1729, allocations: 39.95 MB / 332.2 MB, free: 4.766 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.278e-05/1.281e-05, allocations: 4 kB / 393.3 MB, free: 75.54 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08569/0.08572, allocations: 54.87 MB / 448.2 MB, free: 20.65 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.168/7.254, allocations: 3.673 GB / 4.111 GB, free: 436 kB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002744/7.254, allocations: 87.95 kB / 4.111 GB, free: 348 kB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.704/13.96, allocations: 1.615 GB / 5.726 GB, free: 30.23 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.073e-06/13.96, allocations: 0 / 5.726 GB, free: 30.23 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.0004826/13.96, allocations: 79.38 kB / 5.726 GB, free: 30.23 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.03444/13.99, allocations: 8.728 MB / 5.734 GB, free: 27.18 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.876e-05/13.99, allocations: 9.656 kB / 5.734 GB, free: 27.18 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002774/14, allocations: 399.5 kB / 5.735 GB, free: 27 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005754/14, allocations: 2.124 MB / 5.737 GB, free: 26.53 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003058/14, allocations: 408.9 kB / 5.737 GB, free: 26.24 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009479/14, allocations: 172.4 kB / 5.737 GB, free: 26.24 MB / 0.573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007147/14.01, allocations: 4.376 MB / 5.742 GB, free: 26.22 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006608/14.02, allocations: 4.419 MB / 5.746 GB, free: 25.53 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.714e-05/14.02, allocations: 11.34 kB / 5.746 GB, free: 25.53 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003576/14.02, allocations: 10.94 kB / 5.746 GB, free: 25.53 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002962/14.02, allocations: 261.9 kB / 5.746 GB, free: 25.52 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02731/14.04, allocations: 20.12 MB / 5.766 GB, free: 15.55 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003807/14.05, allocations: 2.379 MB / 5.768 GB, free: 15.52 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001888/14.05, allocations: 1.426 MB / 5.77 GB, free: 15.5 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002247/14.05, allocations: 3.344 MB / 5.773 GB, free: 12.04 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.058e-05/14.05, allocations: 66.14 kB / 5.773 GB, free: 11.99 MB / 0.573 GB Notification: Performance of pre-optimization done (n=232): time 4.298e-06/14.05, allocations: 4.094 kB / 5.773 GB, free: 11.99 MB / 0.573 GB Notification: Performance of matching and sorting (n=268): time 0.0521/14.1, allocations: 13.76 MB / 5.786 GB, free: 26.93 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001239/14.1, allocations: 234.4 kB / 5.787 GB, free: 26.68 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003076/14.11, allocations: 1.674 MB / 5.788 GB, free: 26.41 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.0005464/14.11, allocations: 30.86 kB / 5.788 GB, free: 26.38 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008971/14.11, allocations: 1.474 MB / 5.79 GB, free: 25.62 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009791/14.11, allocations: 0.9219 MB / 5.791 GB, free: 25.02 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000426/14.11, allocations: 8.75 kB / 5.791 GB, free: 25.02 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0002875/14.11, allocations: 463.5 kB / 5.791 GB, free: 24.71 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002592/14.11, allocations: 1.7 MB / 5.793 GB, free: 24.7 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003573/14.12, allocations: 2.942 MB / 5.796 GB, free: 23.24 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02304/14.14, allocations: 5.716 MB / 5.801 GB, free: 23.19 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.446e-05/14.14, allocations: 13.34 kB / 5.801 GB, free: 23.19 MB / 0.5886 GB Notification: Performance of matching and sorting (n=508) (initialization): time 0.03303/14.17, allocations: 8.69 MB / 5.81 GB, free: 22.91 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.006477/14.18, allocations: 15.88 MB / 5.825 GB, free: 6.039 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001179/14.18, allocations: 41.88 kB / 5.825 GB, free: 6.039 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002774/14.18, allocations: 0.7185 MB / 5.826 GB, free: 6.016 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00425/14.19, allocations: 0.9324 MB / 5.827 GB, free: 6.016 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002614/14.19, allocations: 2.523 MB / 5.829 GB, free: 4.453 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004369/14.19, allocations: 313.9 kB / 5.83 GB, free: 4.434 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008517/14.2, allocations: 284.1 kB / 5.83 GB, free: 4.434 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/14.2, allocations: 4.594 kB / 5.83 GB, free: 4.434 MB / 0.5886 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02906/14.22, allocations: 8.141 MB / 5.838 GB, free: 4.32 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000157/14.22, allocations: 39.72 kB / 5.838 GB, free: 4.32 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002684/14.23, allocations: 0.7255 MB / 5.839 GB, free: 4.297 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004592/14.23, allocations: 0.9277 MB / 5.84 GB, free: 4.297 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003279/14.23, allocations: 2.528 MB / 5.842 GB, free: 18.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004949/14.24, allocations: 300.9 kB / 5.842 GB, free: 18.72 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001258/14.24, allocations: 281.3 kB / 5.843 GB, free: 18.71 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.002088/14.24, allocations: 243.2 kB / 5.843 GB, free: 18.58 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001195/14.24, allocations: 271.2 kB / 5.843 GB, free: 18.45 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01604/14.26, allocations: 6.238 MB / 5.849 GB, free: 18.11 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.433e-05/14.26, allocations: 34.84 kB / 5.849 GB, free: 18.11 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.442e-05/14.26, allocations: 2.953 kB / 5.849 GB, free: 18.11 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.253e-05/14.26, allocations: 21.39 kB / 5.849 GB, free: 18.11 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01932/14.28, allocations: 8.423 MB / 5.857 GB, free: 17.58 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.138e-05/14.28, allocations: 2.25 kB / 5.857 GB, free: 17.58 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002409/14.28, allocations: 0.5464 MB / 5.858 GB, free: 17.58 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003753/14.29, allocations: 0.8997 MB / 5.859 GB, free: 17.54 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004826/14.29, allocations: 87.05 kB / 5.859 GB, free: 17.54 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002624/14.29, allocations: 2.412 MB / 5.861 GB, free: 15.98 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.274e-06/14.29, allocations: 5.875 kB / 5.861 GB, free: 15.98 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0167/14.31, allocations: 7.037 MB / 5.868 GB, free: 15.38 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002551/14.31, allocations: 0.8244 MB / 5.869 GB, free: 15.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001141/14.31, allocations: 30.41 kB / 5.869 GB, free: 15.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003563/14.31, allocations: 217.8 kB / 5.869 GB, free: 15.11 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004186/14.31, allocations: 207.2 kB / 5.869 GB, free: 15.11 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004544/14.31, allocations: 174 kB / 5.87 GB, free: 15.11 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.002315/14.32, allocations: 1.202 MB / 5.871 GB, free: 14.96 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.212e-06/14.32, allocations: 0 / 5.871 GB, free: 14.96 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.01719/14.33, allocations: 3.955 MB / 5.875 GB, free: 14.2 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 (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.01831/14.35, allocations: 5.486 MB / 5.88 GB, free: 12.91 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.01434/14.37, allocations: 7.349 MB / 5.887 GB, free: 12.32 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.437e-05/14.37, allocations: 3.812 kB / 5.887 GB, free: 12.32 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.004016/14.37, allocations: 2.039 MB / 5.889 GB, free: 12.3 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006388/14.38, allocations: 1.058 MB / 5.89 GB, free: 12.26 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01457/14.39, allocations: 6.153 MB / 5.896 GB, free: 11.3 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001813/14.39, allocations: 2.284 MB / 5.898 GB, free: 10.53 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.00862/14.4, allocations: 2.244 MB / 5.901 GB, free: 10.42 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001194/14.4, allocations: 353 kB / 5.901 GB, free: 10.41 MB / 0.6042 GB Notification: Performance of SimCode: time 1.172e-06/14.4, allocations: 3.312 kB / 5.901 GB, free: 10.41 MB / 0.6042 GB Notification: Performance of Templates: time 0.5801/14.98, allocations: 112.5 MB / 6.011 GB, free: 69.57 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)