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.001729/0.001729, allocations: 169.9 kB / 12.72 MB, free: 2.594 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.238/1.238, allocations: 170.6 MB / 183.8 MB, free: 11.43 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.001301/0.001301, allocations: 103.5 kB / 223.2 MB, free: 4.047 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.1691/0.1691, allocations: 37.99 MB / 300.4 MB, free: 5.344 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.203e-05/3.205e-05, allocations: 4 kB / 357 MB, free: 32.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08828/0.08833, allocations: 48.71 MB / 405.7 MB, free: 15.63 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.977/7.065, allocations: 3.667 GB / 4.063 GB, free: 105.4 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003159/7.066, allocations: 83.95 kB / 4.063 GB, free: 105.3 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.315/13.38, allocations: 1.618 GB / 5.682 GB, free: 24.66 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.874e-06/13.38, allocations: 0 / 5.682 GB, free: 24.66 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0002548/13.38, allocations: 85.19 kB / 5.682 GB, free: 24.64 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.03316/13.41, allocations: 8.726 MB / 5.69 GB, free: 20.13 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.683e-05/13.41, allocations: 9.219 kB / 5.69 GB, free: 20.13 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003095/13.42, allocations: 402.6 kB / 5.691 GB, free: 19.96 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006221/13.42, allocations: 2.126 MB / 5.693 GB, free: 19.48 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004307/13.42, allocations: 0.4969 MB / 5.693 GB, free: 19.19 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001179/13.43, allocations: 283.5 kB / 5.694 GB, free: 19.19 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008333/13.43, allocations: 4.823 MB / 5.698 GB, free: 18.48 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.437e-05/13.43, allocations: 7.938 kB / 5.698 GB, free: 18.48 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004832/13.43, allocations: 126.5 kB / 5.698 GB, free: 18.48 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003035/13.43, allocations: 255.8 kB / 5.699 GB, free: 18.47 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008101/13.44, allocations: 4.859 MB / 5.703 GB, free: 18.44 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02973/13.47, allocations: 19.95 MB / 5.723 GB, free: 9.141 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00448/13.48, allocations: 2.512 MB / 5.725 GB, free: 9.098 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002178/13.48, allocations: 1.488 MB / 5.727 GB, free: 9.086 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002465/13.48, allocations: 3.407 MB / 5.73 GB, free: 5.605 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.389e-05/13.48, allocations: 65.09 kB / 5.73 GB, free: 5.562 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=235): time 4.709e-06/13.48, allocations: 0 / 5.73 GB, free: 5.562 MB / 0.5261 GB Notification: Performance of matching and sorting (n=271): time 0.05331/13.54, allocations: 13.97 MB / 5.744 GB, free: 4.465 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002402/13.54, allocations: 237.8 kB / 5.744 GB, free: 20.21 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003608/13.54, allocations: 1.992 MB / 5.746 GB, free: 19.93 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0006661/13.54, allocations: 84.08 kB / 5.746 GB, free: 19.9 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009668/13.54, allocations: 1.463 MB / 5.748 GB, free: 19.2 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.001109/13.54, allocations: 0.9575 MB / 5.748 GB, free: 18.59 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005986/13.54, allocations: 82.47 kB / 5.749 GB, free: 18.59 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0003411/13.54, allocations: 470.9 kB / 5.749 GB, free: 18.29 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00327/13.55, allocations: 1.758 MB / 5.751 GB, free: 18.28 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003745/13.55, allocations: 3.02 MB / 5.754 GB, free: 16.8 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003958/13.55, allocations: 2.331 MB / 5.756 GB, free: 16.6 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.778e-05/13.55, allocations: 12.81 kB / 5.756 GB, free: 16.6 MB / 0.5417 GB Notification: Performance of matching and sorting (n=508) (initialization): time 0.01169/13.57, allocations: 5.618 MB / 5.761 GB, free: 15.95 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.006483/13.57, allocations: 16.1 MB / 5.777 GB, free: 15.07 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.491e-05/13.57, allocations: 37.75 kB / 5.777 GB, free: 15.07 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002963/13.58, allocations: 0.7453 MB / 5.778 GB, free: 15.04 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004293/13.58, allocations: 0.9298 MB / 5.779 GB, free: 14.98 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002671/13.58, allocations: 2.46 MB / 5.781 GB, free: 13.18 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005051/13.59, allocations: 388.5 kB / 5.782 GB, free: 13.07 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001147/13.59, allocations: 279.4 kB / 5.782 GB, free: 13.04 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/13.59, allocations: 3.75 kB / 5.782 GB, free: 13.04 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01173/13.6, allocations: 5.272 MB / 5.787 GB, free: 10.96 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001339/13.6, allocations: 37.59 kB / 5.787 GB, free: 10.96 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002889/13.6, allocations: 0.7383 MB / 5.788 GB, free: 10.77 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004439/13.61, allocations: 0.918 MB / 5.789 GB, free: 10.68 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002783/13.61, allocations: 2.464 MB / 5.791 GB, free: 8.738 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005104/13.62, allocations: 374.2 kB / 5.791 GB, free: 8.641 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001464/13.62, allocations: 283.6 kB / 5.792 GB, free: 8.605 MB / 0.5573 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.002102/13.62, allocations: 369.5 kB / 5.792 GB, free: 8.297 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001067/13.62, allocations: 288.6 kB / 5.792 GB, free: 8.152 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01144/13.63, allocations: 5.595 MB / 5.798 GB, free: 6.031 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.073e-05/13.63, allocations: 36.86 kB / 5.798 GB, free: 6.031 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.281e-05/13.63, allocations: 0 / 5.798 GB, free: 6.031 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.452e-05/13.63, allocations: 14.06 kB / 5.798 GB, free: 6.031 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02259/13.65, allocations: 9.378 MB / 5.807 GB, free: 15.7 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.985e-05/13.65, allocations: 0 / 5.807 GB, free: 15.7 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003051/13.66, allocations: 0.5779 MB / 5.808 GB, free: 15.21 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004124/13.66, allocations: 0.9021 MB / 5.808 GB, free: 14.54 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007581/13.66, allocations: 120.2 kB / 5.809 GB, free: 14.45 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002657/13.67, allocations: 2.352 MB / 5.811 GB, free: 12.13 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.182e-06/13.67, allocations: 4.031 kB / 5.811 GB, free: 12.12 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01969/13.69, allocations: 7.426 MB / 5.818 GB, free: 5.5 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003097/13.69, allocations: 0.8499 MB / 5.819 GB, free: 4.781 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00126/13.69, allocations: 71 kB / 5.819 GB, free: 4.715 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003712/13.69, allocations: 283.1 kB / 5.819 GB, free: 4.5 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006282/13.69, allocations: 212.8 kB / 5.82 GB, free: 4.367 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006801/13.69, allocations: 183.9 kB / 5.82 GB, free: 4.223 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.00311/13.7, allocations: 1.449 MB / 5.821 GB, free: 2.895 MB / 0.573 GB Notification: Performance of sort global known variables: time 2.61e-07/13.7, allocations: 6.234 kB / 5.821 GB, free: 2.891 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.4142/14.11, allocations: 4.633 MB / 5.826 GB, free: 67.05 MB / 0.573 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.01614/14.13, allocations: 5.155 MB / 5.831 GB, free: 66.57 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.01597/14.14, allocations: 7.736 MB / 5.838 GB, free: 65.97 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.339e-05/14.14, allocations: 5.031 kB / 5.838 GB, free: 65.97 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.004123/14.15, allocations: 2.174 MB / 5.84 GB, free: 65.96 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006753/14.16, allocations: 1.209 MB / 5.842 GB, free: 65.92 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01483/14.17, allocations: 6.402 MB / 5.848 GB, free: 64.98 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001768/14.17, allocations: 2.292 MB / 5.85 GB, free: 64.21 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.009091/14.18, allocations: 2.384 MB / 5.852 GB, free: 64.13 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001455/14.18, allocations: 368.3 kB / 5.853 GB, free: 64.13 MB / 0.573 GB Notification: Performance of SimCode: time 5.61e-07/14.18, allocations: 0 / 5.853 GB, free: 64.13 MB / 0.573 GB Notification: Performance of Templates: time 0.1811/14.36, allocations: 138.9 MB / 5.988 GB, free: 30.39 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)