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: 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.565/2.565, allocations: 234.9 MB / 251.1 MB, free: 9.793 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004164/0.0004165, allocations: 20 kB / 314.9 MB, free: 9.836 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4358/0.4362, allocations: 54.86 MB / 369.8 MB, free: 12.81 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7848/1.221, allocations: 297.2 MB / 0.6514 GB, free: 15.59 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003589/1.222, allocations: 95.28 kB / 0.6515 GB, free: 15.55 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.795/2.017, allocations: 151.1 MB / 0.799 GB, free: 87.58 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.064e-06/2.017, allocations: 0 / 0.799 GB, free: 87.58 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.175e-05/2.017, allocations: 24 kB / 0.7991 GB, free: 87.55 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.003058/2.02, allocations: 1.14 MB / 0.8002 GB, free: 86.36 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/2.02, allocations: 12.03 kB / 0.8002 GB, free: 86.35 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006934/2.021, allocations: 118.9 kB / 0.8003 GB, free: 86.23 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00159/2.022, allocations: 0.6271 MB / 0.8009 GB, free: 85.57 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001964/2.022, allocations: 256.1 kB / 0.8012 GB, free: 85.28 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001785/2.023, allocations: 80 kB / 0.8012 GB, free: 85.2 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002695/2.025, allocations: 1.274 MB / 0.8025 GB, free: 83.8 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.008e-05/2.025, allocations: 7.938 kB / 0.8025 GB, free: 83.79 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001706/2.025, allocations: 43.95 kB / 0.8025 GB, free: 83.75 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.096e-05/2.026, allocations: 33.31 kB / 0.8026 GB, free: 83.71 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002389/2.028, allocations: 0.9337 MB / 0.8035 GB, free: 82.78 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008806/2.037, allocations: 6.525 MB / 0.8098 GB, free: 75.89 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006713/2.038, allocations: 280.4 kB / 0.8101 GB, free: 75.61 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003175/2.041, allocations: 3.035 MB / 0.8131 GB, free: 72.03 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.472e-05/2.041, allocations: 46.5 kB / 0.8131 GB, free: 71.97 MB / 490.7 MB Notification: Performance of pre-optimization done (n=19): time 2.786e-06/2.041, allocations: 0 / 0.8131 GB, free: 71.97 MB / 490.7 MB Notification: Performance of matching and sorting (n=25): time 0.002419/2.043, allocations: 0.9164 MB / 0.814 GB, free: 71 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.519e-05/2.043, allocations: 55.41 kB / 0.8141 GB, free: 70.94 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001171/2.044, allocations: 0.801 MB / 0.8148 GB, free: 70.12 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.846e-05/2.044, allocations: 33.7 kB / 0.8149 GB, free: 70.08 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003745/2.045, allocations: 0.6653 MB / 0.8155 GB, free: 69.41 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.462e-05/2.045, allocations: 110.7 kB / 0.8156 GB, free: 69.3 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.354e-05/2.045, allocations: 28 kB / 0.8157 GB, free: 69.27 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001067/2.045, allocations: 362.8 kB / 0.816 GB, free: 68.91 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005341/2.046, allocations: 226.5 kB / 0.8162 GB, free: 68.69 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008683/2.047, allocations: 1.053 MB / 0.8172 GB, free: 67.23 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008586/2.047, allocations: 455.4 kB / 0.8177 GB, free: 66.78 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.591e-05/2.047, allocations: 12 kB / 0.8177 GB, free: 66.77 MB / 490.7 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.002348/2.05, allocations: 1.204 MB / 0.8189 GB, free: 65.56 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.229e-05/2.05, allocations: 23.98 kB / 0.8189 GB, free: 65.54 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.026e-05/2.05, allocations: 28 kB / 0.8189 GB, free: 65.51 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.698e-05/2.05, allocations: 44 kB / 0.819 GB, free: 65.46 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001351/2.051, allocations: 300.1 kB / 0.8192 GB, free: 65.17 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-05/2.051, allocations: 63.73 kB / 0.8193 GB, free: 65.11 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001078/2.053, allocations: 67.89 kB / 0.8194 GB, free: 65.04 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001039/2.053, allocations: 80 kB / 0.8194 GB, free: 64.96 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.000515/2.053, allocations: 352.9 kB / 0.8198 GB, free: 64.61 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001242/2.053, allocations: 79.06 kB / 0.8199 GB, free: 64.53 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000811/2.054, allocations: 334 kB / 0.8202 GB, free: 64.19 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.106e-05/2.054, allocations: 7.984 kB / 0.8202 GB, free: 64.18 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/2.054, allocations: 0 / 0.8202 GB, free: 64.18 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/2.054, allocations: 0 / 0.8202 GB, free: 64.18 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001495/2.056, allocations: 0.8915 MB / 0.8211 GB, free: 63.23 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/2.056, allocations: 0 / 0.8211 GB, free: 63.23 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004089/2.056, allocations: 59.97 kB / 0.8211 GB, free: 63.17 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.612e-06/2.056, allocations: 4 kB / 0.8211 GB, free: 63.17 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.469e-05/2.056, allocations: 4 kB / 0.8211 GB, free: 63.16 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-06/2.056, allocations: 7.984 kB / 0.8211 GB, free: 63.16 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/2.056, allocations: 0 / 0.8211 GB, free: 63.16 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007967/2.057, allocations: 0.5246 MB / 0.8216 GB, free: 62.61 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000243/2.057, allocations: 172 kB / 0.8218 GB, free: 62.42 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001506/2.057, allocations: 4 kB / 0.8218 GB, free: 62.42 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005425/2.058, allocations: 15.98 kB / 0.8218 GB, free: 62.4 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.041e-05/2.058, allocations: 23.97 kB / 0.8218 GB, free: 62.38 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.692e-05/2.058, allocations: 8 kB / 0.8219 GB, free: 62.37 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0007604/2.059, allocations: 0.495 MB / 0.8223 GB, free: 61.88 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.31e-07/2.059, allocations: 4.062 kB / 0.8223 GB, free: 61.88 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001526/2.06, allocations: 283.9 kB / 0.8226 GB, free: 61.6 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.0008167/2.061, allocations: 383.2 kB / 0.823 GB, free: 61.23 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001222/2.062, allocations: 0.6158 MB / 0.8236 GB, free: 60.62 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/2.062, allocations: 4 kB / 0.8236 GB, free: 60.62 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002213/2.063, allocations: 107.8 kB / 0.8237 GB, free: 60.51 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001827/2.065, allocations: 261.3 kB / 0.8239 GB, free: 60.26 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002709/2.067, allocations: 1.741 MB / 0.8256 GB, free: 58.47 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005359/2.068, allocations: 1.008 MB / 0.8266 GB, free: 57.44 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002103/2.068, allocations: 79.42 kB / 0.8267 GB, free: 57.36 MB / 490.7 MB Notification: Performance of SimCode: time 1.012e-06/2.068, allocations: 0 / 0.8267 GB, free: 57.36 MB / 490.7 MB Notification: Performance of Templates: time 0.02387/2.092, allocations: 12.73 MB / 0.8391 GB, free: 44.64 MB / 490.7 MB