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.Pipes.StaticPipe.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.Pipes.StaticPipe,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Pipes_StaticPipe",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.987/1.987, allocations: 209.2 MB / 224.8 MB, free: 0.6172 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004619/0.0004621, allocations: 8 kB / 282.6 MB, free: 9.578 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3788/0.3793, allocations: 48.7 MB / 331.3 MB, free: 6.512 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe): time 0.01699/0.3964, allocations: 10.59 MB / 341.9 MB, free: 15.08 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01043/0.4068, allocations: 4.703 MB / 346.6 MB, free: 11.36 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007769/0.4077, allocations: 25.66 kB / 346.6 MB, free: 11.34 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008961/0.4086, allocations: 168.3 kB / 346.8 MB, free: 11.2 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002522/0.4111, allocations: 0.5699 MB / 347.3 MB, free: 10.75 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005339/0.4165, allocations: 1.171 MB / 348.5 MB, free: 9.957 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.00207/0.4186, allocations: 0.754 MB / 349.3 MB, free: 9.461 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007341/0.4194, allocations: 258.4 kB / 349.5 MB, free: 9.301 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001461/0.4209, allocations: 411.3 kB / 349.9 MB, free: 9.074 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009289/0.4218, allocations: 304.4 kB / 350.2 MB, free: 8.91 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001169/0.422, allocations: 19.03 kB / 350.2 MB, free: 8.91 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00311/0.4251, allocations: 0.9495 MB / 351.2 MB, free: 8.422 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003782/0.4255, allocations: 126.5 kB / 351.3 MB, free: 8.344 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003111/0.4258, allocations: 118.9 kB / 351.4 MB, free: 8.27 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002771/0.4286, allocations: 0.8981 MB / 352.3 MB, free: 7.746 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.4287, allocations: 5.656 kB / 352.3 MB, free: 7.742 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.294e-06/0.4287, allocations: 0 / 352.3 MB, free: 7.742 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.186e-05/0.4287, allocations: 4 kB / 352.3 MB, free: 7.738 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.002471/0.4312, allocations: 0.8418 MB / 353.2 MB, free: 7.012 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.046e-05/0.4313, allocations: 8.25 kB / 353.2 MB, free: 7.012 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000184/0.4315, allocations: 67.06 kB / 353.2 MB, free: 6.949 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000343/0.4318, allocations: 59.23 kB / 353.3 MB, free: 6.922 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001103/0.4329, allocations: 435.8 kB / 353.7 MB, free: 6.535 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.45e-05/0.433, allocations: 21.16 kB / 353.8 MB, free: 6.527 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.46e-05/0.4331, allocations: 26.47 kB / 353.8 MB, free: 6.52 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001313/0.4344, allocations: 0.5089 MB / 354.3 MB, free: 6.164 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.937e-05/0.4345, allocations: 1.531 kB / 354.3 MB, free: 6.164 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.046e-05/0.4346, allocations: 12 kB / 354.3 MB, free: 6.156 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.977e-05/0.4346, allocations: 30.33 kB / 354.3 MB, free: 6.148 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001177/0.4358, allocations: 451.6 kB / 354.8 MB, free: 5.926 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005364/0.4412, allocations: 2.274 MB / 357 MB, free: 3.914 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006447/0.4419, allocations: 213.1 kB / 357.3 MB, free: 3.793 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002094/0.444, allocations: 1.005 MB / 358.3 MB, free: 2.801 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003885/0.4445, allocations: 149.3 kB / 358.4 MB, free: 2.672 MB / 282.7 MB Notification: Performance of pre-optimization done (n=13): time 2.865e-06/0.4445, allocations: 3.938 kB / 358.4 MB, free: 2.668 MB / 282.7 MB Notification: Performance of matching and sorting (n=13): time 0.0008996/0.4454, allocations: 352.6 kB / 358.8 MB, free: 2.414 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001269/0.4455, allocations: 164.9 kB / 358.9 MB, free: 2.219 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000986/0.4465, allocations: 488.6 kB / 359.4 MB, free: 1.82 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.934e-05/0.4466, allocations: 29.7 kB / 359.4 MB, free: 1.785 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003532/0.447, allocations: 353.3 kB / 359.8 MB, free: 1.438 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.356e-05/0.4471, allocations: 43.48 kB / 359.8 MB, free: 1.395 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.925e-05/0.4471, allocations: 4 kB / 359.8 MB, free: 1.391 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001869/0.4473, allocations: 326.8 kB / 360.1 MB, free: 1.062 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003356/0.4477, allocations: 104.8 kB / 360.2 MB, free: 0.9609 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005777/0.4482, allocations: 339.2 kB / 360.6 MB, free: 0.5195 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005005/0.4488, allocations: 193.5 kB / 360.8 MB, free: 332 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.989e-06/0.4488, allocations: 7.953 kB / 360.8 MB, free: 324 kB / 282.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001319/0.4501, allocations: 488.6 kB / 361.2 MB, free: 15.83 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003885/0.4505, allocations: 338.6 kB / 361.6 MB, free: 15.39 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.076e-05/0.4506, allocations: 12 kB / 361.6 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.828e-05/0.4506, allocations: 12 kB / 361.6 MB, free: 15.36 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006284/0.4513, allocations: 87.84 kB / 361.7 MB, free: 15.28 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.984e-05/0.4513, allocations: 15.92 kB / 361.7 MB, free: 15.26 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007348/0.4521, allocations: 63.38 kB / 361.8 MB, free: 15.2 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.965e-05/0.4521, allocations: 27.98 kB / 361.8 MB, free: 15.17 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.4522, allocations: 8 kB / 361.8 MB, free: 15.16 MB / 298.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001212/0.4534, allocations: 456.2 kB / 362.2 MB, free: 14.71 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.728e-05/0.4534, allocations: 11.94 kB / 362.2 MB, free: 14.7 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.172e-05/0.4535, allocations: 12 kB / 362.3 MB, free: 14.69 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000569/0.4541, allocations: 83.89 kB / 362.3 MB, free: 14.61 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.138e-05/0.4541, allocations: 11.94 kB / 362.4 MB, free: 14.6 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004758/0.4546, allocations: 52.2 kB / 362.4 MB, free: 14.55 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.52e-05/0.4547, allocations: 24 kB / 362.4 MB, free: 14.52 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,p_table.a,p_table.b,p_table.last,$PRE.p_table.nextEvent,p_table.nextEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 1 * 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.0005482/0.4552, allocations: 298.6 kB / 362.7 MB, free: 14.21 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001594/0.4554, allocations: 51.39 kB / 362.8 MB, free: 14.16 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008648/0.4563, allocations: 282.9 kB / 363 MB, free: 13.87 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.544e-06/0.4563, allocations: 3.984 kB / 363 MB, free: 13.87 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.4563, allocations: 96 / 363 MB, free: 13.87 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.688e-06/0.4563, allocations: 11.92 kB / 363.1 MB, free: 13.86 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00077/0.4571, allocations: 377.2 kB / 363.4 MB, free: 13.44 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.4571, allocations: 0 / 363.4 MB, free: 13.44 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002017/0.4573, allocations: 16 kB / 363.4 MB, free: 13.42 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.158e-05/0.4574, allocations: 3.953 kB / 363.4 MB, free: 13.42 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.875e-05/0.4574, allocations: 4 kB / 363.5 MB, free: 13.41 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.049e-06/0.4574, allocations: 4 kB / 363.5 MB, free: 13.41 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/0.4574, allocations: 3.984 kB / 363.5 MB, free: 13.41 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007175/0.4582, allocations: 294.4 kB / 363.7 MB, free: 13.09 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002235/0.4584, allocations: 128.5 kB / 363.9 MB, free: 12.95 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001175/0.4585, allocations: 7.953 kB / 363.9 MB, free: 12.94 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00035/0.4589, allocations: 15.98 kB / 363.9 MB, free: 12.93 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.618e-05/0.459, allocations: 11.98 kB / 363.9 MB, free: 12.91 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.297e-05/0.459, allocations: 4 kB / 363.9 MB, free: 12.91 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0006406/0.4597, allocations: 334.9 kB / 364.2 MB, free: 12.59 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.4597, allocations: 0 / 364.2 MB, free: 12.59 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001852/0.4616, allocations: 399.5 kB / 364.6 MB, free: 12.2 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,p_table.a,p_table.b,p_table.last,p_table.nextEvent) * Number of discrete states: 5 (p_table.last,p_table.nextEvent,p_table.b,p_table.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 1 * 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 Backend phase and start with SimCode phase: time 0.002465/0.4641, allocations: 1.101 MB / 365.7 MB, free: 11.06 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001533/0.4656, allocations: 0.5911 MB / 366.3 MB, free: 10.45 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 7.394e-06/0.4657, allocations: 0 / 366.3 MB, free: 10.45 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002641/0.466, allocations: 139.3 kB / 366.5 MB, free: 10.3 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001249/0.4672, allocations: 150.6 kB / 366.6 MB, free: 10.16 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003734/0.471, allocations: 1.622 MB / 368.2 MB, free: 8.383 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006018/0.4717, allocations: 0.8468 MB / 369.1 MB, free: 7.508 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003861/0.4721, allocations: 155.4 kB / 369.2 MB, free: 7.359 MB / 298.7 MB Notification: Performance of SimCode: time 3.697e-06/0.4721, allocations: 0 / 369.2 MB, free: 7.359 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.93/3.402, allocations: 10.97 MB / 380.2 MB, free: 12.4 MB / 314.7 MB