Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/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.2_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes") Notification: Performance of loadModel(ModelicaTest): time 2.125/2.125, allocations: 235 MB / 248.1 MB, free: 14.39 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.046e-05/3.064e-05, allocations: 4 kB / 309.7 MB, free: 1.316 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3915/0.3916, allocations: 54.86 MB / 364.5 MB, free: 5.527 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6435/1.035, allocations: 297.1 MB / 0.6462 GB, free: 36.73 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000239/1.035, allocations: 86.45 kB / 0.6463 GB, free: 36.68 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6896/1.725, allocations: 150.5 MB / 0.7933 GB, free: 95.04 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.592e-06/1.725, allocations: 4 kB / 0.7933 GB, free: 95.03 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.542e-05/1.725, allocations: 23.94 kB / 0.7933 GB, free: 95.01 MB / 474.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.002105/1.727, allocations: 1.074 MB / 0.7943 GB, free: 93.89 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/1.727, allocations: 8.031 kB / 0.7943 GB, free: 93.88 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000585/1.728, allocations: 115 kB / 0.7945 GB, free: 93.77 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001213/1.729, allocations: 0.6295 MB / 0.7951 GB, free: 93.1 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001663/1.729, allocations: 244.2 kB / 0.7953 GB, free: 92.82 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000155/1.729, allocations: 79.98 kB / 0.7954 GB, free: 92.74 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002126/1.732, allocations: 1.258 MB / 0.7966 GB, free: 91.35 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.469e-05/1.732, allocations: 7.922 kB / 0.7966 GB, free: 91.34 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001487/1.732, allocations: 47.88 kB / 0.7967 GB, free: 91.3 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.214e-05/1.732, allocations: 41.31 kB / 0.7967 GB, free: 91.26 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001747/1.734, allocations: 0.9105 MB / 0.7976 GB, free: 90.34 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006608/1.74, allocations: 6.515 MB / 0.804 GB, free: 83.47 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005073/1.741, allocations: 276.5 kB / 0.8042 GB, free: 83.19 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002665/1.741, allocations: 159.3 kB / 0.8044 GB, free: 83.03 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002809/1.744, allocations: 3.109 MB / 0.8074 GB, free: 79.38 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.291e-05/1.744, allocations: 42.5 kB / 0.8074 GB, free: 79.33 MB / 474.7 MB Notification: Performance of pre-optimization done (n=19): time 2.749e-06/1.744, allocations: 0 / 0.8074 GB, free: 79.33 MB / 474.7 MB Notification: Performance of matching and sorting (n=25): time 0.001958/1.746, allocations: 0.8412 MB / 0.8083 GB, free: 78.43 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.263e-05/1.746, allocations: 55.41 kB / 0.8083 GB, free: 78.37 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009776/1.747, allocations: 0.7106 MB / 0.809 GB, free: 77.65 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 3.325e-05/1.747, allocations: 33.69 kB / 0.809 GB, free: 77.61 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003137/1.747, allocations: 0.6614 MB / 0.8097 GB, free: 76.94 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.49e-05/1.747, allocations: 106.7 kB / 0.8098 GB, free: 76.84 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.669e-05/1.748, allocations: 28 kB / 0.8098 GB, free: 76.81 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001003/1.748, allocations: 362.8 kB / 0.8102 GB, free: 76.45 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004144/1.748, allocations: 218.5 kB / 0.8104 GB, free: 76.23 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007084/1.749, allocations: 1.041 MB / 0.8114 GB, free: 74.78 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006834/1.749, allocations: 447.4 kB / 0.8118 GB, free: 74.34 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-05/1.75, allocations: 8 kB / 0.8118 GB, free: 74.34 MB / 474.7 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.002013/1.752, allocations: 1.201 MB / 0.813 GB, free: 73.13 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.265e-05/1.752, allocations: 19.12 kB / 0.813 GB, free: 73.11 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.92e-05/1.752, allocations: 31.94 kB / 0.8131 GB, free: 73.08 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.255e-05/1.752, allocations: 48 kB / 0.8131 GB, free: 73.04 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009611/1.753, allocations: 291.4 kB / 0.8134 GB, free: 72.75 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.541e-05/1.753, allocations: 63.72 kB / 0.8134 GB, free: 72.69 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001048/1.754, allocations: 80.14 kB / 0.8135 GB, free: 72.61 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001042/1.754, allocations: 80 kB / 0.8136 GB, free: 72.53 MB / 474.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.0001979/1.754, allocations: 209.5 kB / 0.8138 GB, free: 72.32 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001242/1.754, allocations: 83.02 kB / 0.8139 GB, free: 72.24 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007159/1.755, allocations: 333.5 kB / 0.8142 GB, free: 71.9 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.081e-05/1.755, allocations: 4 kB / 0.8142 GB, free: 71.89 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.078e-06/1.755, allocations: 4 kB / 0.8142 GB, free: 71.89 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.715e-06/1.755, allocations: 3.984 kB / 0.8142 GB, free: 71.89 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001424/1.756, allocations: 0.8957 MB / 0.8151 GB, free: 70.93 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.271e-06/1.757, allocations: 0 / 0.8151 GB, free: 70.93 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003156/1.757, allocations: 59.91 kB / 0.8151 GB, free: 70.87 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.381e-06/1.757, allocations: 4 kB / 0.8151 GB, free: 70.87 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.392e-05/1.757, allocations: 11.98 kB / 0.8151 GB, free: 70.86 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.362e-06/1.757, allocations: 4.062 kB / 0.8151 GB, free: 70.85 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.541e-06/1.757, allocations: 0 / 0.8151 GB, free: 70.85 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006964/1.758, allocations: 0.5355 MB / 0.8157 GB, free: 70.28 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002402/1.758, allocations: 172.1 kB / 0.8158 GB, free: 70.09 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001059/1.758, allocations: 8 kB / 0.8158 GB, free: 70.09 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004311/1.758, allocations: 19.92 kB / 0.8159 GB, free: 70.07 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.497e-05/1.758, allocations: 19.98 kB / 0.8159 GB, free: 70.05 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.547e-05/1.759, allocations: 19.94 kB / 0.8159 GB, free: 70.03 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0006604/1.759, allocations: 491.1 kB / 0.8164 GB, free: 69.55 MB / 474.7 MB Notification: Performance of sort global known variables: time 8.87e-07/1.759, allocations: 0 / 0.8164 GB, free: 69.55 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001471/1.761, allocations: 283.9 kB / 0.8166 GB, free: 69.27 MB / 474.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.0006904/1.761, allocations: 384.5 kB / 0.817 GB, free: 68.89 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001087/1.763, allocations: 0.6034 MB / 0.8176 GB, free: 68.3 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.743e-06/1.763, allocations: 4 kB / 0.8176 GB, free: 68.29 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001868/1.763, allocations: 111.8 kB / 0.8177 GB, free: 68.18 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00129/1.764, allocations: 243.9 kB / 0.8179 GB, free: 67.95 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001971/1.766, allocations: 1.063 MB / 0.819 GB, free: 66.85 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005001/1.767, allocations: 0.9966 MB / 0.8199 GB, free: 65.83 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001955/1.767, allocations: 79.44 kB / 0.82 GB, free: 65.75 MB / 474.7 MB Notification: Performance of SimCode: time 1.959e-06/1.767, allocations: 4 kB / 0.82 GB, free: 65.75 MB / 474.7 MB Notification: Performance of Templates: time 0.01864/1.785, allocations: 12.73 MB / 0.8325 GB, free: 53.02 MB / 474.7 MB