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.Vessels.TestMixingVolumes.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.Vessels.TestMixingVolumes,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.365/2.365, allocations: 235 MB / 248.1 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.447e-05/3.457e-05, allocations: 0 / 309.8 MB, free: 1.242 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4019/0.402, allocations: 54.86 MB / 364.6 MB, free: 5.555 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7446/1.147, allocations: 297.1 MB / 0.6463 GB, free: 34.57 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003054/1.147, allocations: 86.72 kB / 0.6463 GB, free: 34.52 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8374/1.984, allocations: 150.6 MB / 0.7934 GB, free: 123.5 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.084e-06/1.985, allocations: 0 / 0.7934 GB, free: 123.5 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.371e-05/1.985, allocations: 23.05 kB / 0.7934 GB, free: 123.5 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 206 * Number of variables: 206 Notification: Performance of Generate backend data structure: time 0.00333/1.988, allocations: 1.069 MB / 0.7944 GB, free: 122.4 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.631e-05/1.988, allocations: 12.03 kB / 0.7944 GB, free: 122.4 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004117/1.988, allocations: 139.1 kB / 0.7946 GB, free: 122.2 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007054/1.989, allocations: 110.9 kB / 0.7947 GB, free: 122.1 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001873/1.991, allocations: 0.6327 MB / 0.7953 GB, free: 121.5 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002116/1.991, allocations: 252.2 kB / 0.7955 GB, free: 121.2 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00022/1.992, allocations: 76 kB / 0.7956 GB, free: 121.1 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00297/1.995, allocations: 1.254 MB / 0.7968 GB, free: 119.7 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.725e-05/1.995, allocations: 15.89 kB / 0.7969 GB, free: 119.7 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001871/1.995, allocations: 41.48 kB / 0.7969 GB, free: 119.7 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.166e-05/1.995, allocations: 41.3 kB / 0.7969 GB, free: 119.6 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002385/1.997, allocations: 0.9027 MB / 0.7978 GB, free: 118.7 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009177/2.007, allocations: 6.534 MB / 0.8042 GB, free: 111.9 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000647/2.007, allocations: 272.5 kB / 0.8045 GB, free: 111.6 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003201/2.008, allocations: 149.5 kB / 0.8046 GB, free: 111.4 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003661/2.011, allocations: 3.11 MB / 0.8076 GB, free: 107.8 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.729e-05/2.011, allocations: 38.56 kB / 0.8077 GB, free: 107.8 MB / 490.7 MB Notification: Performance of pre-optimization done (n=19): time 3.586e-06/2.011, allocations: 4 kB / 0.8077 GB, free: 107.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=25): time 0.002574/2.014, allocations: 0.8496 MB / 0.8085 GB, free: 106.9 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.388e-05/2.014, allocations: 59.39 kB / 0.8086 GB, free: 106.8 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001165/2.015, allocations: 0.7028 MB / 0.8093 GB, free: 106.1 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 7.956e-05/2.015, allocations: 29.7 kB / 0.8093 GB, free: 106 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003898/2.016, allocations: 0.6718 MB / 0.8099 GB, free: 105.4 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001015/2.016, allocations: 102.8 kB / 0.81 GB, free: 105.3 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.042e-05/2.016, allocations: 32 kB / 0.8101 GB, free: 105.2 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001108/2.016, allocations: 362.8 kB / 0.8104 GB, free: 104.9 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005165/2.017, allocations: 218.8 kB / 0.8106 GB, free: 104.7 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008698/2.017, allocations: 1.029 MB / 0.8116 GB, free: 103.2 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009247/2.018, allocations: 459.4 kB / 0.8121 GB, free: 102.8 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.717e-05/2.018, allocations: 11.98 kB / 0.8121 GB, free: 102.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.002483/2.021, allocations: 1.192 MB / 0.8132 GB, free: 101.6 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.662e-05/2.021, allocations: 16.94 kB / 0.8133 GB, free: 101.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.287e-05/2.021, allocations: 32 kB / 0.8133 GB, free: 101.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.548e-05/2.021, allocations: 47.98 kB / 0.8133 GB, free: 101.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001422/2.022, allocations: 299.4 kB / 0.8136 GB, free: 101.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.973e-05/2.023, allocations: 51.8 kB / 0.8137 GB, free: 101.1 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001288/2.024, allocations: 71.92 kB / 0.8137 GB, free: 101.1 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001264/2.024, allocations: 76 kB / 0.8138 GB, free: 101 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 135 * Number of states: 0 () * Number of discrete variables: 12 (mixingVolume1.regularFlow[1],mixingVolume1.regularFlow[2],mixingVolume1.regularFlow[3],mixingVolume2.regularFlow[1],mixingVolume2.regularFlow[2],mixingVolume2.regularFlow[3],mixingVolume2.inFlow[3],mixingVolume2.inFlow[2],mixingVolume2.inFlow[1],mixingVolume1.inFlow[3],mixingVolume1.inFlow[2],mixingVolume1.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (163): * Single equations (assignments): 163 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000245/2.024, allocations: 217.5 kB / 0.814 GB, free: 100.8 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001439/2.024, allocations: 86.92 kB / 0.8141 GB, free: 100.7 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008709/2.025, allocations: 328 kB / 0.8144 GB, free: 100.4 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.075e-05/2.025, allocations: 4 kB / 0.8144 GB, free: 100.4 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/2.025, allocations: 0 / 0.8144 GB, free: 100.4 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-06/2.025, allocations: 3.984 kB / 0.8144 GB, free: 100.3 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001774/2.027, allocations: 0.9018 MB / 0.8153 GB, free: 99.39 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.232e-06/2.027, allocations: 0 / 0.8153 GB, free: 99.39 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004334/2.028, allocations: 59.97 kB / 0.8154 GB, free: 99.33 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.027e-05/2.028, allocations: 0 / 0.8154 GB, free: 99.33 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.636e-05/2.028, allocations: 11.94 kB / 0.8154 GB, free: 99.32 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.099e-06/2.028, allocations: 0 / 0.8154 GB, free: 99.32 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.828e-06/2.028, allocations: 8 kB / 0.8154 GB, free: 99.31 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008996/2.029, allocations: 0.5355 MB / 0.8159 GB, free: 98.74 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003546/2.029, allocations: 172.1 kB / 0.8161 GB, free: 98.55 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001282/2.029, allocations: 11.98 kB / 0.8161 GB, free: 98.54 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000592/2.03, allocations: 12 kB / 0.8161 GB, free: 98.53 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.994e-05/2.03, allocations: 31.92 kB / 0.8161 GB, free: 98.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.252e-05/2.03, allocations: 19.98 kB / 0.8161 GB, free: 98.48 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0009/2.031, allocations: 487.1 kB / 0.8166 GB, free: 98.01 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.71e-07/2.031, allocations: 0 / 0.8166 GB, free: 98.01 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001772/2.033, allocations: 286.1 kB / 0.8169 GB, free: 97.73 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (mixingVolume1.medium.T,mixingVolume2.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00196/2.035, allocations: 1.48 MB / 0.8183 GB, free: 96.25 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001403/2.036, allocations: 0.6143 MB / 0.8189 GB, free: 95.64 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.122e-06/2.036, allocations: 0 / 0.8189 GB, free: 95.64 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000227/2.036, allocations: 109.7 kB / 0.819 GB, free: 95.53 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002071/2.038, allocations: 255.4 kB / 0.8193 GB, free: 95.28 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00365/2.042, allocations: 1.268 MB / 0.8205 GB, free: 93.96 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005931/2.043, allocations: 1.004 MB / 0.8215 GB, free: 92.93 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005407/2.043, allocations: 299.3 kB / 0.8218 GB, free: 92.64 MB / 490.7 MB Notification: Performance of SimCode: time 1.372e-06/2.043, allocations: 0 / 0.8218 GB, free: 92.64 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.038/5.081, allocations: 16.36 MB / 0.8377 GB, free: 76.28 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes_res.mat does not exist to compare? outputFormat=mat