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/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.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.337/2.337, allocations: 235.1 MB / 243 MB, free: 9.594 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.289e-05/2.308e-05, allocations: 7.984 kB / 303.3 MB, free: 13.2 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3568/0.3569, allocations: 54.84 MB / 358.1 MB, free: 14.86 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7452/1.102, allocations: 296.5 MB / 0.6393 GB, free: 7.535 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002999/1.102, allocations: 87.64 kB / 0.6393 GB, free: 7.488 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7859/1.888, allocations: 149 MB / 0.7849 GB, free: 68.34 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.405e-06/1.888, allocations: 0 / 0.7849 GB, free: 68.34 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.82e-05/1.889, allocations: 23.98 kB / 0.7849 GB, free: 68.31 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.003465/1.892, allocations: 1.081 MB / 0.7859 GB, free: 67.19 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.249e-05/1.892, allocations: 8.031 kB / 0.7859 GB, free: 67.18 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008446/1.893, allocations: 118.9 kB / 0.7861 GB, free: 67.06 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001831/1.895, allocations: 0.6217 MB / 0.7867 GB, free: 66.39 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002112/1.895, allocations: 220.2 kB / 0.7869 GB, free: 66.14 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001865/1.895, allocations: 44 kB / 0.7869 GB, free: 66.1 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00207/1.897, allocations: 0.7966 MB / 0.7877 GB, free: 65.3 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002333/1.9, allocations: 1.133 MB / 0.7888 GB, free: 64.04 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.734e-05/1.9, allocations: 11.92 kB / 0.7888 GB, free: 64.02 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001424/1.9, allocations: 11.95 kB / 0.7888 GB, free: 64.01 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.253e-05/1.9, allocations: 41.25 kB / 0.7889 GB, free: 63.97 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0088/1.909, allocations: 6.734 MB / 0.7954 GB, free: 56.84 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005155/1.909, allocations: 242.5 kB / 0.7957 GB, free: 56.59 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002532/1.91, allocations: 124.8 kB / 0.7958 GB, free: 56.46 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003092/1.913, allocations: 2.717 MB / 0.7984 GB, free: 53.27 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.972e-05/1.913, allocations: 42.45 kB / 0.7985 GB, free: 53.22 MB / 490.7 MB Notification: Performance of pre-optimization done (n=19): time 2.735e-06/1.913, allocations: 0 / 0.7985 GB, free: 53.22 MB / 490.7 MB Notification: Performance of matching and sorting (n=25): time 0.002703/1.916, allocations: 0.8016 MB / 0.7993 GB, free: 52.37 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.716e-05/1.916, allocations: 55.41 kB / 0.7993 GB, free: 52.3 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001058/1.917, allocations: 0.6637 MB / 0.8 GB, free: 51.63 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 7.113e-05/1.917, allocations: 25.7 kB / 0.8 GB, free: 51.6 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003937/1.917, allocations: 0.6614 MB / 0.8006 GB, free: 50.93 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.728e-05/1.917, allocations: 110.7 kB / 0.8007 GB, free: 50.82 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.081e-05/1.917, allocations: 0 / 0.8007 GB, free: 50.82 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001073/1.918, allocations: 362.8 kB / 0.8011 GB, free: 50.46 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004202/1.918, allocations: 198.5 kB / 0.8013 GB, free: 50.26 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008333/1.919, allocations: 1.012 MB / 0.8023 GB, free: 48.84 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001081/1.92, allocations: 431.3 kB / 0.8027 GB, free: 48.41 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.72e-05/1.92, allocations: 12 kB / 0.8027 GB, free: 48.4 MB / 490.7 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.002359/1.922, allocations: 1.014 MB / 0.8037 GB, free: 47.38 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.75e-05/1.922, allocations: 19.95 kB / 0.8037 GB, free: 47.36 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.161e-05/1.922, allocations: 32 kB / 0.8037 GB, free: 47.33 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.008e-05/1.923, allocations: 43.98 kB / 0.8038 GB, free: 47.29 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001372/1.924, allocations: 299.4 kB / 0.8041 GB, free: 47 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-05/1.924, allocations: 60.33 kB / 0.8041 GB, free: 46.94 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00115/1.925, allocations: 47.89 kB / 0.8042 GB, free: 46.89 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001148/1.925, allocations: 80 kB / 0.8042 GB, free: 46.81 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.0002286/1.925, allocations: 183.1 kB / 0.8044 GB, free: 46.63 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007573/1.926, allocations: 256.8 kB / 0.8047 GB, free: 46.37 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001165/1.926, allocations: 83.02 kB / 0.8047 GB, free: 46.29 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00102/1.927, allocations: 329.5 kB / 0.8051 GB, free: 45.96 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.788e-06/1.927, allocations: 4 kB / 0.8051 GB, free: 45.95 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/1.927, allocations: 0 / 0.8051 GB, free: 45.95 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.336e-06/1.927, allocations: 3.984 kB / 0.8051 GB, free: 45.95 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001733/1.929, allocations: 0.8145 MB / 0.8059 GB, free: 45.09 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.65e-06/1.929, allocations: 0 / 0.8059 GB, free: 45.09 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004399/1.93, allocations: 63.97 kB / 0.8059 GB, free: 45.02 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.418e-06/1.93, allocations: 4 kB / 0.8059 GB, free: 45.02 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.308e-05/1.93, allocations: 7.922 kB / 0.8059 GB, free: 45.01 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.52e-06/1.93, allocations: 4 kB / 0.8059 GB, free: 45.01 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/1.93, allocations: 0 / 0.8059 GB, free: 45.01 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001034/1.931, allocations: 0.5203 MB / 0.8064 GB, free: 44.45 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000329/1.931, allocations: 172.1 kB / 0.8066 GB, free: 44.27 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001335/1.931, allocations: 0 / 0.8066 GB, free: 44.27 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005534/1.932, allocations: 15.89 kB / 0.8066 GB, free: 44.25 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.589e-05/1.932, allocations: 15.97 kB / 0.8066 GB, free: 44.23 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.147e-05/1.932, allocations: 19.98 kB / 0.8067 GB, free: 44.21 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0007384/1.933, allocations: 455.1 kB / 0.8071 GB, free: 43.77 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.41e-07/1.933, allocations: 0 / 0.8071 GB, free: 43.77 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001711/1.935, allocations: 251.9 kB / 0.8073 GB, free: 43.53 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.001962/1.937, allocations: 1.462 MB / 0.8088 GB, free: 42.02 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001219/1.938, allocations: 0.5419 MB / 0.8093 GB, free: 41.48 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.571e-06/1.938, allocations: 4.25 kB / 0.8093 GB, free: 41.48 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001941/1.938, allocations: 115.8 kB / 0.8094 GB, free: 41.37 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00205/1.94, allocations: 243.8 kB / 0.8096 GB, free: 41.13 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003593/1.944, allocations: 1.223 MB / 0.8108 GB, free: 39.86 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005566/1.944, allocations: 1.004 MB / 0.8118 GB, free: 38.82 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005132/1.945, allocations: 303.2 kB / 0.8121 GB, free: 38.53 MB / 490.7 MB Notification: Performance of SimCode: time 1.132e-06/1.945, allocations: 0 / 0.8121 GB, free: 38.53 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.003/4.948, allocations: 16.22 MB / 0.8279 GB, free: 22.31 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