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.01016/0.01016, allocations: 165.5 kB / 15.11 MB, free: 5.977 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.375/1.375, allocations: 170.8 MB / 186.6 MB, free: 1.125 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.001663/0.001663, allocations: 118.2 kB / 226.2 MB, free: 10.1 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.3323/0.3323, allocations: 38.05 MB / 303.7 MB, free: 42.38 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004178/0.0004178, allocations: 11.98 kB / 362.9 MB, free: 5.59 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1199/0.1203, allocations: 48.71 MB / 411.6 MB, free: 4.812 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.945/10.07, allocations: 3.667 GB / 4.069 GB, free: 2.367 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003308/10.07, allocations: 87.33 kB / 4.069 GB, free: 2.32 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.773/18.84, allocations: 1.621 GB / 5.691 GB, free: 21.91 MB / 0.5261 GB Notification: Performance of FrontEnd: time 6.322e-06/18.84, allocations: 0 / 5.691 GB, free: 21.91 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0006718/18.84, allocations: 87.45 kB / 5.691 GB, free: 21.89 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.06275/18.9, allocations: 9.06 MB / 5.699 GB, free: 16.96 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 8.336e-05/18.9, allocations: 9.031 kB / 5.699 GB, free: 16.96 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004521/18.91, allocations: 398.4 kB / 5.7 GB, free: 16.79 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009346/18.92, allocations: 2.137 MB / 5.702 GB, free: 16.23 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001063/18.92, allocations: 0.4989 MB / 5.702 GB, free: 15.95 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003377/18.92, allocations: 288.5 kB / 5.703 GB, free: 15.94 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02123/18.94, allocations: 4.914 MB / 5.707 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000336/18.94, allocations: 14.59 kB / 5.707 GB, free: 15.17 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002253/18.94, allocations: 123.6 kB / 5.708 GB, free: 15.17 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005179/18.95, allocations: 265.6 kB / 5.708 GB, free: 15.15 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0143/18.96, allocations: 5.006 MB / 5.713 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04837/19.01, allocations: 19.95 MB / 5.732 GB, free: 4.152 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006893/19.02, allocations: 2.58 MB / 5.735 GB, free: 3.188 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003889/19.02, allocations: 3.403 MB / 5.738 GB, free: 15.59 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001446/19.02, allocations: 60.31 kB / 5.738 GB, free: 15.54 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=235): time 1.338e-05/19.02, allocations: 0 / 5.738 GB, free: 15.54 MB / 0.5417 GB Notification: Performance of matching and sorting (n=271): time 0.08139/19.1, allocations: 16.42 MB / 5.754 GB, free: 2.578 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000207/19.1, allocations: 243.6 kB / 5.754 GB, free: 2.293 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00678/19.11, allocations: 2.009 MB / 5.756 GB, free: 0.5625 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.00163/19.11, allocations: 77.7 kB / 5.756 GB, free: 492 kB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.7102/19.82, allocations: 1.46 MB / 5.758 GB, free: 39.9 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.002912/19.82, allocations: 0.9576 MB / 5.759 GB, free: 39.43 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000611/19.82, allocations: 80.22 kB / 5.759 GB, free: 39.43 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0005111/19.82, allocations: 468.5 kB / 5.759 GB, free: 39.12 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006103/19.83, allocations: 1.941 MB / 5.761 GB, free: 39.11 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007099/19.84, allocations: 3.205 MB / 5.764 GB, free: 37.64 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007831/19.84, allocations: 2.495 MB / 5.767 GB, free: 37.48 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001123/19.85, allocations: 13.27 kB / 5.767 GB, free: 37.48 MB / 0.5417 GB Notification: Performance of matching and sorting (n=508) (initialization): time 0.02483/19.87, allocations: 6.111 MB / 5.773 GB, free: 37.06 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.00591/19.88, allocations: 16.1 MB / 5.788 GB, free: 20.21 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002096/19.88, allocations: 40.47 kB / 5.789 GB, free: 20.21 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005222/19.88, allocations: 0.9809 MB / 5.789 GB, free: 20.18 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005803/19.89, allocations: 0.9294 MB / 5.79 GB, free: 20.18 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005222/19.89, allocations: 2.794 MB / 5.793 GB, free: 18.62 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007271/19.9, allocations: 386 kB / 5.793 GB, free: 18.62 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002371/19.9, allocations: 288.2 kB / 5.794 GB, free: 18.62 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.633e-05/19.9, allocations: 5.344 kB / 5.794 GB, free: 18.62 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02344/19.93, allocations: 5.748 MB / 5.799 GB, free: 18.38 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003928/19.93, allocations: 40.28 kB / 5.799 GB, free: 18.38 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005317/19.93, allocations: 0.9867 MB / 5.8 GB, free: 18.35 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005686/19.94, allocations: 0.9267 MB / 5.801 GB, free: 18.35 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005298/19.94, allocations: 2.796 MB / 5.804 GB, free: 16.79 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006904/19.95, allocations: 378.7 kB / 5.804 GB, free: 16.79 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002274/19.95, allocations: 279.9 kB / 5.805 GB, free: 16.79 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 () * 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.006053/19.96, allocations: 0.9756 MB / 5.806 GB, free: 16.6 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00271/19.96, allocations: 286.4 kB / 5.806 GB, free: 16.45 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02237/19.98, allocations: 6.073 MB / 5.812 GB, free: 16.17 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.078e-05/19.98, allocations: 33.28 kB / 5.812 GB, free: 16.17 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.841e-05/19.98, allocations: 7.812 kB / 5.812 GB, free: 16.17 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.864e-05/19.98, allocations: 18.97 kB / 5.812 GB, free: 16.17 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02582/20.01, allocations: 8.818 MB / 5.82 GB, free: 15.64 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.27e-05/20.01, allocations: 3.688 kB / 5.82 GB, free: 15.64 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00296/20.01, allocations: 0.579 MB / 5.821 GB, free: 15.64 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005859/20.02, allocations: 1.165 MB / 5.822 GB, free: 15.59 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00111/20.02, allocations: 124 kB / 5.822 GB, free: 15.59 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004622/20.02, allocations: 2.672 MB / 5.825 GB, free: 14.04 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.241e-06/20.02, allocations: 0 / 5.825 GB, free: 14.04 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02124/20.05, allocations: 7.329 MB / 5.832 GB, free: 13.43 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003881/20.05, allocations: 0.8531 MB / 5.833 GB, free: 13.17 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002004/20.05, allocations: 75.12 kB / 5.833 GB, free: 13.17 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004678/20.06, allocations: 276 kB / 5.833 GB, free: 13.17 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001032/20.06, allocations: 222.3 kB / 5.833 GB, free: 13.16 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001038/20.06, allocations: 182.1 kB / 5.834 GB, free: 13.16 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.004256/20.06, allocations: 1.477 MB / 5.835 GB, free: 13.02 MB / 0.5417 GB Notification: Performance of sort global known variables: time 5.21e-07/20.06, allocations: 1.625 kB / 5.835 GB, free: 13.02 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.02771/20.09, allocations: 4.23 MB / 5.839 GB, free: 13.02 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 () * 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.02421/20.11, allocations: 5.164 MB / 5.844 GB, free: 12.39 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.02518/20.14, allocations: 8.226 MB / 5.852 GB, free: 11.65 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.252e-05/20.14, allocations: 5.312 kB / 5.852 GB, free: 11.65 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.00744/20.15, allocations: 2.342 MB / 5.855 GB, free: 11.57 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008773/20.16, allocations: 1.211 MB / 5.856 GB, free: 11.53 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02613/20.18, allocations: 8.873 MB / 5.864 GB, free: 8.562 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005029/20.19, allocations: 2.287 MB / 5.867 GB, free: 7.793 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.01376/20.2, allocations: 2.227 MB / 5.869 GB, free: 7.559 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002738/20.2, allocations: 388.1 kB / 5.869 GB, free: 7.547 MB / 0.5417 GB Notification: Performance of SimCode: time 1.703e-06/20.2, allocations: 0 / 5.869 GB, free: 7.547 MB / 0.5417 GB Notification: Performance of Templates: time 0.8005/21, allocations: 129.8 MB / 5.996 GB, free: 68.1 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)