Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_Fittings_TestMultiPortTraceSubstances",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.27/2.27, allocations: 234.9 MB / 250.5 MB, free: 9.543 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006131/0.0006131, allocations: 15.98 kB / 314.5 MB, free: 9.469 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3491/0.3497, allocations: 54.87 MB / 369.4 MB, free: 10.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.03/11.38, allocations: 3.674 GB / 4.035 GB, free: 123.3 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002898/11.38, allocations: 99.47 kB / 4.035 GB, free: 123.3 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 10.16/21.54, allocations: 1.633 GB / 5.668 GB, free: 34.91 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.986e-06/21.54, allocations: 0.9375 kB / 5.668 GB, free: 34.91 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.0004083/21.54, allocations: 89.11 kB / 5.668 GB, free: 34.91 MB / 0.5886 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.04703/21.59, allocations: 9.063 MB / 5.677 GB, free: 30.64 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 8.312e-05/21.59, allocations: 14.16 kB / 5.677 GB, free: 30.64 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003036/21.59, allocations: 426.1 kB / 5.677 GB, free: 30.58 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003884/21.59, allocations: 398.5 kB / 5.677 GB, free: 30.41 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01018/21.6, allocations: 2.143 MB / 5.68 GB, free: 29.93 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008835/21.61, allocations: 0.504 MB / 5.68 GB, free: 29.64 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002146/21.61, allocations: 282.7 kB / 5.68 GB, free: 29.64 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0179/21.63, allocations: 4.907 MB / 5.685 GB, free: 28.93 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001767/21.63, allocations: 13.47 kB / 5.685 GB, free: 28.93 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001547/21.63, allocations: 128.8 kB / 5.685 GB, free: 28.93 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005439/21.63, allocations: 257.4 kB / 5.685 GB, free: 28.92 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01795/21.65, allocations: 5.013 MB / 5.69 GB, free: 28.89 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05336/21.7, allocations: 20.58 MB / 5.71 GB, free: 18.82 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008515/21.71, allocations: 2.574 MB / 5.713 GB, free: 18.79 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003787/21.71, allocations: 3.393 MB / 5.716 GB, free: 15.31 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001209/21.71, allocations: 70.22 kB / 5.716 GB, free: 15.27 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=235): time 6.092e-06/21.71, allocations: 0 / 5.716 GB, free: 15.27 MB / 0.5886 GB Notification: Performance of matching and sorting (n=271): time 0.1072/21.82, allocations: 16.42 MB / 5.732 GB, free: 13.97 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.955e-05/21.82, allocations: 236.7 kB / 5.733 GB, free: 13.72 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004321/21.82, allocations: 2.013 MB / 5.735 GB, free: 13.46 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.001088/21.82, allocations: 79.14 kB / 5.735 GB, free: 13.43 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.001241/21.83, allocations: 1.398 MB / 5.736 GB, free: 12.66 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.001846/21.83, allocations: 0.959 MB / 5.737 GB, free: 12.05 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005729/21.83, allocations: 83.28 kB / 5.737 GB, free: 12.05 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0003113/21.83, allocations: 470.4 kB / 5.737 GB, free: 11.74 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006912/21.84, allocations: 1.942 MB / 5.739 GB, free: 11.73 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007938/21.84, allocations: 3.21 MB / 5.742 GB, free: 10.26 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008068/21.85, allocations: 2.493 MB / 5.745 GB, free: 10.09 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.788e-05/21.85, allocations: 11.78 kB / 5.745 GB, free: 10.09 MB / 0.5886 GB Notification: Performance of matching and sorting (n=508) (initialization): time 0.02142/21.87, allocations: 5.987 MB / 5.751 GB, free: 9.73 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.005599/21.88, allocations: 15.52 MB / 5.766 GB, free: 9.559 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001921/21.88, allocations: 38.5 kB / 5.766 GB, free: 9.559 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008214/21.89, allocations: 0.9927 MB / 5.767 GB, free: 9.531 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007401/21.89, allocations: 0.9312 MB / 5.768 GB, free: 9.531 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007464/21.9, allocations: 2.786 MB / 5.771 GB, free: 7.977 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007357/21.91, allocations: 393.1 kB / 5.771 GB, free: 7.957 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001128/21.91, allocations: 287.3 kB / 5.771 GB, free: 7.957 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/21.91, allocations: 8.156 kB / 5.771 GB, free: 7.957 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01993/21.93, allocations: 5.742 MB / 5.777 GB, free: 7.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001559/21.93, allocations: 44.56 kB / 5.777 GB, free: 7.68 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007858/21.94, allocations: 0.9893 MB / 5.778 GB, free: 7.652 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007233/21.95, allocations: 0.9183 MB / 5.779 GB, free: 7.594 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007674/21.95, allocations: 2.796 MB / 5.781 GB, free: 6.012 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006456/21.96, allocations: 381.3 kB / 5.782 GB, free: 5.996 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001502/21.96, allocations: 277.2 kB / 5.782 GB, free: 5.996 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.004012/21.97, allocations: 0.9811 MB / 5.783 GB, free: 5.715 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001153/21.97, allocations: 289.4 kB / 5.783 GB, free: 5.57 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02312/21.99, allocations: 6.07 MB / 5.789 GB, free: 5.266 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.202e-05/21.99, allocations: 35.45 kB / 5.789 GB, free: 5.266 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.757e-05/21.99, allocations: 3.594 kB / 5.789 GB, free: 5.266 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001271/21.99, allocations: 19.7 kB / 5.789 GB, free: 5.262 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04131/22.03, allocations: 8.825 MB / 5.798 GB, free: 4.688 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.596e-05/22.03, allocations: 0 / 5.798 GB, free: 4.688 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007426/22.04, allocations: 0.5801 MB / 5.799 GB, free: 4.66 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01068/22.05, allocations: 1.167 MB / 5.8 GB, free: 4.621 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001129/22.05, allocations: 119.4 kB / 5.8 GB, free: 4.621 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006784/22.06, allocations: 2.674 MB / 5.802 GB, free: 3.055 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.622e-06/22.06, allocations: 6 kB / 5.802 GB, free: 3.055 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.026/22.08, allocations: 7.338 MB / 5.81 GB, free: 1.059 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003627/22.09, allocations: 0.8478 MB / 5.81 GB, free: 0.5664 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001386/22.09, allocations: 74.77 kB / 5.81 GB, free: 0.5195 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00567/22.1, allocations: 276.3 kB / 5.811 GB, free: 480 kB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00106/22.1, allocations: 218.2 kB / 5.811 GB, free: 452 kB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000683/22.1, allocations: 180.2 kB / 5.811 GB, free: 428 kB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.003772/22.1, allocations: 1.473 MB / 5.813 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of sort global known variables: time 8.92e-07/22.1, allocations: 0 / 5.813 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.02295/22.12, allocations: 4.237 MB / 5.817 GB, free: 14.68 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.04961/22.17, allocations: 13.23 MB / 5.83 GB, free: 9.57 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.02991/22.2, allocations: 8.224 MB / 5.838 GB, free: 6.477 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.465e-05/22.2, allocations: 0.5625 kB / 5.838 GB, free: 6.477 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.008306/22.21, allocations: 2.355 MB / 5.84 GB, free: 5.684 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01055/22.22, allocations: 1.209 MB / 5.841 GB, free: 5.363 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.64/22.86, allocations: 40.02 MB / 5.88 GB, free: 56.89 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004001/22.87, allocations: 2.286 MB / 5.882 GB, free: 56.12 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005316/22.87, allocations: 1.512 MB / 5.884 GB, free: 56.12 MB / 0.6355 GB Notification: Performance of SimCode: time 1.673e-06/22.87, allocations: 5.188 kB / 5.884 GB, free: 56.12 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.628/28.5, allocations: 144.2 MB / 6.025 GB, free: 41.34 MB / 0.6355 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances_res.mat does not exist to compare? outputFormat=mat