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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/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 1.858/1.858, allocations: 209.2 MB / 224.8 MB, free: 192 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004524/0.0004526, allocations: 8 kB / 282.6 MB, free: 9.594 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2858/0.2863, allocations: 48.71 MB / 331.3 MB, free: 6.5 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5722/0.8585, allocations: 290.8 MB / 0.6075 GB, free: 10.79 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004566/0.859, allocations: 87.39 kB / 0.6076 GB, free: 10.74 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6765/1.536, allocations: 151.1 MB / 0.7551 GB, free: 33.94 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.157e-06/1.536, allocations: 4 kB / 0.7551 GB, free: 33.93 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.937e-05/1.536, allocations: 20 kB / 0.7552 GB, free: 33.91 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.002382/1.538, allocations: 1.136 MB / 0.7563 GB, free: 32.73 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/1.538, allocations: 8.031 kB / 0.7563 GB, free: 32.72 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005869/1.539, allocations: 118.9 kB / 0.7564 GB, free: 32.6 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001241/1.54, allocations: 0.6425 MB / 0.757 GB, free: 31.92 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001733/1.54, allocations: 248.2 kB / 0.7573 GB, free: 31.64 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001761/1.54, allocations: 79.98 kB / 0.7573 GB, free: 31.56 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00224/1.543, allocations: 1.27 MB / 0.7586 GB, free: 30.16 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.697e-05/1.543, allocations: 7.938 kB / 0.7586 GB, free: 30.15 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001496/1.543, allocations: 40 kB / 0.7586 GB, free: 30.11 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.098e-05/1.543, allocations: 37.3 kB / 0.7586 GB, free: 30.08 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001961/1.545, allocations: 0.9337 MB / 0.7596 GB, free: 29.14 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00688/1.552, allocations: 6.534 MB / 0.7659 GB, free: 22.25 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005692/1.552, allocations: 284.5 kB / 0.7662 GB, free: 21.96 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00277/1.555, allocations: 3.035 MB / 0.7692 GB, free: 18.38 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.175e-05/1.555, allocations: 42.5 kB / 0.7692 GB, free: 18.33 MB / 426.7 MB Notification: Performance of pre-optimization done (n=19): time 2.597e-06/1.555, allocations: 224 / 0.7692 GB, free: 18.33 MB / 426.7 MB Notification: Performance of matching and sorting (n=25): time 0.002035/1.557, allocations: 0.9093 MB / 0.7701 GB, free: 17.37 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.639e-05/1.557, allocations: 59.34 kB / 0.7702 GB, free: 17.3 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009981/1.558, allocations: 0.7104 MB / 0.7709 GB, free: 16.58 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.676e-05/1.558, allocations: 33.7 kB / 0.7709 GB, free: 16.54 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003206/1.559, allocations: 0.6653 MB / 0.7715 GB, free: 15.87 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.893e-05/1.559, allocations: 110.7 kB / 0.7716 GB, free: 15.76 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.896e-05/1.559, allocations: 28 kB / 0.7717 GB, free: 15.73 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.97e-05/1.559, allocations: 358.8 kB / 0.772 GB, free: 15.37 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000418/1.559, allocations: 230.5 kB / 0.7722 GB, free: 15.15 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007415/1.56, allocations: 1.045 MB / 0.7733 GB, free: 13.69 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007116/1.561, allocations: 447.5 kB / 0.7737 GB, free: 13.25 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.387e-05/1.561, allocations: 8 kB / 0.7737 GB, free: 13.24 MB / 426.7 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.002085/1.563, allocations: 1.213 MB / 0.7749 GB, free: 12.02 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.14e-05/1.563, allocations: 16 kB / 0.7749 GB, free: 12.01 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.948e-05/1.563, allocations: 32 kB / 0.7749 GB, free: 11.98 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.019e-05/1.563, allocations: 48.03 kB / 0.775 GB, free: 11.93 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009197/1.564, allocations: 295.4 kB / 0.7752 GB, free: 11.64 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.412e-05/1.564, allocations: 59.78 kB / 0.7753 GB, free: 11.58 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001055/1.565, allocations: 75.83 kB / 0.7754 GB, free: 11.51 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001045/1.565, allocations: 76 kB / 0.7754 GB, free: 11.43 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 () * 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.0004862/1.566, allocations: 344.8 kB / 0.7758 GB, free: 11.09 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001245/1.566, allocations: 79.06 kB / 0.7759 GB, free: 11.01 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007058/1.567, allocations: 341.8 kB / 0.7762 GB, free: 10.67 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.191e-05/1.567, allocations: 8 kB / 0.7762 GB, free: 10.66 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/1.567, allocations: 3.953 kB / 0.7762 GB, free: 10.66 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.169e-06/1.567, allocations: 3.984 kB / 0.7762 GB, free: 10.65 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001431/1.568, allocations: 0.8958 MB / 0.7771 GB, free: 9.695 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/1.568, allocations: 0 / 0.7771 GB, free: 9.695 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003484/1.569, allocations: 55.97 kB / 0.7771 GB, free: 9.641 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.189e-06/1.569, allocations: 0 / 0.7771 GB, free: 9.641 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.769e-05/1.569, allocations: 11.95 kB / 0.7771 GB, free: 9.629 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.367e-06/1.569, allocations: 0 / 0.7771 GB, free: 9.629 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/1.569, allocations: 7.938 kB / 0.7771 GB, free: 9.621 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007758/1.569, allocations: 0.5355 MB / 0.7777 GB, free: 9.051 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002593/1.57, allocations: 172.2 kB / 0.7778 GB, free: 8.863 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001252/1.57, allocations: 8 kB / 0.7778 GB, free: 8.855 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004893/1.57, allocations: 15.98 kB / 0.7778 GB, free: 8.84 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.308e-05/1.57, allocations: 23.98 kB / 0.7779 GB, free: 8.816 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.448e-05/1.57, allocations: 19.98 kB / 0.7779 GB, free: 8.797 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0007032/1.571, allocations: 495 kB / 0.7784 GB, free: 8.316 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.967e-06/1.571, allocations: 0 / 0.7784 GB, free: 8.316 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00153/1.573, allocations: 291.8 kB / 0.7786 GB, free: 8.031 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 () * 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.0006888/1.573, allocations: 386.2 kB / 0.779 GB, free: 7.648 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001061/1.575, allocations: 0.618 MB / 0.7796 GB, free: 7.035 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.433e-06/1.575, allocations: 2 kB / 0.7796 GB, free: 7.035 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000185/1.575, allocations: 112.3 kB / 0.7797 GB, free: 6.926 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001325/1.576, allocations: 261.5 kB / 0.78 GB, free: 6.676 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002324/1.578, allocations: 1.745 MB / 0.7817 GB, free: 4.895 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005219/1.579, allocations: 1.001 MB / 0.7827 GB, free: 3.867 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001861/1.579, allocations: 75.42 kB / 0.7827 GB, free: 3.793 MB / 426.7 MB Notification: Performance of SimCode: time 1.726e-06/1.579, allocations: 0 / 0.7827 GB, free: 3.793 MB / 426.7 MB Notification: Performance of Templates: time 0.2602/1.839, allocations: 12.73 MB / 0.7952 GB, free: 88 MB / 426.7 MB