Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.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 Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe,fileNamePrefix="ModelicaTest_3_2_1_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.1/package.mo): time 0.01121/0.01122, allocations: 103.8 kB / 15.05 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.1.mo): time 0.001207/0.001206, allocations: 166.6 kB / 15.93 MB, free: 5.527 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo): time 1.643/1.643, allocations: 170.9 MB / 187.5 MB, free: 0.8398 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo): time 0.2584/0.2584, allocations: 38.09 MB / 265.1 MB, free: 3.949 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000477/0.000477, allocations: 12 kB / 323.6 MB, free: 29.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09205/0.09256, allocations: 48.72 MB / 372.3 MB, free: 12.84 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe): time 0.01733/0.1099, allocations: 10.59 MB / 382.9 MB, free: 2.215 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.009957/0.12, allocations: 4.699 MB / 387.6 MB, free: 13.51 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006767/0.1207, allocations: 19.81 kB / 387.6 MB, free: 13.49 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008115/0.1215, allocations: 179.1 kB / 387.8 MB, free: 13.32 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002332/0.1239, allocations: 0.5569 MB / 388.3 MB, free: 12.76 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004941/0.1288, allocations: 1.181 MB / 389.5 MB, free: 11.57 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001588/0.1305, allocations: 0.6713 MB / 390.2 MB, free: 10.9 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006064/0.1311, allocations: 257.4 kB / 390.4 MB, free: 10.64 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001199/0.1323, allocations: 406.7 kB / 390.8 MB, free: 10.25 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000722/0.1331, allocations: 299 kB / 391.1 MB, free: 9.953 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 8.821e-05/0.1332, allocations: 20 kB / 391.2 MB, free: 9.934 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002663/0.1358, allocations: 0.9557 MB / 392.1 MB, free: 8.977 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002789/0.1362, allocations: 127.5 kB / 392.2 MB, free: 8.852 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002251/0.1364, allocations: 121.5 kB / 392.4 MB, free: 8.727 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00222/0.1386, allocations: 0.8926 MB / 393.2 MB, free: 7.832 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.1387, allocations: 0 / 393.2 MB, free: 7.832 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.305e-06/0.1387, allocations: 0 / 393.2 MB, free: 7.832 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.965e-06/0.1387, allocations: 0 / 393.2 MB, free: 7.832 MB / 298.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.002219/0.1409, allocations: 0.8508 MB / 394.1 MB, free: 6.926 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.832e-05/0.141, allocations: 8.031 kB / 394.1 MB, free: 6.918 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001463/0.1412, allocations: 66.53 kB / 394.2 MB, free: 6.844 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003177/0.1415, allocations: 59.39 kB / 394.2 MB, free: 6.785 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009866/0.1425, allocations: 433.4 kB / 394.6 MB, free: 6.316 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.159e-05/0.1426, allocations: 28.55 kB / 394.7 MB, free: 6.289 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.463e-05/0.1427, allocations: 24 kB / 394.7 MB, free: 6.266 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001245/0.1439, allocations: 0.499 MB / 395.2 MB, free: 5.727 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.816e-05/0.144, allocations: 8 kB / 395.2 MB, free: 5.719 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.856e-05/0.144, allocations: 12 kB / 395.2 MB, free: 5.707 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.851e-05/0.1441, allocations: 28.55 kB / 395.2 MB, free: 5.68 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001167/0.1453, allocations: 453.8 kB / 395.7 MB, free: 5.238 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005288/0.1506, allocations: 2.264 MB / 398 MB, free: 2.824 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007061/0.1514, allocations: 222.8 kB / 398.2 MB, free: 2.598 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002101/0.1535, allocations: 1.002 MB / 399.2 MB, free: 1.477 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003602/0.1539, allocations: 156.9 kB / 399.3 MB, free: 1.305 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 3.968e-06/0.1539, allocations: 0 / 399.3 MB, free: 1.305 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0008982/0.1548, allocations: 356 kB / 399.7 MB, free: 0.9258 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001059/0.155, allocations: 158.2 kB / 399.8 MB, free: 0.7344 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008734/0.1559, allocations: 489.7 kB / 400.3 MB, free: 252 kB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.041e-05/0.1559, allocations: 37.7 kB / 400.3 MB, free: 208 kB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003418/0.1563, allocations: 303.2 kB / 400.6 MB, free: 15.9 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.55e-05/0.1564, allocations: 43.44 kB / 400.7 MB, free: 15.86 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.034e-05/0.1564, allocations: 8 kB / 400.7 MB, free: 15.85 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001893/0.1566, allocations: 354.8 kB / 401 MB, free: 15.49 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003006/0.1569, allocations: 104.8 kB / 401.1 MB, free: 15.39 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005014/0.1574, allocations: 335.2 kB / 401.5 MB, free: 14.95 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000438/0.1579, allocations: 186.5 kB / 401.6 MB, free: 14.77 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.208e-06/0.1579, allocations: 7.781 kB / 401.7 MB, free: 14.76 MB / 314.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001219/0.1591, allocations: 0.5054 MB / 402.2 MB, free: 14.25 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001335/0.1605, allocations: 2.909 MB / 405.1 MB, free: 11.11 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.074e-05/0.1605, allocations: 8 kB / 405.1 MB, free: 11.1 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.143e-05/0.1606, allocations: 12 kB / 405.1 MB, free: 11.09 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006234/0.1612, allocations: 91.83 kB / 405.2 MB, free: 11 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.065e-05/0.1612, allocations: 11.94 kB / 405.2 MB, free: 10.98 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006011/0.1618, allocations: 67.31 kB / 405.3 MB, free: 10.92 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.304e-05/0.1619, allocations: 24 kB / 405.3 MB, free: 10.89 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.608e-06/0.1619, allocations: 7.938 kB / 405.3 MB, free: 10.89 MB / 314.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001149/0.1631, allocations: 461.4 kB / 405.7 MB, free: 10.43 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.274e-05/0.1631, allocations: 8 kB / 405.7 MB, free: 10.42 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.829e-05/0.1632, allocations: 12 kB / 405.8 MB, free: 10.41 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005276/0.1637, allocations: 87.84 kB / 405.8 MB, free: 10.32 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.039e-05/0.1637, allocations: 15.92 kB / 405.9 MB, free: 10.31 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000469/0.1642, allocations: 44.05 kB / 405.9 MB, free: 10.27 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.127e-05/0.1643, allocations: 31.98 kB / 405.9 MB, free: 10.23 MB / 314.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.000409/0.1647, allocations: 303.6 kB / 406.2 MB, free: 9.922 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.358e-05/0.1648, allocations: 43.44 kB / 406.3 MB, free: 9.879 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007459/0.1656, allocations: 282.9 kB / 406.5 MB, free: 9.586 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/0.1656, allocations: 4 kB / 406.6 MB, free: 9.582 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.1656, allocations: 0 / 406.6 MB, free: 9.582 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.383e-06/0.1656, allocations: 3.953 kB / 406.6 MB, free: 9.578 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005654/0.1662, allocations: 369.3 kB / 406.9 MB, free: 9.168 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.1662, allocations: 4 kB / 406.9 MB, free: 9.164 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001742/0.1664, allocations: 15.98 kB / 406.9 MB, free: 9.148 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.131e-06/0.1664, allocations: 7.938 kB / 406.9 MB, free: 9.141 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.368e-05/0.1665, allocations: 4 kB / 406.9 MB, free: 9.137 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.1665, allocations: 0 / 406.9 MB, free: 9.137 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/0.1665, allocations: 8 kB / 407 MB, free: 9.129 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005833/0.1671, allocations: 286.1 kB / 407.2 MB, free: 8.824 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001602/0.1673, allocations: 128.5 kB / 407.4 MB, free: 8.68 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.811e-05/0.1674, allocations: 8 kB / 407.4 MB, free: 8.672 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000321/0.1677, allocations: 11.98 kB / 407.4 MB, free: 8.66 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.793e-05/0.1678, allocations: 4 kB / 407.4 MB, free: 8.656 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.388e-05/0.1678, allocations: 19.98 kB / 407.4 MB, free: 8.637 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0005735/0.1684, allocations: 334.8 kB / 407.7 MB, free: 8.312 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.1684, allocations: 0 / 407.7 MB, free: 8.312 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001582/0.17, allocations: 399.6 kB / 408.1 MB, free: 7.922 MB / 314.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.002169/0.1722, allocations: 1.104 MB / 409.2 MB, free: 6.793 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001382/0.1736, allocations: 0.5947 MB / 409.8 MB, free: 6.18 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.1736, allocations: 0 / 409.8 MB, free: 6.18 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002388/0.1739, allocations: 143.3 kB / 410 MB, free: 6.027 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001173/0.1751, allocations: 133 kB / 410.1 MB, free: 5.902 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005128/0.1802, allocations: 6.37 MB / 416.5 MB, free: 15.34 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005673/0.1808, allocations: 0.8584 MB / 417.3 MB, free: 14.45 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0009516/0.1818, allocations: 156.1 kB / 417.5 MB, free: 14.3 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003071/0.1821, allocations: 143.4 kB / 417.6 MB, free: 14.16 MB / 330.7 MB Notification: Performance of SimCode: time 1.032e-06/0.1821, allocations: 0 / 417.6 MB, free: 14.16 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09922/0.2814, allocations: 13.19 MB / 430.8 MB, free: 1.074 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002412/0.2817, allocations: 226.5 kB / 431 MB, free: 0.8359 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.982/3.264, allocations: 0 / 431 MB, free: 0.8359 MB / 330.7 MB