Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.878/1.878, allocations: 209.3 MB / 225.4 MB, free: 0.6133 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004459/0.0004461, allocations: 8 kB / 283.1 MB, free: 9.699 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3444/0.3449, allocations: 48.7 MB / 331.8 MB, free: 6.484 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7029/1.048, allocations: 290.8 MB / 0.608 GB, free: 8.805 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003156/1.048, allocations: 94.5 kB / 0.6081 GB, free: 8.75 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7539/1.802, allocations: 151.1 MB / 0.7556 GB, free: 63.95 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.004e-06/1.802, allocations: 0 / 0.7556 GB, free: 63.95 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.471e-05/1.802, allocations: 27.92 kB / 0.7557 GB, free: 63.93 MB / 442.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.003009/1.805, allocations: 1.129 MB / 0.7568 GB, free: 62.75 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/1.805, allocations: 8.031 kB / 0.7568 GB, free: 62.74 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007044/1.806, allocations: 118.9 kB / 0.7569 GB, free: 62.62 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001728/1.808, allocations: 0.6464 MB / 0.7575 GB, free: 61.94 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002037/1.808, allocations: 252.2 kB / 0.7578 GB, free: 61.65 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000188/1.808, allocations: 76 kB / 0.7578 GB, free: 61.58 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002732/1.811, allocations: 1.278 MB / 0.7591 GB, free: 60.17 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.106e-05/1.811, allocations: 7.938 kB / 0.7591 GB, free: 60.16 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001652/1.811, allocations: 40 kB / 0.7591 GB, free: 60.12 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.659e-05/1.811, allocations: 37.3 kB / 0.7592 GB, free: 60.09 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002284/1.814, allocations: 0.9337 MB / 0.7601 GB, free: 59.15 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008726/1.822, allocations: 6.544 MB / 0.7665 GB, free: 52.25 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006734/1.823, allocations: 284.4 kB / 0.7667 GB, free: 51.96 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003305/1.826, allocations: 3.027 MB / 0.7697 GB, free: 48.39 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.564e-05/1.826, allocations: 38.56 kB / 0.7697 GB, free: 48.34 MB / 442.7 MB Notification: Performance of pre-optimization done (n=19): time 2.074e-06/1.826, allocations: 7.938 kB / 0.7697 GB, free: 48.33 MB / 442.7 MB Notification: Performance of matching and sorting (n=25): time 0.002475/1.829, allocations: 0.9081 MB / 0.7706 GB, free: 47.37 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.832e-05/1.829, allocations: 55.41 kB / 0.7707 GB, free: 47.3 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001197/1.83, allocations: 0.7972 MB / 0.7715 GB, free: 46.49 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.146e-05/1.83, allocations: 29.7 kB / 0.7715 GB, free: 46.46 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003821/1.831, allocations: 0.6653 MB / 0.7721 GB, free: 45.79 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.612e-05/1.831, allocations: 122.6 kB / 0.7723 GB, free: 45.66 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.371e-05/1.831, allocations: 24 kB / 0.7723 GB, free: 45.64 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001067/1.831, allocations: 362.8 kB / 0.7726 GB, free: 45.28 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005143/1.831, allocations: 226.5 kB / 0.7728 GB, free: 45.06 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008968/1.832, allocations: 1.045 MB / 0.7739 GB, free: 43.59 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008462/1.833, allocations: 459.4 kB / 0.7743 GB, free: 43.14 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.434e-05/1.833, allocations: 8 kB / 0.7743 GB, free: 43.14 MB / 442.7 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.002319/1.836, allocations: 1.213 MB / 0.7755 GB, free: 41.92 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.333e-05/1.836, allocations: 20 kB / 0.7755 GB, free: 41.9 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.404e-05/1.836, allocations: 32.16 kB / 0.7755 GB, free: 41.87 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.743e-05/1.836, allocations: 47.95 kB / 0.7756 GB, free: 41.82 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001366/1.837, allocations: 291.4 kB / 0.7759 GB, free: 41.54 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.94e-05/1.837, allocations: 59.78 kB / 0.7759 GB, free: 41.48 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001155/1.838, allocations: 71.84 kB / 0.776 GB, free: 41.41 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001113/1.838, allocations: 83.98 kB / 0.7761 GB, free: 41.32 MB / 442.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.0005652/1.839, allocations: 332.9 kB / 0.7764 GB, free: 40.99 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001425/1.839, allocations: 79.06 kB / 0.7765 GB, free: 40.91 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008486/1.84, allocations: 345.8 kB / 0.7768 GB, free: 40.56 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.17e-05/1.84, allocations: 8 kB / 0.7768 GB, free: 40.55 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/1.84, allocations: 3.953 kB / 0.7768 GB, free: 40.55 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.572e-06/1.84, allocations: 0 / 0.7768 GB, free: 40.55 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001577/1.842, allocations: 0.892 MB / 0.7777 GB, free: 39.6 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/1.842, allocations: 0 / 0.7777 GB, free: 39.6 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004187/1.842, allocations: 63.84 kB / 0.7777 GB, free: 39.54 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.206e-06/1.842, allocations: 3.953 kB / 0.7777 GB, free: 39.53 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.497e-05/1.842, allocations: 11.98 kB / 0.7777 GB, free: 39.52 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.049e-06/1.842, allocations: 3.984 kB / 0.7778 GB, free: 39.52 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/1.842, allocations: 4 kB / 0.7778 GB, free: 39.51 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008213/1.843, allocations: 0.5048 MB / 0.7782 GB, free: 38.98 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002672/1.843, allocations: 176.1 kB / 0.7784 GB, free: 38.79 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001448/1.843, allocations: 15.89 kB / 0.7784 GB, free: 38.78 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005372/1.844, allocations: 12 kB / 0.7784 GB, free: 38.77 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.102e-05/1.844, allocations: 27.97 kB / 0.7785 GB, free: 38.74 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.976e-05/1.844, allocations: 19.97 kB / 0.7785 GB, free: 38.72 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0008171/1.845, allocations: 499 kB / 0.779 GB, free: 38.23 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.51e-07/1.845, allocations: 0 / 0.779 GB, free: 38.23 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001586/1.847, allocations: 283.9 kB / 0.7792 GB, free: 37.96 MB / 442.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.0008345/1.847, allocations: 385.5 kB / 0.7796 GB, free: 37.58 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001339/1.849, allocations: 0.6184 MB / 0.7802 GB, free: 36.97 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.049e-06/1.849, allocations: 0 / 0.7802 GB, free: 36.97 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000228/1.849, allocations: 113.9 kB / 0.7803 GB, free: 36.86 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001975/1.851, allocations: 257.8 kB / 0.7806 GB, free: 36.61 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002919/1.854, allocations: 1.745 MB / 0.7823 GB, free: 34.83 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005367/1.855, allocations: 1.004 MB / 0.7832 GB, free: 33.8 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002485/1.855, allocations: 83.42 kB / 0.7833 GB, free: 33.71 MB / 442.7 MB Notification: Performance of SimCode: time 1.302e-06/1.855, allocations: 0 / 0.7833 GB, free: 33.71 MB / 442.7 MB Notification: Performance of Templates: time 0.02515/1.88, allocations: 12.73 MB / 0.7958 GB, free: 20.99 MB / 442.7 MB