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: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.998/1.998, allocations: 209.2 MB / 224.8 MB, free: 0.5352 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004968/0.0004969, allocations: 16 kB / 282.6 MB, free: 9.574 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3435/0.3441, allocations: 48.7 MB / 331.3 MB, free: 6.512 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.02445/0.3686, allocations: 14.94 MB / 346.2 MB, free: 11.7 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01422/0.3829, allocations: 6.046 MB / 352.3 MB, free: 6.891 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001395/0.3843, allocations: 27.81 kB / 352.3 MB, free: 6.875 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001742/0.3861, allocations: 314.5 kB / 352.6 MB, free: 6.605 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002634/0.3888, allocations: 0.534 MB / 353.1 MB, free: 6.137 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005105/0.3939, allocations: 1.062 MB / 354.2 MB, free: 5.363 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.003788/0.3977, allocations: 1.603 MB / 355.8 MB, free: 4.312 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00138/0.3992, allocations: 0.5475 MB / 356.3 MB, free: 3.957 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002767/0.402, allocations: 0.791 MB / 357.1 MB, free: 3.5 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001557/0.4036, allocations: 495.7 kB / 357.6 MB, free: 3.223 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003057/0.4039, allocations: 45.59 kB / 357.7 MB, free: 3.223 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002246/0.4062, allocations: 362.5 kB / 358 MB, free: 3.133 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008303/0.4071, allocations: 310.7 kB / 358.3 MB, free: 2.941 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005346/0.4076, allocations: 204.4 kB / 358.5 MB, free: 2.836 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002742/0.4104, allocations: 1.053 MB / 359.6 MB, free: 2.137 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.4104, allocations: 0 / 359.6 MB, free: 2.137 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.826e-06/0.4104, allocations: 8 kB / 359.6 MB, free: 2.129 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.865e-05/0.4105, allocations: 0 / 359.6 MB, free: 2.129 MB / 282.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.003703/0.4142, allocations: 1.11 MB / 360.7 MB, free: 0.9727 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.245e-05/0.4143, allocations: 12.03 kB / 360.7 MB, free: 0.9609 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004365/0.4147, allocations: 147 kB / 360.9 MB, free: 0.8086 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006387/0.4154, allocations: 118.9 kB / 361 MB, free: 0.6914 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002136/0.4175, allocations: 0.5785 MB / 361.5 MB, free: 76 kB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004445/0.418, allocations: 252.2 kB / 361.8 MB, free: 15.79 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003458/0.4184, allocations: 76 kB / 361.9 MB, free: 15.71 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005174/0.4236, allocations: 1.293 MB / 363.2 MB, free: 14.29 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.211e-05/0.4237, allocations: 11.92 kB / 363.2 MB, free: 14.28 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003177/0.4241, allocations: 51.88 kB / 363.2 MB, free: 14.23 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001634/0.4243, allocations: 37.25 kB / 363.3 MB, free: 14.19 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00455/0.4288, allocations: 0.9571 MB / 364.2 MB, free: 13.23 MB / 298.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.01811/0.447, allocations: 7.043 MB / 371.3 MB, free: 5.723 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002194/0.4492, allocations: 296.3 kB / 371.5 MB, free: 5.422 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01047/0.4598, allocations: 2.783 MB / 374.3 MB, free: 2.133 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.477e-05/0.46, allocations: 38.8 kB / 374.4 MB, free: 2.086 MB / 298.7 MB Notification: Performance of pre-optimization done (n=28): time 4.378e-06/0.46, allocations: 0 / 374.4 MB, free: 2.086 MB / 298.7 MB Notification: Performance of matching and sorting (n=34): time 0.004832/0.4648, allocations: 1.035 MB / 375.4 MB, free: 1 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.414e-05/0.465, allocations: 51.41 kB / 375.5 MB, free: 0.9375 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0021/0.4671, allocations: 0.7775 MB / 376.2 MB, free: 148 kB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001339/0.4672, allocations: 29.7 kB / 376.3 MB, free: 112 kB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009025/0.4682, allocations: 0.6385 MB / 376.9 MB, free: 15.46 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002696/0.4685, allocations: 138.3 kB / 377 MB, free: 15.33 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001106/0.4686, allocations: 24 kB / 377.1 MB, free: 15.3 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002876/0.4689, allocations: 366.7 kB / 377.4 MB, free: 14.94 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001012/0.4699, allocations: 238.5 kB / 377.6 MB, free: 14.71 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002205/0.4722, allocations: 1.015 MB / 378.7 MB, free: 13.3 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001725/0.4739, allocations: 451.7 kB / 379.1 MB, free: 12.86 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.17e-05/0.474, allocations: 8 kB / 379.1 MB, free: 12.85 MB / 314.7 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.004845/0.4788, allocations: 1.205 MB / 380.3 MB, free: 11.64 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.816e-05/0.479, allocations: 19.94 kB / 380.3 MB, free: 11.62 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-05/0.4791, allocations: 28 kB / 380.4 MB, free: 11.59 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001036/0.4792, allocations: 44 kB / 380.4 MB, free: 11.55 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00236/0.4816, allocations: 291.4 kB / 380.7 MB, free: 11.27 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001016/0.4817, allocations: 51.8 kB / 380.7 MB, free: 11.21 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002116/0.4838, allocations: 80.02 kB / 380.8 MB, free: 11.14 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002994/0.4842, allocations: 79.98 kB / 380.9 MB, free: 11.06 MB / 314.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.001071/0.4853, allocations: 340.8 kB / 381.2 MB, free: 10.71 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002962/0.4856, allocations: 75.06 kB / 381.3 MB, free: 10.64 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00214/0.4877, allocations: 462.5 kB / 381.8 MB, free: 10.17 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.037e-05/0.4878, allocations: 4 kB / 381.8 MB, free: 10.16 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.19e-05/0.4878, allocations: 4 kB / 381.8 MB, free: 10.16 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.13e-05/0.4878, allocations: 0 / 381.8 MB, free: 10.16 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004093/0.492, allocations: 1.238 MB / 383 MB, free: 8.801 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.516e-05/0.492, allocations: 4 kB / 383 MB, free: 8.797 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008718/0.4929, allocations: 80.17 kB / 383.1 MB, free: 8.719 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.551e-05/0.493, allocations: 4 kB / 383.1 MB, free: 8.715 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.519e-05/0.493, allocations: 8 kB / 383.1 MB, free: 8.707 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.417e-05/0.4931, allocations: 7.953 kB / 383.1 MB, free: 8.699 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.878e-06/0.4931, allocations: 4 kB / 383.1 MB, free: 8.695 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002076/0.4952, allocations: 0.6384 MB / 383.7 MB, free: 8.012 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006692/0.4959, allocations: 192.1 kB / 383.9 MB, free: 7.805 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002502/0.4962, allocations: 8 kB / 383.9 MB, free: 7.797 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00101/0.4972, allocations: 27.95 kB / 384 MB, free: 7.77 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001001/0.4973, allocations: 31.91 kB / 384 MB, free: 7.738 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001108/0.4975, allocations: 27.97 kB / 384 MB, free: 7.711 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001457/0.4989, allocations: 499 kB / 384.5 MB, free: 7.23 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.32e-07/0.4989, allocations: 0 / 384.5 MB, free: 7.23 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002774/0.5017, allocations: 299.8 kB / 384.8 MB, free: 6.938 MB / 314.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.003404/0.5052, allocations: 1.381 MB / 386.2 MB, free: 5.5 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002468/0.5077, allocations: 0.6414 MB / 386.8 MB, free: 4.863 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.514e-06/0.5077, allocations: 0 / 386.8 MB, free: 4.863 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005082/0.5082, allocations: 147.9 kB / 387 MB, free: 4.723 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003173/0.5114, allocations: 270.4 kB / 387.2 MB, free: 4.461 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01598/0.5274, allocations: 5.136 MB / 392.4 MB, free: 14.85 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001313/0.5288, allocations: 1.005 MB / 393.4 MB, free: 13.82 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009965/0.5298, allocations: 307.3 kB / 393.7 MB, free: 13.52 MB / 330.7 MB Notification: Performance of SimCode: time 1.713e-06/0.5299, allocations: 0 / 393.7 MB, free: 13.52 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.918/3.448, allocations: 16.61 MB / 410.3 MB, free: 12.92 MB / 346.7 MB