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.215/2.215, allocations: 234.9 MB / 250.5 MB, free: 9.457 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004333/0.0004335, allocations: 19.94 kB / 314.4 MB, free: 9.457 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2783/0.2788, allocations: 54.86 MB / 369.3 MB, free: 10.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6124/0.8913, allocations: 297.2 MB / 0.6509 GB, free: 1.039 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002581/0.8916, allocations: 90.77 kB / 0.651 GB, free: 0.9883 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6569/1.548, allocations: 151.1 MB / 0.7985 GB, free: 54.68 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.298e-06/1.549, allocations: 0 / 0.7985 GB, free: 54.68 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.912e-05/1.549, allocations: 27.94 kB / 0.7985 GB, free: 54.65 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.002343/1.551, allocations: 1.14 MB / 0.7997 GB, free: 53.46 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/1.551, allocations: 8.031 kB / 0.7997 GB, free: 53.45 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005773/1.552, allocations: 122.9 kB / 0.7998 GB, free: 53.33 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001211/1.553, allocations: 0.6309 MB / 0.8004 GB, free: 52.66 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001644/1.553, allocations: 244.2 kB / 0.8006 GB, free: 52.38 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001591/1.553, allocations: 79.98 kB / 0.8007 GB, free: 52.3 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002182/1.555, allocations: 1.27 MB / 0.8019 GB, free: 50.9 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.558e-05/1.555, allocations: 7.938 kB / 0.8019 GB, free: 50.89 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001451/1.556, allocations: 43.95 kB / 0.802 GB, free: 50.85 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.497e-05/1.556, allocations: 37.31 kB / 0.802 GB, free: 50.81 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001849/1.557, allocations: 0.9298 MB / 0.8029 GB, free: 49.88 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0066/1.564, allocations: 6.537 MB / 0.8093 GB, free: 42.99 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005456/1.565, allocations: 280.4 kB / 0.8096 GB, free: 42.7 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002673/1.567, allocations: 3.035 MB / 0.8125 GB, free: 39.12 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.375e-05/1.567, allocations: 46.45 kB / 0.8126 GB, free: 39.07 MB / 490.7 MB Notification: Performance of pre-optimization done (n=19): time 2.589e-06/1.567, allocations: 0 / 0.8126 GB, free: 39.07 MB / 490.7 MB Notification: Performance of matching and sorting (n=25): time 0.002043/1.57, allocations: 0.9073 MB / 0.8135 GB, free: 38.11 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.517e-05/1.57, allocations: 59.34 kB / 0.8135 GB, free: 38.04 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00101/1.571, allocations: 0.7066 MB / 0.8142 GB, free: 37.32 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.671e-05/1.571, allocations: 33.7 kB / 0.8143 GB, free: 37.29 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003297/1.571, allocations: 0.6692 MB / 0.8149 GB, free: 36.61 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.02e-05/1.571, allocations: 110.7 kB / 0.815 GB, free: 36.5 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.922e-05/1.571, allocations: 28 kB / 0.815 GB, free: 36.47 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.785e-05/1.571, allocations: 362.7 kB / 0.8154 GB, free: 36.11 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004187/1.572, allocations: 226.5 kB / 0.8156 GB, free: 35.89 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007388/1.572, allocations: 1.045 MB / 0.8166 GB, free: 34.43 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006796/1.573, allocations: 447.5 kB / 0.8171 GB, free: 33.99 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.45e-05/1.573, allocations: 11.95 kB / 0.8171 GB, free: 33.98 MB / 490.7 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.002056/1.575, allocations: 1.217 MB / 0.8183 GB, free: 32.76 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.433e-05/1.575, allocations: 21.72 kB / 0.8183 GB, free: 32.74 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.98e-05/1.575, allocations: 28 kB / 0.8183 GB, free: 32.71 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.128e-05/1.575, allocations: 44 kB / 0.8183 GB, free: 32.67 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009097/1.576, allocations: 295.4 kB / 0.8186 GB, free: 32.38 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.488e-05/1.576, allocations: 59.78 kB / 0.8187 GB, free: 32.32 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001049/1.577, allocations: 79.98 kB / 0.8188 GB, free: 32.24 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001046/1.578, allocations: 76 kB / 0.8188 GB, free: 32.17 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.0004896/1.578, allocations: 337 kB / 0.8192 GB, free: 31.83 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001275/1.578, allocations: 83.02 kB / 0.8192 GB, free: 31.75 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000718/1.579, allocations: 333.9 kB / 0.8195 GB, free: 31.41 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.983e-06/1.579, allocations: 0 / 0.8195 GB, free: 31.41 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.312e-06/1.579, allocations: 0 / 0.8195 GB, free: 31.41 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.053e-06/1.579, allocations: 11.92 kB / 0.8196 GB, free: 31.4 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001379/1.58, allocations: 0.8955 MB / 0.8204 GB, free: 30.44 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.806e-06/1.58, allocations: 0 / 0.8204 GB, free: 30.44 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003085/1.581, allocations: 63.84 kB / 0.8205 GB, free: 30.38 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.117e-06/1.581, allocations: 0 / 0.8205 GB, free: 30.38 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.48e-05/1.581, allocations: 12 kB / 0.8205 GB, free: 30.37 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.584e-06/1.581, allocations: 0 / 0.8205 GB, free: 30.37 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.232e-06/1.581, allocations: 8.062 kB / 0.8205 GB, free: 30.36 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007206/1.582, allocations: 0.5395 MB / 0.821 GB, free: 29.79 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002345/1.582, allocations: 172.1 kB / 0.8212 GB, free: 29.6 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001067/1.582, allocations: 8 kB / 0.8212 GB, free: 29.59 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004154/1.582, allocations: 16.06 kB / 0.8212 GB, free: 29.57 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.378e-05/1.582, allocations: 23.92 kB / 0.8213 GB, free: 29.55 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.599e-05/1.582, allocations: 19.98 kB / 0.8213 GB, free: 29.53 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0006892/1.583, allocations: 495 kB / 0.8217 GB, free: 29.05 MB / 490.7 MB Notification: Performance of sort global known variables: time 8.61e-07/1.583, allocations: 0 / 0.8217 GB, free: 29.05 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001507/1.585, allocations: 291.8 kB / 0.822 GB, free: 28.77 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.0007041/1.585, allocations: 386.4 kB / 0.8224 GB, free: 28.39 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.00106/1.586, allocations: 0.6119 MB / 0.823 GB, free: 27.79 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.316e-06/1.586, allocations: 4 kB / 0.823 GB, free: 27.79 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001841/1.587, allocations: 116.1 kB / 0.8231 GB, free: 27.67 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001288/1.588, allocations: 245.8 kB / 0.8233 GB, free: 27.44 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00243/1.59, allocations: 1.737 MB / 0.825 GB, free: 25.66 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005148/1.591, allocations: 1.012 MB / 0.826 GB, free: 24.62 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000191/1.591, allocations: 79.36 kB / 0.8261 GB, free: 24.54 MB / 490.7 MB Notification: Performance of SimCode: time 1.548e-06/1.591, allocations: 0 / 0.8261 GB, free: 24.54 MB / 490.7 MB Notification: Performance of Templates: time 0.01945/1.611, allocations: 12.74 MB / 0.8385 GB, free: 11.81 MB / 490.7 MB