Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.259/2.259, allocations: 234.9 MB / 250.5 MB, free: 9.555 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004282/0.0004282, allocations: 12 kB / 314.4 MB, free: 9.516 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3528/0.3533, allocations: 54.87 MB / 369.3 MB, free: 10.72 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.02457/0.3779, allocations: 14.96 MB / 384.2 MB, free: 11.7 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01251/0.3905, allocations: 6.039 MB / 390.3 MB, free: 5.652 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001071/0.3916, allocations: 27.75 kB / 390.3 MB, free: 5.625 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001364/0.393, allocations: 326.3 kB / 390.6 MB, free: 5.301 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002148/0.3952, allocations: 0.5259 MB / 391.2 MB, free: 4.777 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004791/0.4, allocations: 1.064 MB / 392.2 MB, free: 3.711 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.003395/0.4034, allocations: 1.599 MB / 393.8 MB, free: 2.105 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00119/0.4046, allocations: 0.5596 MB / 394.4 MB, free: 1.531 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002285/0.4069, allocations: 0.783 MB / 395.2 MB, free: 0.7461 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001095/0.408, allocations: 0.4905 MB / 395.7 MB, free: 260 kB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002161/0.4083, allocations: 44 kB / 395.7 MB, free: 216 kB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001967/0.4102, allocations: 367.6 kB / 396.1 MB, free: 15.85 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008511/0.4111, allocations: 303.2 kB / 396.3 MB, free: 15.55 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006722/0.4118, allocations: 201.3 kB / 396.5 MB, free: 15.35 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002571/0.4144, allocations: 1.057 MB / 397.6 MB, free: 14.29 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.4145, allocations: 0 / 397.6 MB, free: 14.29 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.715e-06/0.4145, allocations: 0 / 397.6 MB, free: 14.29 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.516e-05/0.4145, allocations: 0 / 397.6 MB, free: 14.29 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.003254/0.4178, allocations: 1.111 MB / 398.7 MB, free: 13.13 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.408e-05/0.4178, allocations: 8.031 kB / 398.7 MB, free: 13.12 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002883/0.4181, allocations: 143.1 kB / 398.9 MB, free: 12.98 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006195/0.4188, allocations: 122.9 kB / 399 MB, free: 12.86 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00156/0.4204, allocations: 0.5784 MB / 399.6 MB, free: 12.23 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003296/0.4207, allocations: 260.1 kB / 399.8 MB, free: 11.94 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002071/0.4209, allocations: 76 kB / 399.9 MB, free: 11.87 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003126/0.4241, allocations: 1.289 MB / 401.2 MB, free: 10.45 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.442e-05/0.4241, allocations: 7.938 kB / 401.2 MB, free: 10.44 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001755/0.4243, allocations: 43.94 kB / 401.2 MB, free: 10.4 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.873e-05/0.4244, allocations: 45.3 kB / 401.3 MB, free: 10.35 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002765/0.4272, allocations: 0.9532 MB / 402.2 MB, free: 9.395 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.01084/0.4381, allocations: 7.043 MB / 409.3 MB, free: 1.883 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007786/0.4389, allocations: 296.4 kB / 409.6 MB, free: 1.586 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003541/0.4424, allocations: 2.78 MB / 412.3 MB, free: 14.3 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.455e-05/0.4425, allocations: 38.8 kB / 412.4 MB, free: 14.25 MB / 346.7 MB Notification: Performance of pre-optimization done (n=28): time 4.048e-06/0.4425, allocations: 0 / 412.4 MB, free: 14.25 MB / 346.7 MB Notification: Performance of matching and sorting (n=34): time 0.00313/0.4456, allocations: 1.034 MB / 413.4 MB, free: 13.17 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.967e-05/0.4457, allocations: 63.34 kB / 413.5 MB, free: 13.09 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001385/0.4471, allocations: 0.7735 MB / 414.2 MB, free: 12.3 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.271e-05/0.4472, allocations: 33.7 kB / 414.3 MB, free: 12.27 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005638/0.4478, allocations: 0.6307 MB / 414.9 MB, free: 11.63 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001663/0.448, allocations: 134.3 kB / 415 MB, free: 11.5 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.241e-05/0.4481, allocations: 28 kB / 415.1 MB, free: 11.47 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001923/0.4483, allocations: 362.8 kB / 415.4 MB, free: 11.11 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007042/0.449, allocations: 234.5 kB / 415.7 MB, free: 10.88 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001338/0.4503, allocations: 1.015 MB / 416.7 MB, free: 9.473 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001068/0.4514, allocations: 455.7 kB / 417.1 MB, free: 9.027 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.941e-05/0.4514, allocations: 8 kB / 417.1 MB, free: 9.02 MB / 346.7 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.002814/0.4543, allocations: 1.201 MB / 418.3 MB, free: 7.812 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.87e-05/0.4543, allocations: 20.22 kB / 418.3 MB, free: 7.793 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.067e-05/0.4544, allocations: 35.98 kB / 418.4 MB, free: 7.758 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.868e-05/0.4545, allocations: 43.95 kB / 418.4 MB, free: 7.715 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001522/0.456, allocations: 299.4 kB / 418.7 MB, free: 7.422 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.64e-05/0.4561, allocations: 55.73 kB / 418.8 MB, free: 7.367 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0011/0.4572, allocations: 67.92 kB / 418.8 MB, free: 7.301 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000146/0.4574, allocations: 80 kB / 418.9 MB, free: 7.223 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.0006569/0.458, allocations: 337.1 kB / 419.2 MB, free: 6.883 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001861/0.4582, allocations: 82.97 kB / 419.3 MB, free: 6.801 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001287/0.4595, allocations: 452 kB / 419.8 MB, free: 6.344 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.509e-05/0.4596, allocations: 8 kB / 419.8 MB, free: 6.336 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/0.4596, allocations: 3.953 kB / 419.8 MB, free: 6.332 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.011e-05/0.4596, allocations: 3.984 kB / 419.8 MB, free: 6.328 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002606/0.4622, allocations: 1.236 MB / 421 MB, free: 4.973 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.523e-06/0.4622, allocations: 0 / 421 MB, free: 4.973 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005449/0.4628, allocations: 71.91 kB / 421.1 MB, free: 4.902 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.086e-05/0.4628, allocations: 4 kB / 421.1 MB, free: 4.898 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.232e-05/0.4629, allocations: 20.27 kB / 421.1 MB, free: 4.879 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.398e-06/0.4629, allocations: 4 kB / 421.1 MB, free: 4.875 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.53e-06/0.4629, allocations: 3.938 kB / 421.1 MB, free: 4.871 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001343/0.4643, allocations: 0.6274 MB / 421.7 MB, free: 4.199 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004397/0.4647, allocations: 192.1 kB / 421.9 MB, free: 3.992 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001626/0.4649, allocations: 11.94 kB / 421.9 MB, free: 3.98 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007061/0.4656, allocations: 31.95 kB / 422 MB, free: 3.949 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.405e-05/0.4657, allocations: 23.97 kB / 422 MB, free: 3.926 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.961e-05/0.4658, allocations: 20.03 kB / 422 MB, free: 3.906 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0009913/0.4668, allocations: 0.4911 MB / 422.5 MB, free: 3.422 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.4668, allocations: 0 / 422.5 MB, free: 3.422 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001618/0.4684, allocations: 299.9 kB / 422.8 MB, free: 3.129 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.002375/0.4708, allocations: 1.384 MB / 424.2 MB, free: 1.699 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001689/0.4726, allocations: 0.6463 MB / 424.8 MB, free: 1.059 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 9.548e-06/0.4726, allocations: 4 kB / 424.8 MB, free: 1.055 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003499/0.4729, allocations: 143.7 kB / 425 MB, free: 0.9141 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002347/0.4753, allocations: 274.2 kB / 425.2 MB, free: 0.6484 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01111/0.4864, allocations: 5.15 MB / 430.4 MB, free: 11.02 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000849/0.4873, allocations: 1.009 MB / 431.4 MB, free: 9.988 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006512/0.488, allocations: 299.3 kB / 431.7 MB, free: 9.695 MB / 362.7 MB Notification: Performance of SimCode: time 1.192e-06/0.488, allocations: 0 / 431.7 MB, free: 9.695 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.991/3.479, allocations: 16.62 MB / 448.3 MB, free: 9.082 MB / 378.7 MB