Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.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 Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestComponents_Pipes_StaticPipe",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01132/0.01132, allocations: 107.6 kB / 15.06 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001907/0.001907, allocations: 182.6 kB / 15.95 MB, free: 5.52 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.001/2.001, allocations: 194.5 MB / 211.3 MB, free: 11.05 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo): time 0.26/0.26, allocations: 40.04 MB / 296.5 MB, free: 6.293 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004586/0.0004587, allocations: 12 kB / 361.2 MB, free: 9.527 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1163/0.1168, allocations: 54.88 MB / 416 MB, free: 2.547 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe): time 0.01774/0.1346, allocations: 10.62 MB / 426.7 MB, free: 7.875 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01009/0.1448, allocations: 4.731 MB / 431.4 MB, free: 3.141 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000678/0.1455, allocations: 19.81 kB / 431.4 MB, free: 3.121 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008426/0.1464, allocations: 167.2 kB / 431.6 MB, free: 2.957 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002394/0.1488, allocations: 0.5609 MB / 432.1 MB, free: 2.395 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005074/0.1539, allocations: 1.181 MB / 433.3 MB, free: 1.211 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001696/0.1556, allocations: 0.6714 MB / 434 MB, free: 0.5352 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007019/0.1563, allocations: 261.5 kB / 434.2 MB, free: 288 kB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001204/0.1576, allocations: 410.7 kB / 434.6 MB, free: 15.88 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007419/0.1583, allocations: 314.9 kB / 434.9 MB, free: 15.57 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001053/0.1585, allocations: 16 kB / 435 MB, free: 15.55 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002757/0.1612, allocations: 0.9556 MB / 435.9 MB, free: 14.6 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003147/0.1616, allocations: 127.6 kB / 436 MB, free: 14.47 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002396/0.1618, allocations: 117.5 kB / 436.2 MB, free: 14.35 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002321/0.1642, allocations: 0.8927 MB / 437 MB, free: 13.46 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.1642, allocations: 0 / 437 MB, free: 13.46 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.274e-06/0.1642, allocations: 0 / 437 MB, free: 13.46 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.398e-06/0.1643, allocations: 4 kB / 437.1 MB, free: 13.45 MB / 378.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.00228/0.1666, allocations: 0.8508 MB / 437.9 MB, free: 12.55 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.213e-05/0.1666, allocations: 8.031 kB / 437.9 MB, free: 12.54 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001493/0.1668, allocations: 66.53 kB / 438 MB, free: 12.46 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000327/0.1671, allocations: 59.34 kB / 438 MB, free: 12.41 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009818/0.1681, allocations: 441.4 kB / 438.5 MB, free: 11.94 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.831e-05/0.1682, allocations: 24.55 kB / 438.5 MB, free: 11.91 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.923e-05/0.1683, allocations: 28 kB / 438.5 MB, free: 11.88 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001322/0.1696, allocations: 0.5107 MB / 439 MB, free: 11.34 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.262e-05/0.1697, allocations: 11.88 kB / 439 MB, free: 11.32 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.232e-05/0.1698, allocations: 12 kB / 439 MB, free: 11.31 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.69e-05/0.1699, allocations: 24.55 kB / 439.1 MB, free: 11.29 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001197/0.1711, allocations: 450 kB / 439.5 MB, free: 10.85 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005152/0.1762, allocations: 2.284 MB / 441.8 MB, free: 8.418 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006401/0.1769, allocations: 214.7 kB / 442 MB, free: 8.199 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001836/0.1788, allocations: 1.025 MB / 443 MB, free: 7.055 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003503/0.1792, allocations: 148.9 kB / 443.2 MB, free: 6.891 MB / 378.7 MB Notification: Performance of pre-optimization done (n=15): time 2.695e-06/0.1792, allocations: 0 / 443.2 MB, free: 6.891 MB / 378.7 MB Notification: Performance of matching and sorting (n=15): time 0.0008344/0.18, allocations: 363.8 kB / 443.5 MB, free: 6.504 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.55e-05/0.1801, allocations: 162.2 kB / 443.7 MB, free: 6.309 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000837/0.181, allocations: 493.8 kB / 444.2 MB, free: 5.812 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.986e-05/0.1811, allocations: 29.7 kB / 444.2 MB, free: 5.777 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003023/0.1814, allocations: 310.9 kB / 444.5 MB, free: 5.465 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.669e-05/0.1814, allocations: 43.45 kB / 444.5 MB, free: 5.422 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.077e-05/0.1815, allocations: 8 kB / 444.6 MB, free: 5.414 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001754/0.1817, allocations: 350.8 kB / 444.9 MB, free: 5.062 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002979/0.182, allocations: 108.8 kB / 445 MB, free: 4.957 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004889/0.1825, allocations: 343.2 kB / 445.3 MB, free: 4.512 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000451/0.1829, allocations: 196.9 kB / 445.5 MB, free: 4.316 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.387e-06/0.183, allocations: 7.984 kB / 445.5 MB, free: 4.309 MB / 378.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001258/0.1842, allocations: 0.5063 MB / 446 MB, free: 3.789 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001179/0.1854, allocations: 2.905 MB / 449 MB, free: 0.6523 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.143e-05/0.1855, allocations: 11.98 kB / 449 MB, free: 0.6406 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.64e-05/0.1855, allocations: 12 kB / 449 MB, free: 0.6289 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000644/0.1862, allocations: 83.84 kB / 449.1 MB, free: 0.5469 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.208e-05/0.1862, allocations: 15.98 kB / 449.1 MB, free: 0.5312 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006495/0.1869, allocations: 59.44 kB / 449.1 MB, free: 484 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.51e-05/0.187, allocations: 31.92 kB / 449.2 MB, free: 452 kB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.187, allocations: 8 kB / 449.2 MB, free: 444 kB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.2982/0.4852, allocations: 455.3 kB / 449.6 MB, free: 59.59 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.962e-05/0.4853, allocations: 6.406 kB / 449.6 MB, free: 59.59 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.924e-05/0.4854, allocations: 12.56 kB / 449.6 MB, free: 59.59 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005824/0.4859, allocations: 86.58 kB / 449.7 MB, free: 59.59 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.765e-05/0.486, allocations: 20.52 kB / 449.7 MB, free: 59.59 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005337/0.4865, allocations: 49.08 kB / 449.8 MB, free: 59.59 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.868e-05/0.4866, allocations: 28.02 kB / 449.8 MB, free: 59.59 MB / 378.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.0003648/0.487, allocations: 308.2 kB / 450.1 MB, free: 59.38 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.953e-05/0.4871, allocations: 46.97 kB / 450.2 MB, free: 59.38 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006647/0.4877, allocations: 283.1 kB / 450.4 MB, free: 59.3 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.4878, allocations: 0 / 450.4 MB, free: 59.3 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.4878, allocations: 0 / 450.4 MB, free: 59.3 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.4878, allocations: 3.219 kB / 450.4 MB, free: 59.3 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005049/0.4883, allocations: 393.6 kB / 450.8 MB, free: 59.12 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.509e-06/0.4883, allocations: 3.062 kB / 450.8 MB, free: 59.12 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001657/0.4885, allocations: 18.56 kB / 450.8 MB, free: 59.12 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.561e-06/0.4885, allocations: 0 / 450.8 MB, free: 59.12 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.341e-05/0.4885, allocations: 10.56 kB / 450.9 MB, free: 59.12 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.4886, allocations: 0 / 450.9 MB, free: 59.12 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.4886, allocations: 0 / 450.9 MB, free: 59.12 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004955/0.4891, allocations: 295.2 kB / 451.1 MB, free: 59.02 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001214/0.4892, allocations: 128.7 kB / 451.3 MB, free: 58.92 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.851e-05/0.4893, allocations: 10.72 kB / 451.3 MB, free: 58.92 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003176/0.4896, allocations: 9.531 kB / 451.3 MB, free: 58.92 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.125e-05/0.4897, allocations: 10.59 kB / 451.3 MB, free: 58.92 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.819e-05/0.4897, allocations: 9.703 kB / 451.3 MB, free: 58.92 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004705/0.4902, allocations: 331.2 kB / 451.6 MB, free: 58.84 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.4902, allocations: 0 / 451.6 MB, free: 58.84 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001486/0.4917, allocations: 408.1 kB / 452 MB, free: 58.83 MB / 378.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.001884/0.4936, allocations: 1.116 MB / 453.1 MB, free: 58.17 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001287/0.4949, allocations: 0.6527 MB / 453.8 MB, free: 58.03 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.608e-06/0.495, allocations: 0 / 453.8 MB, free: 58.03 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000234/0.4952, allocations: 169.1 kB / 454 MB, free: 57.96 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001123/0.4964, allocations: 134.9 kB / 454.1 MB, free: 57.96 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00344/0.4998, allocations: 6.399 MB / 460.5 MB, free: 52.23 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003472/0.5003, allocations: 0.8507 MB / 461.3 MB, free: 51.53 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0009186/0.5012, allocations: 158.8 kB / 461.5 MB, free: 51.52 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002565/0.5015, allocations: 144.4 kB / 461.6 MB, free: 51.51 MB / 378.7 MB Notification: Performance of SimCode: time 9.71e-07/0.5015, allocations: 0 / 461.6 MB, free: 51.51 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04534/0.5468, allocations: 13.41 MB / 475 MB, free: 50.52 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003953/0.5473, allocations: 241.1 kB / 475.3 MB, free: 50.27 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.72/3.267, allocations: 0 / 475.3 MB, free: 50.27 MB / 378.7 MB