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.39/2.39, allocations: 234.9 MB / 250.5 MB, free: 9.555 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004457/0.0004454, allocations: 20 kB / 314.5 MB, free: 9.457 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3526/0.3531, allocations: 54.85 MB / 369.4 MB, free: 10.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7404/1.094, allocations: 297.2 MB / 0.651 GB, free: 0.8516 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003345/1.094, allocations: 87.83 kB / 0.651 GB, free: 0.8047 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7908/1.885, allocations: 151.1 MB / 0.7986 GB, free: 54.4 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.955e-06/1.885, allocations: 0 / 0.7986 GB, free: 54.4 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.31e-05/1.885, allocations: 23.94 kB / 0.7986 GB, free: 54.38 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.0045/1.889, allocations: 1.136 MB / 0.7997 GB, free: 53.19 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.684e-05/1.89, allocations: 12.03 kB / 0.7998 GB, free: 53.18 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006296/1.89, allocations: 139.1 kB / 0.7999 GB, free: 53.04 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001253/1.891, allocations: 118.9 kB / 0.8 GB, free: 52.92 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003089/1.895, allocations: 0.6348 MB / 0.8006 GB, free: 52.24 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001036/1.896, allocations: 256.1 kB / 0.8009 GB, free: 51.95 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004546/1.896, allocations: 76 kB / 0.8009 GB, free: 51.88 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005233/1.901, allocations: 1.271 MB / 0.8022 GB, free: 50.47 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.981e-05/1.902, allocations: 11.94 kB / 0.8022 GB, free: 50.46 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003733/1.902, allocations: 39.95 kB / 0.8022 GB, free: 50.42 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001216/1.902, allocations: 37.3 kB / 0.8023 GB, free: 50.39 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004738/1.907, allocations: 0.9298 MB / 0.8032 GB, free: 49.46 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01002/1.917, allocations: 6.529 MB / 0.8096 GB, free: 42.57 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006969/1.918, allocations: 288.4 kB / 0.8098 GB, free: 42.27 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00313/1.921, allocations: 3.031 MB / 0.8128 GB, free: 38.7 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.524e-05/1.921, allocations: 50.44 kB / 0.8128 GB, free: 38.64 MB / 490.7 MB Notification: Performance of pre-optimization done (n=19): time 2.325e-06/1.921, allocations: 4 kB / 0.8128 GB, free: 38.64 MB / 490.7 MB Notification: Performance of matching and sorting (n=25): time 0.002463/1.923, allocations: 0.8958 MB / 0.8137 GB, free: 37.69 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.83e-05/1.923, allocations: 63.28 kB / 0.8138 GB, free: 37.61 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001092/1.925, allocations: 0.7105 MB / 0.8145 GB, free: 36.9 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.744e-05/1.925, allocations: 33.7 kB / 0.8145 GB, free: 36.86 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003819/1.925, allocations: 0.6653 MB / 0.8151 GB, free: 36.18 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.885e-05/1.925, allocations: 106.7 kB / 0.8153 GB, free: 36.08 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.445e-05/1.925, allocations: 32 kB / 0.8153 GB, free: 36.05 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001042/1.925, allocations: 358.8 kB / 0.8156 GB, free: 35.69 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005069/1.926, allocations: 226.5 kB / 0.8158 GB, free: 35.47 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008795/1.927, allocations: 1.045 MB / 0.8169 GB, free: 34.01 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008274/1.928, allocations: 459.4 kB / 0.8173 GB, free: 33.56 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.542e-05/1.928, allocations: 8 kB / 0.8173 GB, free: 33.55 MB / 490.7 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.002357/1.93, allocations: 1.208 MB / 0.8185 GB, free: 32.34 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.384e-05/1.93, allocations: 20.94 kB / 0.8185 GB, free: 32.32 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.122e-05/1.93, allocations: 28 kB / 0.8185 GB, free: 32.29 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.83e-05/1.93, allocations: 44 kB / 0.8186 GB, free: 32.25 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001336/1.931, allocations: 299.4 kB / 0.8189 GB, free: 31.96 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.018e-05/1.931, allocations: 59.73 kB / 0.8189 GB, free: 31.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001107/1.933, allocations: 71.83 kB / 0.819 GB, free: 31.83 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001038/1.933, allocations: 76 kB / 0.8191 GB, free: 31.75 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 () * Number of clocked 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.0005482/1.933, allocations: 345 kB / 0.8194 GB, free: 31.41 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001289/1.933, allocations: 83.06 kB / 0.8195 GB, free: 31.32 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000865/1.934, allocations: 345.8 kB / 0.8198 GB, free: 30.98 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.076e-05/1.934, allocations: 0 / 0.8198 GB, free: 30.98 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/1.934, allocations: 3.938 kB / 0.8198 GB, free: 30.97 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.134e-06/1.934, allocations: 0 / 0.8198 GB, free: 30.97 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001559/1.936, allocations: 0.892 MB / 0.8207 GB, free: 30.02 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.192e-06/1.936, allocations: 4 kB / 0.8207 GB, free: 30.02 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004158/1.936, allocations: 59.91 kB / 0.8207 GB, free: 29.96 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.386e-06/1.936, allocations: 0 / 0.8207 GB, free: 29.96 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.625e-05/1.936, allocations: 15.92 kB / 0.8207 GB, free: 29.94 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.508e-06/1.936, allocations: 0 / 0.8207 GB, free: 29.94 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/1.936, allocations: 4 kB / 0.8208 GB, free: 29.94 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008089/1.937, allocations: 0.5393 MB / 0.8213 GB, free: 29.36 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002464/1.938, allocations: 172.2 kB / 0.8214 GB, free: 29.18 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001551/1.938, allocations: 11.98 kB / 0.8215 GB, free: 29.16 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005336/1.938, allocations: 12 kB / 0.8215 GB, free: 29.15 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.413e-05/1.938, allocations: 23.98 kB / 0.8215 GB, free: 29.13 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.945e-05/1.938, allocations: 19.98 kB / 0.8215 GB, free: 29.11 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0007564/1.939, allocations: 495 kB / 0.822 GB, free: 28.63 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.91e-07/1.939, allocations: 0 / 0.822 GB, free: 28.63 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001567/1.941, allocations: 287.9 kB / 0.8223 GB, free: 28.35 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 () * Number of clocked 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.001879/1.943, allocations: 1.487 MB / 0.8237 GB, free: 26.83 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001386/1.944, allocations: 0.6194 MB / 0.8243 GB, free: 26.22 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/1.944, allocations: 0 / 0.8243 GB, free: 26.22 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002186/1.944, allocations: 111.8 kB / 0.8244 GB, free: 26.11 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001919/1.946, allocations: 257.4 kB / 0.8247 GB, free: 25.86 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01167/1.958, allocations: 25.04 MB / 0.8491 GB, free: 148 kB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3387/2.297, allocations: 1.006 MB / 0.8501 GB, free: 119.6 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007463/2.297, allocations: 298 kB / 0.8504 GB, free: 119.6 MB / 490.7 MB Notification: Performance of SimCode: time 1.343e-06/2.297, allocations: 0 / 0.8504 GB, free: 119.6 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.123/5.421, allocations: 16.41 MB / 0.8664 GB, free: 119.4 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