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.012/0.012, allocations: 174.1 kB / 15.12 MB, free: 5.973 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.787/1.787, allocations: 194.5 MB / 210.3 MB, free: 8.523 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.001746/0.001746, allocations: 124.6 kB / 255.6 MB, free: 11.12 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2063/0.2063, allocations: 40.02 MB / 340.8 MB, free: 11.52 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004657/0.0004658, allocations: 9.844 kB / 406.2 MB, free: 52.01 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1422/0.1427, allocations: 54.88 MB / 461 MB, free: 3.414 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.78/9.922, allocations: 3.674 GB / 4.124 GB, free: 117.7 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003245/9.923, allocations: 93.45 kB / 4.124 GB, free: 117.7 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.675/18.6, allocations: 1.633 GB / 5.757 GB, free: 26.46 MB / 0.573 GB Notification: Performance of FrontEnd: time 3.911e-05/18.6, allocations: 0.875 kB / 5.757 GB, free: 26.46 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.0004989/18.6, allocations: 87.14 kB / 5.757 GB, free: 26.45 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.06061/18.66, allocations: 9.065 MB / 5.766 GB, free: 22.01 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 7.187e-05/18.66, allocations: 8.25 kB / 5.766 GB, free: 22.01 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004476/18.66, allocations: 401.7 kB / 5.766 GB, free: 21.84 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009578/18.67, allocations: 2.132 MB / 5.769 GB, free: 21.36 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008922/18.67, allocations: 0.4982 MB / 5.769 GB, free: 21.07 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002381/18.68, allocations: 292 kB / 5.769 GB, free: 21.07 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01121/18.69, allocations: 4.909 MB / 5.774 GB, free: 20.36 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.797e-05/18.69, allocations: 20.52 kB / 5.774 GB, free: 20.36 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005312/18.69, allocations: 122.3 kB / 5.774 GB, free: 20.36 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003593/18.69, allocations: 258.2 kB / 5.774 GB, free: 20.35 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009493/18.7, allocations: 5.006 MB / 5.779 GB, free: 20.32 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0357/18.73, allocations: 20.58 MB / 5.799 GB, free: 10.25 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005109/18.74, allocations: 2.581 MB / 5.802 GB, free: 10.2 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003135/18.74, allocations: 3.398 MB / 5.805 GB, free: 6.727 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.941e-05/18.74, allocations: 65.56 kB / 5.805 GB, free: 6.688 MB / 0.573 GB Notification: Performance of pre-optimization done (n=235): time 5.851e-06/18.74, allocations: 0 / 5.805 GB, free: 6.688 MB / 0.573 GB Notification: Performance of matching and sorting (n=271): time 0.06535/18.81, allocations: 16.42 MB / 5.821 GB, free: 21.38 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001829/18.81, allocations: 235.2 kB / 5.822 GB, free: 21.12 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003658/18.81, allocations: 2.005 MB / 5.824 GB, free: 20.86 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.0009284/18.81, allocations: 84.02 kB / 5.824 GB, free: 20.83 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.001134/18.81, allocations: 1.466 MB / 5.825 GB, free: 20.12 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.001402/18.82, allocations: 0.9625 MB / 5.826 GB, free: 19.52 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002853/18.82, allocations: 83.12 kB / 5.826 GB, free: 19.52 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0003079/18.82, allocations: 462.4 kB / 5.827 GB, free: 19.21 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004018/18.82, allocations: 1.944 MB / 5.828 GB, free: 19.2 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004823/18.82, allocations: 3.211 MB / 5.832 GB, free: 17.73 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005026/18.83, allocations: 2.496 MB / 5.834 GB, free: 17.56 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.83e-05/18.83, allocations: 13.25 kB / 5.834 GB, free: 17.56 MB / 0.5886 GB Notification: Performance of matching and sorting (n=508) (initialization): time 0.01427/18.84, allocations: 6.107 MB / 5.84 GB, free: 17.14 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.008503/18.85, allocations: 16.09 MB / 5.856 GB, free: 284 kB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002199/18.85, allocations: 42.08 kB / 5.856 GB, free: 280 kB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004944/18.86, allocations: 0.9914 MB / 5.857 GB, free: 256 kB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005214/18.86, allocations: 0.9324 MB / 5.858 GB, free: 256 kB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005048/18.87, allocations: 2.799 MB / 5.86 GB, free: 14.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006543/18.87, allocations: 387.2 kB / 5.861 GB, free: 14.67 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001607/18.88, allocations: 279 kB / 5.861 GB, free: 14.67 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.971e-05/18.88, allocations: 7.969 kB / 5.861 GB, free: 14.67 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01351/18.89, allocations: 5.744 MB / 5.867 GB, free: 14.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001459/18.89, allocations: 37.06 kB / 5.867 GB, free: 14.18 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004418/18.89, allocations: 0.9898 MB / 5.868 GB, free: 14.16 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004987/18.9, allocations: 0.9204 MB / 5.868 GB, free: 14.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004833/18.9, allocations: 2.799 MB / 5.871 GB, free: 12.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005833/18.91, allocations: 380.2 kB / 5.872 GB, free: 12.5 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001454/18.91, allocations: 280.9 kB / 5.872 GB, free: 12.5 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 () * 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.003778/18.92, allocations: 0.9751 MB / 5.873 GB, free: 12.22 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001141/18.92, allocations: 295 kB / 5.873 GB, free: 12.07 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01365/18.93, allocations: 6.076 MB / 5.879 GB, free: 11.77 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.454e-05/18.93, allocations: 31.03 kB / 5.879 GB, free: 11.77 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.893e-05/18.93, allocations: 3.953 kB / 5.879 GB, free: 11.77 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.43e-05/18.93, allocations: 15.19 kB / 5.879 GB, free: 11.77 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02099/18.95, allocations: 8.824 MB / 5.888 GB, free: 8.898 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.539e-05/18.95, allocations: 2.016 kB / 5.888 GB, free: 8.898 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002823/18.95, allocations: 0.5823 MB / 5.888 GB, free: 8.848 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005825/18.96, allocations: 1.16 MB / 5.889 GB, free: 8.66 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001387/18.96, allocations: 125.5 kB / 5.89 GB, free: 8.613 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004442/18.97, allocations: 2.679 MB / 5.892 GB, free: 6.711 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.99e-06/18.97, allocations: 2.438 kB / 5.892 GB, free: 6.711 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01697/18.98, allocations: 7.332 MB / 5.899 GB, free: 3.738 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003858/18.99, allocations: 0.8545 MB / 5.9 GB, free: 3.242 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001317/18.99, allocations: 72.97 kB / 5.9 GB, free: 3.195 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003913/18.99, allocations: 274.6 kB / 5.9 GB, free: 3.129 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004593/18.99, allocations: 217.7 kB / 5.901 GB, free: 3.098 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004804/18.99, allocations: 181.5 kB / 5.901 GB, free: 3.074 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.003104/19, allocations: 1.479 MB / 5.902 GB, free: 2.516 MB / 0.6042 GB Notification: Performance of sort global known variables: time 6.81e-07/19, allocations: 0 / 5.902 GB, free: 2.516 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.02551/19.02, allocations: 4.232 MB / 5.906 GB, free: 1.336 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 () * 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.02327/19.05, allocations: 5.166 MB / 5.911 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.02329/19.07, allocations: 8.22 MB / 5.919 GB, free: 8.145 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.522e-05/19.07, allocations: 4.625 kB / 5.919 GB, free: 8.141 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.006012/19.07, allocations: 2.346 MB / 5.922 GB, free: 6.109 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007373/19.08, allocations: 1.209 MB / 5.923 GB, free: 5.215 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5934/19.68, allocations: 8.854 MB / 5.932 GB, free: 64.66 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00276/19.68, allocations: 2.289 MB / 5.934 GB, free: 63.89 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.009723/19.69, allocations: 2.232 MB / 5.936 GB, free: 63.85 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001694/19.69, allocations: 387.3 kB / 5.936 GB, free: 63.85 MB / 0.6198 GB Notification: Performance of SimCode: time 1.773e-06/19.69, allocations: 0 / 5.936 GB, free: 63.85 MB / 0.6198 GB Notification: Performance of Templates: time 0.2601/19.95, allocations: 129.6 MB / 6.063 GB, free: 53.89 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)