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.Pipes.StaticPipe.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.Pipes.StaticPipe,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_Pipes_StaticPipe",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.268/2.268, allocations: 234.9 MB / 250.5 MB, free: 9.551 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004206/0.0004207, allocations: 12 kB / 314.4 MB, free: 9.496 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3366/0.3371, allocations: 54.86 MB / 369.3 MB, free: 10.72 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe): time 0.01762/0.3547, allocations: 10.63 MB / 379.9 MB, free: 36 kB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.009974/0.3648, allocations: 4.722 MB / 384.6 MB, free: 11.3 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006815/0.3655, allocations: 19.81 kB / 384.7 MB, free: 11.29 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007961/0.3663, allocations: 171.1 kB / 384.8 MB, free: 11.12 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002309/0.3687, allocations: 0.5686 MB / 385.4 MB, free: 10.55 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004905/0.3736, allocations: 1.169 MB / 386.6 MB, free: 9.375 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001704/0.3753, allocations: 0.7611 MB / 387.3 MB, free: 8.613 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00059/0.3759, allocations: 261.5 kB / 387.6 MB, free: 8.355 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001154/0.3771, allocations: 422.7 kB / 388 MB, free: 7.941 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006995/0.3778, allocations: 302.9 kB / 388.3 MB, free: 7.645 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 9.542e-05/0.3779, allocations: 20 kB / 388.3 MB, free: 7.625 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002762/0.3807, allocations: 0.9479 MB / 389.2 MB, free: 6.676 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003337/0.3811, allocations: 127.6 kB / 389.4 MB, free: 6.551 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002463/0.3813, allocations: 121.5 kB / 389.5 MB, free: 6.426 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002232/0.3836, allocations: 0.9052 MB / 390.4 MB, free: 5.52 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.3836, allocations: 0 / 390.4 MB, free: 5.52 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.294e-06/0.3836, allocations: 0 / 390.4 MB, free: 5.52 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.163e-06/0.3836, allocations: 0 / 390.4 MB, free: 5.52 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.002146/0.3858, allocations: 0.8469 MB / 391.2 MB, free: 4.617 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.589e-05/0.3859, allocations: 8.031 kB / 391.3 MB, free: 4.609 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001322/0.386, allocations: 70.52 kB / 391.3 MB, free: 4.531 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003032/0.3863, allocations: 67.42 kB / 391.4 MB, free: 4.465 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009097/0.3872, allocations: 429.4 kB / 391.8 MB, free: 4.008 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.869e-05/0.3873, allocations: 28.55 kB / 391.8 MB, free: 3.98 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.352e-05/0.3874, allocations: 27.94 kB / 391.9 MB, free: 3.953 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001235/0.3886, allocations: 0.5107 MB / 392.4 MB, free: 3.402 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.555e-05/0.3887, allocations: 0 / 392.4 MB, free: 3.402 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.775e-05/0.3887, allocations: 12 kB / 392.4 MB, free: 3.391 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.044e-05/0.3888, allocations: 28.55 kB / 392.4 MB, free: 3.363 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001192/0.39, allocations: 457.9 kB / 392.9 MB, free: 2.914 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005047/0.3951, allocations: 2.284 MB / 395.1 MB, free: 496 kB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006278/0.3958, allocations: 210.6 kB / 395.3 MB, free: 276 kB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001879/0.3977, allocations: 1.029 MB / 396.4 MB, free: 15.12 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003474/0.3981, allocations: 152.9 kB / 396.5 MB, free: 14.95 MB / 330.7 MB Notification: Performance of pre-optimization done (n=15): time 2.825e-06/0.3981, allocations: 0 / 396.5 MB, free: 14.95 MB / 330.7 MB Notification: Performance of matching and sorting (n=15): time 0.0007956/0.3989, allocations: 351.9 kB / 396.9 MB, free: 14.58 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001077/0.399, allocations: 166.2 kB / 397 MB, free: 14.38 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008621/0.3999, allocations: 493.8 kB / 397.5 MB, free: 13.89 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.36e-05/0.3999, allocations: 25.7 kB / 397.5 MB, free: 13.86 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003158/0.4003, allocations: 357.3 kB / 397.9 MB, free: 13.5 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.039e-05/0.4003, allocations: 43.45 kB / 397.9 MB, free: 13.46 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.829e-05/0.4004, allocations: 4 kB / 397.9 MB, free: 13.45 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001595/0.4005, allocations: 334.8 kB / 398.3 MB, free: 13.12 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003279/0.4009, allocations: 108.8 kB / 398.4 MB, free: 13.01 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005217/0.4014, allocations: 343.1 kB / 398.7 MB, free: 12.57 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004693/0.4019, allocations: 204.9 kB / 398.9 MB, free: 12.36 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.66e-06/0.4019, allocations: 0 / 398.9 MB, free: 12.36 MB / 330.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001186/0.4031, allocations: 489.6 kB / 399.4 MB, free: 11.88 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002955/0.4034, allocations: 354.8 kB / 399.7 MB, free: 11.42 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.686e-05/0.4035, allocations: 8 kB / 399.7 MB, free: 11.41 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.003e-05/0.4035, allocations: 12 kB / 399.7 MB, free: 11.4 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005871/0.4041, allocations: 87.83 kB / 399.8 MB, free: 11.31 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.389e-05/0.4041, allocations: 15.94 kB / 399.8 MB, free: 11.3 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006065/0.4048, allocations: 67.36 kB / 399.9 MB, free: 11.23 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.632e-05/0.4049, allocations: 24 kB / 399.9 MB, free: 11.21 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.097e-05/0.4049, allocations: 4 kB / 399.9 MB, free: 11.2 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001109/0.406, allocations: 464.9 kB / 400.4 MB, free: 10.74 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.424e-05/0.406, allocations: 11.95 kB / 400.4 MB, free: 10.73 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.932e-05/0.4061, allocations: 12 kB / 400.4 MB, free: 10.72 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005201/0.4066, allocations: 80.66 kB / 400.5 MB, free: 10.64 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.22e-05/0.4066, allocations: 19.92 kB / 400.5 MB, free: 10.62 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003915/0.407, allocations: 43.69 kB / 400.6 MB, free: 10.58 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.024e-05/0.4071, allocations: 35.97 kB / 400.6 MB, free: 10.54 MB / 330.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: 7 ($whenCondition1,p_table.a,p_table.b,p_table.last,$PRE.p_table.nextEvent,p_table.nextEvent,p_table.nextEventScaled) * 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.0004395/0.4075, allocations: 302.6 kB / 400.9 MB, free: 10.23 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001247/0.4077, allocations: 47.56 kB / 400.9 MB, free: 10.18 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007669/0.4085, allocations: 285 kB / 401.2 MB, free: 9.895 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.873e-06/0.4085, allocations: 4.094 kB / 401.2 MB, free: 9.891 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.4085, allocations: 3.938 kB / 401.2 MB, free: 9.887 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.622e-06/0.4085, allocations: 3.984 kB / 401.2 MB, free: 9.883 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006186/0.4091, allocations: 377.3 kB / 401.6 MB, free: 9.465 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/0.4092, allocations: 4 kB / 401.6 MB, free: 9.461 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001789/0.4094, allocations: 19.98 kB / 401.6 MB, free: 9.441 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.651e-06/0.4094, allocations: 4 kB / 401.6 MB, free: 9.438 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.982e-05/0.4094, allocations: 4 kB / 401.6 MB, free: 9.434 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.76e-06/0.4094, allocations: 11.83 kB / 401.6 MB, free: 9.422 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.4094, allocations: 0 / 401.6 MB, free: 9.422 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006167/0.4101, allocations: 290.2 kB / 401.9 MB, free: 9.113 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001703/0.4103, allocations: 124.5 kB / 402 MB, free: 8.973 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001121/0.4104, allocations: 4 kB / 402 MB, free: 8.969 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003376/0.4107, allocations: 23.92 kB / 402.1 MB, free: 8.945 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.13e-05/0.4108, allocations: 11.94 kB / 402.1 MB, free: 8.934 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.582e-05/0.4108, allocations: 12 kB / 402.1 MB, free: 8.922 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005999/0.4115, allocations: 330.9 kB / 402.4 MB, free: 8.602 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.4115, allocations: 0 / 402.4 MB, free: 8.602 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001595/0.4131, allocations: 411.5 kB / 402.8 MB, free: 8.199 MB / 330.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: 6 ($whenCondition1,p_table.a,p_table.b,p_table.last,p_table.nextEvent,p_table.nextEventScaled) * Number of discrete states: 6 (p_table.nextEvent,p_table.last,p_table.nextEventScaled,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.002211/0.4153, allocations: 1.107 MB / 403.9 MB, free: 7.062 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001534/0.4169, allocations: 0.6507 MB / 404.6 MB, free: 6.391 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.409e-06/0.4169, allocations: 0 / 404.6 MB, free: 6.391 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002851/0.4172, allocations: 163.3 kB / 404.7 MB, free: 6.219 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001149/0.4183, allocations: 154.3 kB / 404.9 MB, free: 6.074 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003257/0.4216, allocations: 1.659 MB / 406.5 MB, free: 4.262 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005582/0.4222, allocations: 0.8507 MB / 407.4 MB, free: 3.383 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003388/0.4226, allocations: 151.4 kB / 407.5 MB, free: 3.234 MB / 330.7 MB Notification: Performance of SimCode: time 1.102e-06/0.4226, allocations: 0 / 407.5 MB, free: 3.234 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.72/3.143, allocations: 11.08 MB / 418.6 MB, free: 8.16 MB / 346.7 MB