Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mixingVolume1.medium.T|mixingVolume2.medium.T",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes") Notification: Performance of loadModel(ModelicaTest): time 2.049/2.049, allocations: 209.4 MB / 217.3 MB, free: 4.148 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.702e-05/1.714e-05, allocations: 0 / 271.3 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2662/0.2663, allocations: 48.69 MB / 320 MB, free: 14.39 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5696/0.836, allocations: 290.1 MB / 0.5958 GB, free: 1.48 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002348/0.8363, allocations: 84.44 kB / 0.5959 GB, free: 1.434 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.629/1.465, allocations: 149 MB / 0.7414 GB, free: 27.82 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.233e-06/1.465, allocations: 0 / 0.7414 GB, free: 27.82 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.977e-05/1.465, allocations: 27.94 kB / 0.7414 GB, free: 27.79 MB / 426.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.002174/1.468, allocations: 1.074 MB / 0.7424 GB, free: 26.67 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/1.468, allocations: 11.97 kB / 0.7424 GB, free: 26.66 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006183/1.468, allocations: 118.9 kB / 0.7426 GB, free: 26.54 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001322/1.47, allocations: 0.6178 MB / 0.7432 GB, free: 25.89 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001581/1.47, allocations: 224.2 kB / 0.7434 GB, free: 25.63 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001497/1.47, allocations: 44 kB / 0.7434 GB, free: 25.59 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001681/1.472, allocations: 0.8004 MB / 0.7442 GB, free: 24.79 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001945/1.474, allocations: 1.133 MB / 0.7453 GB, free: 23.52 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.988e-05/1.474, allocations: 7.938 kB / 0.7453 GB, free: 23.52 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001423/1.474, allocations: 7.984 kB / 0.7453 GB, free: 23.51 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.966e-05/1.474, allocations: 45.31 kB / 0.7454 GB, free: 23.46 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006825/1.481, allocations: 6.739 MB / 0.7519 GB, free: 16.32 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004038/1.481, allocations: 232.2 kB / 0.7522 GB, free: 16.08 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000214/1.481, allocations: 128.8 kB / 0.7523 GB, free: 15.95 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002469/1.484, allocations: 2.721 MB / 0.7549 GB, free: 12.76 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.064e-05/1.484, allocations: 42.5 kB / 0.755 GB, free: 12.71 MB / 426.7 MB Notification: Performance of pre-optimization done (n=19): time 2.453e-06/1.484, allocations: 0 / 0.755 GB, free: 12.71 MB / 426.7 MB Notification: Performance of matching and sorting (n=25): time 0.002151/1.486, allocations: 0.8065 MB / 0.7558 GB, free: 11.85 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.032e-05/1.486, allocations: 59.41 kB / 0.7558 GB, free: 11.78 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009093/1.487, allocations: 0.6597 MB / 0.7565 GB, free: 11.11 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.143e-05/1.487, allocations: 29.7 kB / 0.7565 GB, free: 11.07 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003163/1.487, allocations: 0.6615 MB / 0.7571 GB, free: 10.41 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.749e-05/1.488, allocations: 102.7 kB / 0.7572 GB, free: 10.3 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.648e-05/1.488, allocations: 3.938 kB / 0.7572 GB, free: 10.3 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.936e-05/1.488, allocations: 366.7 kB / 0.7576 GB, free: 9.934 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003683/1.488, allocations: 194.5 kB / 0.7578 GB, free: 9.746 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006755/1.489, allocations: 1.007 MB / 0.7588 GB, free: 8.324 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008488/1.49, allocations: 423.5 kB / 0.7592 GB, free: 7.91 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.485e-05/1.49, allocations: 12 kB / 0.7592 GB, free: 7.898 MB / 426.7 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.002044/1.492, allocations: 1.029 MB / 0.7602 GB, free: 6.863 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.031e-05/1.492, allocations: 16 kB / 0.7602 GB, free: 6.848 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.008e-05/1.492, allocations: 32 kB / 0.7602 GB, free: 6.816 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.469e-05/1.492, allocations: 44 kB / 0.7603 GB, free: 6.773 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009073/1.493, allocations: 295.4 kB / 0.7606 GB, free: 6.484 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.39e-05/1.493, allocations: 55.8 kB / 0.7606 GB, free: 6.43 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001063/1.494, allocations: 48.33 kB / 0.7607 GB, free: 6.383 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001122/1.494, allocations: 88 kB / 0.7607 GB, free: 6.297 MB / 426.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.0001953/1.494, allocations: 184.1 kB / 0.7609 GB, free: 6.109 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001236/1.494, allocations: 79.06 kB / 0.761 GB, free: 6.031 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008995/1.495, allocations: 325.7 kB / 0.7613 GB, free: 5.699 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.105e-06/1.495, allocations: 8 kB / 0.7613 GB, free: 5.691 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.878e-06/1.495, allocations: 0 / 0.7613 GB, free: 5.691 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.218e-06/1.495, allocations: 0 / 0.7613 GB, free: 5.691 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001539/1.497, allocations: 0.8141 MB / 0.7621 GB, free: 4.828 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.882e-06/1.497, allocations: 0 / 0.7621 GB, free: 4.828 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003037/1.497, allocations: 59.91 kB / 0.7622 GB, free: 4.77 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.696e-06/1.497, allocations: 8.062 kB / 0.7622 GB, free: 4.762 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.259e-05/1.497, allocations: 4 kB / 0.7622 GB, free: 4.758 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.851e-06/1.497, allocations: 0 / 0.7622 GB, free: 4.758 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.152e-06/1.497, allocations: 0 / 0.7622 GB, free: 4.758 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008504/1.498, allocations: 0.5281 MB / 0.7627 GB, free: 4.195 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002619/1.498, allocations: 184 kB / 0.7629 GB, free: 3.996 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000101/1.499, allocations: 0 / 0.7629 GB, free: 3.996 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004214/1.499, allocations: 15.86 kB / 0.7629 GB, free: 3.98 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.494e-05/1.499, allocations: 19.97 kB / 0.7629 GB, free: 3.961 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.583e-05/1.499, allocations: 15.98 kB / 0.7629 GB, free: 3.945 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000626/1.5, allocations: 451.1 kB / 0.7633 GB, free: 3.508 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.153e-06/1.5, allocations: 4.062 kB / 0.7633 GB, free: 3.504 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0015/1.501, allocations: 251.9 kB / 0.7636 GB, free: 3.258 MB / 426.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.0006918/1.502, allocations: 375.3 kB / 0.7639 GB, free: 2.887 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0009361/1.503, allocations: 0.5343 MB / 0.7645 GB, free: 2.359 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.854e-06/1.503, allocations: 4.062 kB / 0.7645 GB, free: 2.355 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001676/1.503, allocations: 99.86 kB / 0.7646 GB, free: 2.258 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00128/1.504, allocations: 254.5 kB / 0.7648 GB, free: 2.016 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001894/1.506, allocations: 1.031 MB / 0.7658 GB, free: 0.9453 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2564/1.763, allocations: 1.003 MB / 0.7668 GB, free: 92.18 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002851/1.763, allocations: 80.31 kB / 0.7669 GB, free: 92.17 MB / 426.7 MB Notification: Performance of SimCode: time 2.23e-06/1.763, allocations: 3.75 kB / 0.7669 GB, free: 92.17 MB / 426.7 MB Notification: Performance of Templates: time 0.02154/1.785, allocations: 12.58 MB / 0.7792 GB, free: 92 MB / 426.7 MB