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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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: 235.1 MB / 243 MB, free: 9.582 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.232e-05/2.244e-05, allocations: 4 kB / 303.3 MB, free: 13.2 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3967/0.3968, allocations: 54.85 MB / 358.1 MB, free: 14.85 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.19/11.59, allocations: 3.673 GB / 4.023 GB, free: 103.1 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003047/11.59, allocations: 84.05 kB / 4.023 GB, free: 103.1 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 10.06/21.65, allocations: 1.615 GB / 5.638 GB, free: 20.44 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.805e-06/21.65, allocations: 0 / 5.638 GB, free: 20.44 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0004968/21.65, allocations: 86.36 kB / 5.638 GB, free: 20.42 MB / 0.5573 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.04374/21.7, allocations: 8.725 MB / 5.647 GB, free: 15.56 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.751e-05/21.7, allocations: 11.44 kB / 5.647 GB, free: 15.56 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003493/21.7, allocations: 403.1 kB / 5.647 GB, free: 15.38 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009458/21.71, allocations: 2.13 MB / 5.649 GB, free: 14.83 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006814/21.71, allocations: 400.7 kB / 5.649 GB, free: 14.54 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002111/21.71, allocations: 168.7 kB / 5.65 GB, free: 14.54 MB / 0.5573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01418/21.73, allocations: 4.385 MB / 5.654 GB, free: 14.52 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01685/21.74, allocations: 4.418 MB / 5.658 GB, free: 13.77 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001622/21.74, allocations: 18.5 kB / 5.658 GB, free: 13.77 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001356/21.75, allocations: 10.56 kB / 5.658 GB, free: 13.77 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005211/21.75, allocations: 265.3 kB / 5.659 GB, free: 13.75 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05248/21.8, allocations: 20.12 MB / 5.678 GB, free: 0.8984 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00752/21.81, allocations: 2.384 MB / 5.68 GB, free: 15.28 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004639/21.81, allocations: 1.423 MB / 5.682 GB, free: 13.98 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004655/21.82, allocations: 3.348 MB / 5.685 GB, free: 10.1 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001045/21.82, allocations: 64.56 kB / 5.685 GB, free: 10.03 MB / 0.573 GB Notification: Performance of pre-optimization done (n=232): time 5.79e-06/21.82, allocations: 0 / 5.685 GB, free: 10.03 MB / 0.573 GB Notification: Performance of matching and sorting (n=268): time 0.1016/21.92, allocations: 14.05 MB / 5.699 GB, free: 15.66 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001542/21.92, allocations: 231.7 kB / 5.699 GB, free: 15.38 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004529/21.92, allocations: 1.676 MB / 5.701 GB, free: 13.86 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.001171/21.92, allocations: 29.7 kB / 5.701 GB, free: 13.82 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0017/21.92, allocations: 1.428 MB / 5.702 GB, free: 12.48 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.002105/21.93, allocations: 0.9179 MB / 5.703 GB, free: 11.65 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005565/21.93, allocations: 4 kB / 5.703 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0003996/21.93, allocations: 477.7 kB / 5.704 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005038/21.93, allocations: 1.699 MB / 5.705 GB, free: 9.672 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006893/21.94, allocations: 2.933 MB / 5.708 GB, free: 6.395 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04375/21.98, allocations: 5.728 MB / 5.714 GB, free: 2.102 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.513e-05/21.98, allocations: 8 kB / 5.714 GB, free: 2.094 MB / 0.5886 GB Notification: Performance of matching and sorting (n=508) (initialization): time 0.6374/22.62, allocations: 8.582 MB / 5.722 GB, free: 51.26 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.004391/22.63, allocations: 15.53 MB / 5.737 GB, free: 35.11 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001968/22.63, allocations: 37.75 kB / 5.737 GB, free: 35.11 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004881/22.63, allocations: 0.7312 MB / 5.738 GB, free: 35.08 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007942/22.64, allocations: 0.9234 MB / 5.739 GB, free: 35.08 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004054/22.64, allocations: 2.531 MB / 5.741 GB, free: 33.53 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007971/22.65, allocations: 312.7 kB / 5.742 GB, free: 33.53 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001877/22.65, allocations: 284.2 kB / 5.742 GB, free: 33.53 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.971e-05/22.65, allocations: 6.844 kB / 5.742 GB, free: 33.53 MB / 0.5886 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05123/22.7, allocations: 8.136 MB / 5.75 GB, free: 33.42 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001532/22.7, allocations: 38.41 kB / 5.75 GB, free: 33.42 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004654/22.71, allocations: 0.722 MB / 5.751 GB, free: 33.39 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007712/22.72, allocations: 0.9245 MB / 5.752 GB, free: 33.39 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004052/22.72, allocations: 2.532 MB / 5.754 GB, free: 31.84 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006753/22.73, allocations: 299.3 kB / 5.754 GB, free: 31.84 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001567/22.73, allocations: 277.8 kB / 5.755 GB, free: 31.84 MB / 0.5886 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.001693/22.73, allocations: 243.3 kB / 5.755 GB, free: 31.73 MB / 0.5886 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02493/22.76, allocations: 4.841 MB / 5.76 GB, free: 31.59 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001726/22.76, allocations: 275.9 kB / 5.76 GB, free: 31.58 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02489/22.78, allocations: 6.235 MB / 5.766 GB, free: 31.29 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.853e-05/22.78, allocations: 35.33 kB / 5.766 GB, free: 31.29 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.383e-05/22.78, allocations: 1.469 kB / 5.766 GB, free: 31.29 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.048e-05/22.78, allocations: 14.59 kB / 5.766 GB, free: 31.29 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03106/22.81, allocations: 8.416 MB / 5.774 GB, free: 30.79 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.986e-05/22.81, allocations: 2.719 kB / 5.774 GB, free: 30.79 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005057/22.82, allocations: 0.547 MB / 5.775 GB, free: 30.79 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006606/22.83, allocations: 0.8983 MB / 5.776 GB, free: 30.75 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001133/22.83, allocations: 85.78 kB / 5.776 GB, free: 30.75 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003514/22.83, allocations: 2.426 MB / 5.778 GB, free: 29.18 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.887e-06/22.83, allocations: 3.438 kB / 5.778 GB, free: 29.18 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02636/22.86, allocations: 7.032 MB / 5.785 GB, free: 28.58 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003622/22.86, allocations: 0.8299 MB / 5.786 GB, free: 28.34 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001403/22.86, allocations: 21.19 kB / 5.786 GB, free: 28.34 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005814/22.87, allocations: 228 kB / 5.786 GB, free: 28.33 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001162/22.87, allocations: 205.5 kB / 5.786 GB, free: 28.33 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007567/22.87, allocations: 171.9 kB / 5.786 GB, free: 28.33 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.003104/22.87, allocations: 1.205 MB / 5.787 GB, free: 28.18 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.122e-06/22.87, allocations: 1.375 kB / 5.787 GB, free: 28.18 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.02271/22.9, allocations: 3.949 MB / 5.791 GB, free: 28.18 MB / 0.5886 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 (285): * Single equations (assignments): 273 * 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.0513/22.95, allocations: 13.28 MB / 5.804 GB, free: 26.42 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.02122/22.97, allocations: 7.303 MB / 5.811 GB, free: 25.85 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.479e-05/22.97, allocations: 2.312 kB / 5.811 GB, free: 25.85 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.006352/22.97, allocations: 2.041 MB / 5.813 GB, free: 25.84 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0105/22.99, allocations: 1.05 MB / 5.814 GB, free: 25.8 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03358/23.02, allocations: 8.329 MB / 5.823 GB, free: 24.65 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002692/23.02, allocations: 2.279 MB / 5.825 GB, free: 23.88 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00517/23.03, allocations: 1.495 MB / 5.826 GB, free: 23.88 MB / 0.5886 GB Notification: Performance of SimCode: time 2.104e-06/23.03, allocations: 2.625 kB / 5.826 GB, free: 23.88 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 6.212/29.24, allocations: 144.8 MB / 5.968 GB, free: 82.13 MB / 0.6198 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