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.137/2.137, allocations: 234.9 MB / 250.5 MB, free: 9.551 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004481/0.0004483, allocations: 12 kB / 314.3 MB, free: 9.609 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2785/0.2789, allocations: 54.87 MB / 369.2 MB, free: 10.74 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.02234/0.3013, allocations: 14.98 MB / 384.2 MB, free: 11.71 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01142/0.3128, allocations: 6.039 MB / 390.2 MB, free: 5.652 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001044/0.3139, allocations: 27.75 kB / 390.2 MB, free: 5.625 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001229/0.3151, allocations: 318.4 kB / 390.5 MB, free: 5.312 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00207/0.3172, allocations: 0.5258 MB / 391.1 MB, free: 4.785 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00441/0.3217, allocations: 1.064 MB / 392.1 MB, free: 3.719 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.003189/0.3249, allocations: 1.603 MB / 393.7 MB, free: 2.109 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001226/0.3261, allocations: 0.549 MB / 394.3 MB, free: 1.547 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00212/0.3283, allocations: 0.7907 MB / 395.1 MB, free: 0.7539 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001105/0.3294, allocations: 494.2 kB / 395.6 MB, free: 276 kB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002117/0.3297, allocations: 44 kB / 395.6 MB, free: 232 kB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001546/0.3312, allocations: 363.6 kB / 396 MB, free: 15.87 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005038/0.3318, allocations: 315.1 kB / 396.3 MB, free: 15.56 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004068/0.3322, allocations: 201.3 kB / 396.5 MB, free: 15.36 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002041/0.3343, allocations: 1.053 MB / 397.5 MB, free: 14.3 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.3343, allocations: 3.938 kB / 397.5 MB, free: 14.3 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.538e-06/0.3343, allocations: 0 / 397.5 MB, free: 14.3 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.59e-05/0.3343, allocations: 0 / 397.5 MB, free: 14.3 MB / 330.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.002801/0.3371, allocations: 1.107 MB / 398.6 MB, free: 13.14 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.3372, allocations: 8.031 kB / 398.6 MB, free: 13.14 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007081/0.3379, allocations: 122.8 kB / 398.8 MB, free: 13.02 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001427/0.3394, allocations: 0.5862 MB / 399.3 MB, free: 12.39 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002933/0.3397, allocations: 252.2 kB / 399.6 MB, free: 12.1 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002375/0.34, allocations: 76 kB / 399.7 MB, free: 12.03 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002789/0.3428, allocations: 1.293 MB / 401 MB, free: 10.61 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.791e-05/0.3428, allocations: 7.938 kB / 401 MB, free: 10.6 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001592/0.343, allocations: 36 kB / 401 MB, free: 10.56 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.721e-05/0.3431, allocations: 53.19 kB / 401 MB, free: 10.51 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00236/0.3455, allocations: 0.9494 MB / 402 MB, free: 9.555 MB / 330.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01011/0.3556, allocations: 7.055 MB / 409.1 MB, free: 2.031 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006701/0.3563, allocations: 288.4 kB / 409.3 MB, free: 1.742 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003589/0.3599, allocations: 2.78 MB / 412.1 MB, free: 14.46 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.96e-05/0.36, allocations: 42.8 kB / 412.2 MB, free: 14.41 MB / 346.7 MB Notification: Performance of pre-optimization done (n=28): time 2.901e-06/0.36, allocations: 0 / 412.2 MB, free: 14.41 MB / 346.7 MB Notification: Performance of matching and sorting (n=34): time 0.002781/0.3628, allocations: 1.03 MB / 413.2 MB, free: 13.32 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.198e-05/0.3629, allocations: 55.41 kB / 413.2 MB, free: 13.26 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001281/0.3642, allocations: 0.7697 MB / 414 MB, free: 12.47 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.251e-05/0.3643, allocations: 33.7 kB / 414 MB, free: 12.43 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005638/0.3649, allocations: 0.6384 MB / 414.7 MB, free: 11.79 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001598/0.3651, allocations: 146.3 kB / 414.8 MB, free: 11.64 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.42e-05/0.3651, allocations: 24 kB / 414.8 MB, free: 11.62 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002378/0.3654, allocations: 358.8 kB / 415.2 MB, free: 11.26 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005319/0.3659, allocations: 234.5 kB / 415.4 MB, free: 11.03 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001232/0.3672, allocations: 1.019 MB / 416.4 MB, free: 9.625 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009242/0.3681, allocations: 451.7 kB / 416.9 MB, free: 9.184 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.608e-05/0.3681, allocations: 8 kB / 416.9 MB, free: 9.176 MB / 346.7 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.002691/0.3708, allocations: 1.204 MB / 418.1 MB, free: 7.965 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.616e-05/0.3709, allocations: 16 kB / 418.1 MB, free: 7.949 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.162e-05/0.371, allocations: 31.98 kB / 418.1 MB, free: 7.918 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.705e-05/0.371, allocations: 40 kB / 418.2 MB, free: 7.879 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001087/0.3721, allocations: 300 kB / 418.5 MB, free: 7.586 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.459e-05/0.3722, allocations: 55.8 kB / 418.5 MB, free: 7.531 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00101/0.3733, allocations: 67.92 kB / 418.6 MB, free: 7.465 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001369/0.3734, allocations: 79.94 kB / 418.7 MB, free: 7.387 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 127 * 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.0006224/0.374, allocations: 337.1 kB / 419 MB, free: 7.047 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001794/0.3742, allocations: 86.97 kB / 419.1 MB, free: 6.961 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00112/0.3754, allocations: 450.6 kB / 419.5 MB, free: 6.504 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.677e-05/0.3754, allocations: 7.984 kB / 419.5 MB, free: 6.496 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.112e-06/0.3754, allocations: 3.953 kB / 419.5 MB, free: 6.492 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.76e-06/0.3755, allocations: 4 kB / 419.5 MB, free: 6.488 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002362/0.3778, allocations: 1.24 MB / 420.8 MB, free: 5.129 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.02e-05/0.3779, allocations: 4 kB / 420.8 MB, free: 5.125 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003931/0.3783, allocations: 71.91 kB / 420.9 MB, free: 5.055 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.454e-05/0.3783, allocations: 7.984 kB / 420.9 MB, free: 5.047 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.393e-05/0.3783, allocations: 8 kB / 420.9 MB, free: 5.039 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.14e-05/0.3784, allocations: 4 kB / 420.9 MB, free: 5.035 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.387e-06/0.3784, allocations: 4.047 kB / 420.9 MB, free: 5.031 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001184/0.3796, allocations: 0.643 MB / 421.5 MB, free: 4.344 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003959/0.38, allocations: 192.1 kB / 421.7 MB, free: 4.137 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001201/0.3801, allocations: 12 kB / 421.7 MB, free: 4.125 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005049/0.3806, allocations: 19.98 kB / 421.7 MB, free: 4.105 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.349e-05/0.3807, allocations: 27.91 kB / 421.8 MB, free: 4.078 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.571e-05/0.3808, allocations: 28.05 kB / 421.8 MB, free: 4.051 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0009012/0.3817, allocations: 499 kB / 422.3 MB, free: 3.57 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.16e-07/0.3817, allocations: 0 / 422.3 MB, free: 3.57 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001619/0.3834, allocations: 299.8 kB / 422.6 MB, free: 3.277 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (36): * Single equations (assignments): 34 * 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.0007772/0.3842, allocations: 331.5 kB / 422.9 MB, free: 2.957 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001494/0.3857, allocations: 0.6411 MB / 423.5 MB, free: 2.32 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.958e-06/0.3857, allocations: 0 / 423.5 MB, free: 2.32 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003064/0.386, allocations: 141.3 kB / 423.7 MB, free: 2.184 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001633/0.3877, allocations: 277.1 kB / 424 MB, free: 1.914 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003469/0.3912, allocations: 1.847 MB / 425.8 MB, free: 4 kB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009145/0.3921, allocations: 1.012 MB / 426.8 MB, free: 14.96 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002728/0.3924, allocations: 87.36 kB / 426.9 MB, free: 14.88 MB / 362.7 MB Notification: Performance of SimCode: time 1.68e-06/0.3924, allocations: 0 / 426.9 MB, free: 14.88 MB / 362.7 MB Notification: Performance of Templates: time 0.0259/0.4183, allocations: 12.95 MB / 439.8 MB, free: 1.949 MB / 362.7 MB