Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestComponents_Fittings_TestMultiPortTraceSubstances",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.01387/0.01387, allocations: 175.9 kB / 15.12 MB, free: 5.934 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 2.144/2.144, allocations: 194.5 MB / 210.3 MB, free: 7.613 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.002026/0.002026, allocations: 120.6 kB / 255.6 MB, free: 10.23 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2614/0.2614, allocations: 40.01 MB / 340.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004942/0.0004943, allocations: 10.72 kB / 406.3 MB, free: 51.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1025/0.103, allocations: 54.88 MB / 461.1 MB, free: 3.211 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.96/11.06, allocations: 3.674 GB / 4.124 GB, free: 112.7 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003028/11.06, allocations: 88.08 kB / 4.124 GB, free: 112.7 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.885/20.95, allocations: 1.633 GB / 5.757 GB, free: 26.85 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.886e-06/20.95, allocations: 0 / 5.757 GB, free: 26.85 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.0003688/20.95, allocations: 88.06 kB / 5.757 GB, free: 26.83 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.04481/20.99, allocations: 9.062 MB / 5.766 GB, free: 22.22 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 5.043e-05/20.99, allocations: 10.44 kB / 5.766 GB, free: 22.22 MB / 0.573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002254/20.99, allocations: 431.2 kB / 5.767 GB, free: 22.16 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002115/21, allocations: 395.2 kB / 5.767 GB, free: 21.99 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008604/21.01, allocations: 2.137 MB / 5.769 GB, free: 21.52 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000558/21.01, allocations: 0.4962 MB / 5.77 GB, free: 21.23 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001379/21.01, allocations: 285.5 kB / 5.77 GB, free: 21.23 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01422/21.02, allocations: 4.912 MB / 5.775 GB, free: 20.52 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001287/21.02, allocations: 15.59 kB / 5.775 GB, free: 20.51 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006916/21.02, allocations: 124.6 kB / 5.775 GB, free: 20.51 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004948/21.02, allocations: 263.2 kB / 5.775 GB, free: 20.5 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01591/21.04, allocations: 5.009 MB / 5.78 GB, free: 20.47 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05003/21.09, allocations: 20.59 MB / 5.8 GB, free: 10.39 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00795/21.1, allocations: 2.578 MB / 5.803 GB, free: 10.35 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004448/21.1, allocations: 3.394 MB / 5.806 GB, free: 22.87 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.506e-05/21.1, allocations: 65.78 kB / 5.806 GB, free: 22.83 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=235): time 5.73e-06/21.1, allocations: 0 / 5.806 GB, free: 22.83 MB / 0.5886 GB Notification: Performance of matching and sorting (n=271): time 0.1077/21.21, allocations: 16.41 MB / 5.822 GB, free: 21.53 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001668/21.21, allocations: 241.8 kB / 5.822 GB, free: 21.28 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004708/21.21, allocations: 2.003 MB / 5.824 GB, free: 21.02 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.001184/21.22, allocations: 82.39 kB / 5.824 GB, free: 20.99 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.001598/21.22, allocations: 1.466 MB / 5.826 GB, free: 20.28 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.001907/21.22, allocations: 0.9612 MB / 5.827 GB, free: 19.68 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007299/21.22, allocations: 87.56 kB / 5.827 GB, free: 19.68 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0004402/21.22, allocations: 464.1 kB / 5.827 GB, free: 19.37 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007507/21.23, allocations: 1.941 MB / 5.829 GB, free: 19.36 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009042/21.24, allocations: 3.206 MB / 5.832 GB, free: 17.89 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00883/21.25, allocations: 2.5 MB / 5.835 GB, free: 17.71 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.643e-05/21.25, allocations: 17.17 kB / 5.835 GB, free: 17.71 MB / 0.5886 GB Notification: Performance of matching and sorting (n=508) (initialization): time 0.02323/21.27, allocations: 6.104 MB / 5.841 GB, free: 17.11 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.006636/21.28, allocations: 16.1 MB / 5.856 GB, free: 240 kB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001565/21.28, allocations: 43.77 kB / 5.856 GB, free: 240 kB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008384/21.29, allocations: 0.9956 MB / 5.857 GB, free: 204 kB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007655/21.29, allocations: 0.9276 MB / 5.858 GB, free: 144 kB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00779/21.3, allocations: 2.794 MB / 5.861 GB, free: 14.53 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007896/21.31, allocations: 387.8 kB / 5.861 GB, free: 14.49 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001878/21.31, allocations: 279.8 kB / 5.862 GB, free: 14.49 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/21.31, allocations: 3.5 kB / 5.862 GB, free: 14.49 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02463/21.34, allocations: 5.751 MB / 5.867 GB, free: 13.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001471/21.34, allocations: 43.28 kB / 5.867 GB, free: 13.22 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00833/21.34, allocations: 0.9805 MB / 5.868 GB, free: 13.02 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0076/21.35, allocations: 0.9213 MB / 5.869 GB, free: 12.93 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00794/21.36, allocations: 2.802 MB / 5.872 GB, free: 10.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007338/21.37, allocations: 376.7 kB / 5.872 GB, free: 10.86 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001685/21.37, allocations: 281.1 kB / 5.872 GB, free: 10.82 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.004217/21.37, allocations: 0.986 MB / 5.873 GB, free: 10.24 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001252/21.37, allocations: 285.6 kB / 5.874 GB, free: 10.1 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02482/21.4, allocations: 6.074 MB / 5.88 GB, free: 7.828 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.345e-05/21.4, allocations: 36.88 kB / 5.88 GB, free: 7.824 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.655e-05/21.4, allocations: 2.688 kB / 5.88 GB, free: 7.824 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001154/21.4, allocations: 15.05 kB / 5.88 GB, free: 7.824 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03291/21.43, allocations: 8.83 MB / 5.888 GB, free: 4.422 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.337e-05/21.43, allocations: 4.031 kB / 5.888 GB, free: 4.418 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005324/21.44, allocations: 0.5685 MB / 5.889 GB, free: 4.371 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01017/21.45, allocations: 1.167 MB / 5.89 GB, free: 4.145 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001159/21.45, allocations: 129.5 kB / 5.89 GB, free: 4.094 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007046/21.46, allocations: 2.673 MB / 5.893 GB, free: 1.938 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/21.46, allocations: 0 / 5.893 GB, free: 1.938 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02725/21.48, allocations: 7.371 MB / 5.9 GB, free: 11.49 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004016/21.49, allocations: 0.8554 MB / 5.901 GB, free: 10.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001285/21.49, allocations: 73.62 kB / 5.901 GB, free: 10.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005442/21.49, allocations: 275.4 kB / 5.901 GB, free: 10.49 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008491/21.5, allocations: 217.8 kB / 5.901 GB, free: 10.36 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006861/21.5, allocations: 186.1 kB / 5.901 GB, free: 10.2 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.003845/21.5, allocations: 1.473 MB / 5.903 GB, free: 8.961 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5.31e-07/21.5, allocations: 0 / 5.903 GB, free: 8.961 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.02369/21.52, allocations: 4.236 MB / 5.907 GB, free: 4.836 MB / 0.6198 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.6148/22.14, allocations: 13.24 MB / 5.92 GB, free: 68 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.02877/22.17, allocations: 8.228 MB / 5.928 GB, free: 67.41 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.464e-05/22.17, allocations: 3.594 kB / 5.928 GB, free: 67.41 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.007883/22.18, allocations: 2.35 MB / 5.93 GB, free: 67.39 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01039/22.19, allocations: 1.206 MB / 5.931 GB, free: 67.36 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04345/22.23, allocations: 39.68 MB / 5.97 GB, free: 35.37 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002517/22.23, allocations: 2.289 MB / 5.972 GB, free: 34.6 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.01336/22.24, allocations: 2.227 MB / 5.975 GB, free: 34.5 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004534/22.25, allocations: 1.427 MB / 5.976 GB, free: 34.5 MB / 0.6198 GB Notification: Performance of SimCode: time 1.273e-06/22.25, allocations: 0 / 5.976 GB, free: 34.5 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.368/22.62, allocations: 165 MB / 6.137 GB, free: 14.74 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002717/22.62, allocations: 280.3 kB / 6.137 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.91/33.53, allocations: 1.531 kB / 6.137 GB, free: 14.38 MB / 0.6511 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances_res.mat does not exist to compare? outputFormat=mat