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.871/1.871, allocations: 209.3 MB / 222.4 MB, free: 7.719 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.636e-05/2.656e-05, allocations: 0 / 277.8 MB, free: 15.3 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08709/0.08714, allocations: 48.7 MB / 326.5 MB, free: 14.51 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9227/1.01, allocations: 290.7 MB / 0.6028 GB, free: 75.77 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002349/1.01, allocations: 82.86 kB / 0.6029 GB, free: 75.73 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6609/1.671, allocations: 150.5 MB / 0.7499 GB, free: 97.43 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.296e-06/1.671, allocations: 0 / 0.7499 GB, free: 97.43 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.785e-05/1.671, allocations: 23.72 kB / 0.7499 GB, free: 97.41 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.002226/1.673, allocations: 1.067 MB / 0.7509 GB, free: 96.3 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/1.674, allocations: 8.031 kB / 0.7509 GB, free: 96.3 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006815/1.674, allocations: 115 kB / 0.7511 GB, free: 96.18 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001326/1.676, allocations: 0.6264 MB / 0.7517 GB, free: 95.52 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001692/1.676, allocations: 254.3 kB / 0.7519 GB, free: 95.24 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001651/1.676, allocations: 83.91 kB / 0.752 GB, free: 95.16 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002176/1.678, allocations: 1.262 MB / 0.7532 GB, free: 93.77 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.684e-05/1.678, allocations: 3.938 kB / 0.7532 GB, free: 93.76 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001502/1.678, allocations: 44 kB / 0.7533 GB, free: 93.72 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-05/1.678, allocations: 37.3 kB / 0.7533 GB, free: 93.68 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001797/1.68, allocations: 0.9027 MB / 0.7542 GB, free: 92.78 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006946/1.687, allocations: 6.533 MB / 0.7606 GB, free: 85.93 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005622/1.688, allocations: 279.3 kB / 0.7608 GB, free: 85.65 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002718/1.688, allocations: 149.7 kB / 0.761 GB, free: 85.5 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002917/1.691, allocations: 3.109 MB / 0.764 GB, free: 81.86 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.809e-05/1.691, allocations: 38.56 kB / 0.764 GB, free: 81.81 MB / 426.7 MB Notification: Performance of pre-optimization done (n=19): time 3.698e-06/1.691, allocations: 3.984 kB / 0.764 GB, free: 81.81 MB / 426.7 MB Notification: Performance of matching and sorting (n=25): time 0.00201/1.693, allocations: 0.8528 MB / 0.7649 GB, free: 80.91 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.632e-05/1.693, allocations: 59.36 kB / 0.7649 GB, free: 80.84 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009991/1.694, allocations: 0.6989 MB / 0.7656 GB, free: 80.13 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.618e-05/1.694, allocations: 29.7 kB / 0.7657 GB, free: 80.09 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003398/1.695, allocations: 0.6689 MB / 0.7663 GB, free: 79.43 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.794e-05/1.695, allocations: 117.7 kB / 0.7664 GB, free: 79.32 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.726e-05/1.695, allocations: 24 kB / 0.7664 GB, free: 79.29 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001011/1.695, allocations: 362.8 kB / 0.7668 GB, free: 78.93 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004204/1.695, allocations: 214.6 kB / 0.767 GB, free: 78.72 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007026/1.696, allocations: 1.041 MB / 0.768 GB, free: 77.27 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000711/1.697, allocations: 447.4 kB / 0.7684 GB, free: 76.83 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.604e-05/1.697, allocations: 8 kB / 0.7684 GB, free: 76.82 MB / 426.7 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.002134/1.699, allocations: 1.189 MB / 0.7696 GB, free: 75.63 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.657e-05/1.699, allocations: 20.06 kB / 0.7696 GB, free: 75.61 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.303e-05/1.699, allocations: 35.94 kB / 0.7697 GB, free: 75.57 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.846e-05/1.699, allocations: 43.94 kB / 0.7697 GB, free: 75.53 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009867/1.7, allocations: 299.4 kB / 0.77 GB, free: 75.24 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.64e-05/1.7, allocations: 51.8 kB / 0.77 GB, free: 75.19 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001318/1.702, allocations: 79.78 kB / 0.7701 GB, free: 75.11 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001124/1.702, allocations: 84 kB / 0.7702 GB, free: 75.03 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.0002097/1.702, allocations: 208.2 kB / 0.7704 GB, free: 74.82 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001271/1.702, allocations: 79.06 kB / 0.7705 GB, free: 74.74 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007623/1.703, allocations: 337.7 kB / 0.7708 GB, free: 74.4 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.118e-05/1.703, allocations: 4 kB / 0.7708 GB, free: 74.4 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.713e-06/1.703, allocations: 0 / 0.7708 GB, free: 74.4 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.323e-06/1.703, allocations: 3.984 kB / 0.7708 GB, free: 74.39 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001429/1.704, allocations: 0.8935 MB / 0.7717 GB, free: 73.45 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.011e-06/1.704, allocations: 0 / 0.7717 GB, free: 73.45 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003192/1.705, allocations: 55.91 kB / 0.7717 GB, free: 73.39 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.034e-06/1.705, allocations: 7.938 kB / 0.7717 GB, free: 73.38 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.669e-05/1.705, allocations: 8 kB / 0.7717 GB, free: 73.38 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.253e-06/1.705, allocations: 3.953 kB / 0.7717 GB, free: 73.37 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.417e-06/1.705, allocations: 0 / 0.7717 GB, free: 73.37 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000732/1.706, allocations: 0.5348 MB / 0.7723 GB, free: 72.8 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002743/1.706, allocations: 184 kB / 0.7724 GB, free: 72.61 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001072/1.706, allocations: 4 kB / 0.7724 GB, free: 72.6 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004436/1.706, allocations: 24 kB / 0.7725 GB, free: 72.58 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.696e-05/1.706, allocations: 19.91 kB / 0.7725 GB, free: 72.56 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.535e-05/1.706, allocations: 15.98 kB / 0.7725 GB, free: 72.54 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0007199/1.707, allocations: 495.1 kB / 0.773 GB, free: 72.06 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.69e-07/1.707, allocations: 0 / 0.773 GB, free: 72.06 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001614/1.709, allocations: 286.3 kB / 0.7732 GB, free: 71.79 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.0007223/1.71, allocations: 383 kB / 0.7736 GB, free: 71.44 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001185/1.711, allocations: 0.6083 MB / 0.7742 GB, free: 70.84 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.654e-06/1.711, allocations: 4 kB / 0.7742 GB, free: 70.83 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000185/1.711, allocations: 107.8 kB / 0.7743 GB, free: 70.73 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001401/1.712, allocations: 254 kB / 0.7745 GB, free: 70.48 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001951/1.714, allocations: 1.048 MB / 0.7756 GB, free: 69.4 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005143/1.715, allocations: 1.004 MB / 0.7766 GB, free: 68.37 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001885/1.715, allocations: 79.42 kB / 0.7766 GB, free: 68.29 MB / 426.7 MB Notification: Performance of SimCode: time 2.411e-06/1.715, allocations: 0 / 0.7766 GB, free: 68.29 MB / 426.7 MB Notification: Performance of Templates: time 0.01996/1.735, allocations: 12.72 MB / 0.7891 GB, free: 55.57 MB / 426.7 MB