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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.228/2.228, allocations: 235.1 MB / 243 MB, free: 9.574 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.287e-05/1.293e-05, allocations: 0 / 303.2 MB, free: 13.27 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2753/0.2754, allocations: 54.86 MB / 358 MB, free: 14.95 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8652/1.141, allocations: 296.5 MB / 0.6392 GB, free: 127.6 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002454/1.141, allocations: 83.98 kB / 0.6392 GB, free: 127.6 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4326/1.574, allocations: 149 MB / 0.7848 GB, free: 26.09 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.109e-06/1.574, allocations: 0 / 0.7848 GB, free: 26.09 MB / 474.7 MB Notification: Performance of Transformations before backend: time 6.116e-05/1.574, allocations: 24 kB / 0.7848 GB, free: 26.07 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.002143/1.576, allocations: 1.077 MB / 0.7858 GB, free: 24.94 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/1.576, allocations: 8.031 kB / 0.7858 GB, free: 24.93 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006082/1.576, allocations: 118.9 kB / 0.786 GB, free: 24.82 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001289/1.578, allocations: 0.6178 MB / 0.7866 GB, free: 24.16 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001603/1.578, allocations: 228.1 kB / 0.7868 GB, free: 23.89 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001631/1.578, allocations: 44 kB / 0.7868 GB, free: 23.85 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001718/1.58, allocations: 0.8005 MB / 0.7876 GB, free: 23.05 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001936/1.582, allocations: 1.13 MB / 0.7887 GB, free: 21.79 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.849e-05/1.582, allocations: 11.88 kB / 0.7887 GB, free: 21.77 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001329/1.582, allocations: 7.953 kB / 0.7887 GB, free: 21.77 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.183e-05/1.582, allocations: 45.3 kB / 0.7888 GB, free: 21.72 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006913/1.589, allocations: 6.734 MB / 0.7953 GB, free: 14.58 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000434/1.59, allocations: 231.2 kB / 0.7956 GB, free: 14.34 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002174/1.59, allocations: 128.8 kB / 0.7957 GB, free: 14.21 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002481/1.592, allocations: 2.721 MB / 0.7983 GB, free: 11.02 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.284e-05/1.592, allocations: 42.52 kB / 0.7984 GB, free: 10.97 MB / 474.7 MB Notification: Performance of pre-optimization done (n=19): time 2.951e-06/1.592, allocations: 3.938 kB / 0.7984 GB, free: 10.97 MB / 474.7 MB Notification: Performance of matching and sorting (n=25): time 0.002159/1.594, allocations: 0.7991 MB / 0.7992 GB, free: 10.12 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.121e-05/1.595, allocations: 55.41 kB / 0.7992 GB, free: 10.05 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000909/1.595, allocations: 0.6597 MB / 0.7999 GB, free: 9.387 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 3.113e-05/1.595, allocations: 33.64 kB / 0.7999 GB, free: 9.348 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003165/1.596, allocations: 0.6576 MB / 0.8005 GB, free: 8.68 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.691e-05/1.596, allocations: 106.6 kB / 0.8006 GB, free: 8.574 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.699e-05/1.596, allocations: 4 kB / 0.8006 GB, free: 8.57 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001013/1.596, allocations: 362.8 kB / 0.801 GB, free: 8.207 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003546/1.596, allocations: 198.5 kB / 0.8012 GB, free: 8.012 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006663/1.597, allocations: 0.9955 MB / 0.8022 GB, free: 6.602 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008673/1.598, allocations: 435.5 kB / 0.8026 GB, free: 6.176 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.551e-05/1.598, allocations: 8 kB / 0.8026 GB, free: 6.168 MB / 474.7 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.00202/1.6, allocations: 1.025 MB / 0.8036 GB, free: 5.137 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.372e-05/1.6, allocations: 20.89 kB / 0.8036 GB, free: 5.117 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.038e-05/1.6, allocations: 32 kB / 0.8036 GB, free: 5.086 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.608e-05/1.6, allocations: 44 kB / 0.8037 GB, free: 5.043 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009059/1.601, allocations: 299.4 kB / 0.804 GB, free: 4.75 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.001e-05/1.601, allocations: 59.78 kB / 0.804 GB, free: 4.691 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001095/1.602, allocations: 43.83 kB / 0.8041 GB, free: 4.648 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001128/1.602, allocations: 84 kB / 0.8041 GB, free: 4.566 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.0001984/1.603, allocations: 180.2 kB / 0.8043 GB, free: 4.383 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001295/1.603, allocations: 79.06 kB / 0.8044 GB, free: 4.305 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009364/1.604, allocations: 333.4 kB / 0.8047 GB, free: 3.969 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.925e-06/1.604, allocations: 4 kB / 0.8047 GB, free: 3.965 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.071e-06/1.604, allocations: 0 / 0.8047 GB, free: 3.965 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/1.604, allocations: 0 / 0.8047 GB, free: 3.965 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001665/1.605, allocations: 0.8183 MB / 0.8055 GB, free: 3.098 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.61e-06/1.606, allocations: 0 / 0.8055 GB, free: 3.098 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003408/1.606, allocations: 59.91 kB / 0.8056 GB, free: 3.039 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.021e-06/1.606, allocations: 7.953 kB / 0.8056 GB, free: 3.031 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.404e-05/1.606, allocations: 4 kB / 0.8056 GB, free: 3.027 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.052e-06/1.606, allocations: 0 / 0.8056 GB, free: 3.027 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.39e-06/1.606, allocations: 0 / 0.8056 GB, free: 3.027 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009305/1.607, allocations: 0.5281 MB / 0.8061 GB, free: 2.465 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002899/1.607, allocations: 184 kB / 0.8063 GB, free: 2.266 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000119/1.607, allocations: 0 / 0.8063 GB, free: 2.266 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004916/1.608, allocations: 11.91 kB / 0.8063 GB, free: 2.254 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.927e-05/1.608, allocations: 24.03 kB / 0.8063 GB, free: 2.23 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.859e-05/1.608, allocations: 15.98 kB / 0.8063 GB, free: 2.215 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0006686/1.609, allocations: 455 kB / 0.8067 GB, free: 1.777 MB / 474.7 MB Notification: Performance of sort global known variables: time 8.99e-07/1.609, allocations: 0 / 0.8067 GB, free: 1.777 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001531/1.61, allocations: 247.9 kB / 0.807 GB, free: 1.535 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.0007066/1.611, allocations: 368.8 kB / 0.8073 GB, free: 1.168 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0009762/1.612, allocations: 0.5357 MB / 0.8079 GB, free: 0.6367 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.949e-06/1.612, allocations: 2.625 kB / 0.8079 GB, free: 0.6367 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000167/1.612, allocations: 103.8 kB / 0.808 GB, free: 0.5352 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001334/1.613, allocations: 266 kB / 0.8082 GB, free: 280 kB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2822/1.896, allocations: 1.029 MB / 0.8092 GB, free: 104.1 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007242/1.896, allocations: 1.007 MB / 0.8102 GB, free: 103.4 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002883/1.897, allocations: 77.72 kB / 0.8103 GB, free: 103.4 MB / 474.7 MB Notification: Performance of SimCode: time 1.697e-06/1.897, allocations: 2.344 kB / 0.8103 GB, free: 103.4 MB / 474.7 MB Notification: Performance of Templates: time 0.02223/1.919, allocations: 12.58 MB / 0.8226 GB, free: 103.2 MB / 474.7 MB