Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice.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.Fittings.TestSimpleGenericOrifice,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestComponents_Fittings_TestSimpleGenericOrifice",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.01052/0.01053, allocations: 103.7 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.001133/0.001133, allocations: 167.5 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.598/1.598, allocations: 170.9 MB / 187.5 MB, free: 0.9883 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.2613/0.2613, allocations: 38.09 MB / 265.1 MB, free: 3.961 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000611/0.0006111, allocations: 8 kB / 323.6 MB, free: 29.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08712/0.08776, allocations: 48.72 MB / 372.3 MB, free: 12.84 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice): time 0.02245/0.1103, allocations: 14.44 MB / 386.7 MB, free: 14.35 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007724/0.1181, allocations: 3.766 MB / 390.5 MB, free: 10.57 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005256/0.1186, allocations: 19.81 kB / 390.5 MB, free: 10.55 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009252/0.1196, allocations: 230.8 kB / 390.8 MB, free: 10.33 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002001/0.1216, allocations: 0.6309 MB / 391.4 MB, free: 9.695 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003062/0.1247, allocations: 0.7405 MB / 392.1 MB, free: 8.953 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001557/0.1263, allocations: 0.8407 MB / 393 MB, free: 8.113 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006991/0.127, allocations: 357.1 kB / 393.3 MB, free: 7.758 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001028/0.128, allocations: 466.4 kB / 393.8 MB, free: 7.301 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005426/0.1286, allocations: 310.7 kB / 394.1 MB, free: 6.996 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 9.654e-05/0.1287, allocations: 24 kB / 394.1 MB, free: 6.973 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001528/0.1302, allocations: 0.4955 MB / 394.6 MB, free: 6.477 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002171/0.1305, allocations: 127.5 kB / 394.7 MB, free: 6.352 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001963/0.1307, allocations: 145.3 kB / 394.9 MB, free: 6.203 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001404/0.1321, allocations: 0.7368 MB / 395.6 MB, free: 5.465 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.1321, allocations: 0 / 395.6 MB, free: 5.465 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1321, allocations: 0 / 395.6 MB, free: 5.465 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.676e-06/0.1321, allocations: 0 / 395.6 MB, free: 5.465 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: 115 * Number of variables: 115 Notification: Performance of Generate backend data structure: time 0.001909/0.134, allocations: 0.8782 MB / 396.5 MB, free: 4.531 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.159e-05/0.1341, allocations: 8.031 kB / 396.5 MB, free: 4.523 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000165/0.1343, allocations: 82.53 kB / 396.6 MB, free: 4.434 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004289/0.1347, allocations: 87.17 kB / 396.6 MB, free: 4.348 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001058/0.1358, allocations: 492.5 kB / 397.1 MB, free: 3.824 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.112e-05/0.1359, allocations: 33 kB / 397.2 MB, free: 3.793 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001019/0.136, allocations: 47.95 kB / 397.2 MB, free: 3.746 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001428/0.1374, allocations: 0.63 MB / 397.8 MB, free: 3.059 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.31e-05/0.1374, allocations: 3.938 kB / 397.8 MB, free: 3.055 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.495e-05/0.1375, allocations: 20 kB / 397.9 MB, free: 3.035 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.856e-05/0.1376, allocations: 12 kB / 397.9 MB, free: 3.023 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001249/0.1388, allocations: 0.5152 MB / 398.4 MB, free: 2.512 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005295/0.1441, allocations: 3.162 MB / 401.5 MB, free: 15.15 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005621/0.1447, allocations: 198.9 kB / 401.7 MB, free: 14.95 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002088/0.1468, allocations: 1.095 MB / 402.8 MB, free: 13.75 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004258/0.1473, allocations: 189.8 kB / 403 MB, free: 13.55 MB / 314.7 MB Notification: Performance of pre-optimization done (n=23): time 2.885e-06/0.1473, allocations: 0 / 403 MB, free: 13.55 MB / 314.7 MB Notification: Performance of matching and sorting (n=23): time 0.001174/0.1485, allocations: 479.8 kB / 403.5 MB, free: 13.05 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001044/0.1486, allocations: 162.2 kB / 403.6 MB, free: 12.86 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000794/0.1494, allocations: 490.7 kB / 404.1 MB, free: 12.36 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.643e-05/0.1495, allocations: 37.64 kB / 404.2 MB, free: 12.32 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003644/0.1499, allocations: 366.5 kB / 404.5 MB, free: 11.96 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000101/0.15, allocations: 78.98 kB / 404.6 MB, free: 11.88 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.245e-05/0.15, allocations: 16 kB / 404.6 MB, free: 11.86 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002018/0.1502, allocations: 358.8 kB / 405 MB, free: 11.5 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003288/0.1506, allocations: 117 kB / 405.1 MB, free: 11.39 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005686/0.1512, allocations: 401.4 kB / 405.5 MB, free: 10.86 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004893/0.1517, allocations: 210.2 kB / 405.7 MB, free: 10.65 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.231e-06/0.1517, allocations: 0 / 405.7 MB, free: 10.65 MB / 314.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001499/0.1532, allocations: 0.6086 MB / 406.3 MB, free: 10.03 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001698/0.1549, allocations: 3.685 MB / 410 MB, free: 6.051 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.356e-05/0.155, allocations: 20 kB / 410 MB, free: 6.031 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.881e-05/0.155, allocations: 12 kB / 410 MB, free: 6.02 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002499/0.1575, allocations: 219.5 kB / 410.2 MB, free: 5.805 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006611/0.1582, allocations: 0.6289 MB / 410.8 MB, free: 5.152 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007145/0.159, allocations: 79.27 kB / 410.9 MB, free: 5.074 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.237e-05/0.1591, allocations: 35.98 kB / 411 MB, free: 5.039 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.1591, allocations: 8.031 kB / 411 MB, free: 5.031 MB / 314.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001318/0.1604, allocations: 0.5388 MB / 411.5 MB, free: 4.488 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.391e-05/0.1604, allocations: 8.938 kB / 411.5 MB, free: 4.48 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.43e-05/0.1605, allocations: 16 kB / 411.5 MB, free: 4.465 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007054/0.1612, allocations: 135.7 kB / 411.7 MB, free: 4.332 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.758e-05/0.1612, allocations: 15.94 kB / 411.7 MB, free: 4.316 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005344/0.1618, allocations: 59.52 kB / 411.7 MB, free: 4.258 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.776e-05/0.1619, allocations: 35.98 kB / 411.8 MB, free: 4.223 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (63): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004813/0.1624, allocations: 307.6 kB / 412.1 MB, free: 3.906 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001157/0.1625, allocations: 55.44 kB / 412.1 MB, free: 3.852 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002112/0.1646, allocations: 0.6704 MB / 412.8 MB, free: 3.164 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.249e-05/0.1646, allocations: 4 kB / 412.8 MB, free: 3.16 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.1647, allocations: 0 / 412.8 MB, free: 3.16 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/0.1647, allocations: 0 / 412.8 MB, free: 3.16 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008077/0.1655, allocations: 489 kB / 413.3 MB, free: 2.633 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.1655, allocations: 3.938 kB / 413.3 MB, free: 2.629 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001064/0.1666, allocations: 111.9 kB / 413.4 MB, free: 2.52 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.302e-06/0.1666, allocations: 0 / 413.4 MB, free: 2.52 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.148e-05/0.1667, allocations: 15.98 kB / 413.4 MB, free: 2.504 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004453/0.1671, allocations: 0.5899 MB / 414 MB, free: 1.891 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.1671, allocations: 4.094 kB / 414 MB, free: 1.887 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009547/0.1681, allocations: 426.6 kB / 414.4 MB, free: 1.445 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003273/0.1684, allocations: 196.1 kB / 414.6 MB, free: 1.234 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001175/0.1686, allocations: 12 kB / 414.6 MB, free: 1.223 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003465/0.1689, allocations: 15.98 kB / 414.6 MB, free: 1.207 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.049e-05/0.169, allocations: 23.97 kB / 414.7 MB, free: 1.184 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.862e-05/0.1691, allocations: 12 kB / 414.7 MB, free: 1.172 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0006152/0.1697, allocations: 350.8 kB / 415 MB, free: 0.832 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.1697, allocations: 3.938 kB / 415 MB, free: 0.8281 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.00169/0.1714, allocations: 395.3 kB / 415.4 MB, free: 452 kB / 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 (31): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002107/0.1735, allocations: 1.178 MB / 416.6 MB, free: 15.24 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00384/0.1774, allocations: 0.8186 MB / 417.4 MB, free: 14.4 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.1774, allocations: 0 / 417.4 MB, free: 14.4 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001514/0.179, allocations: 311.6 kB / 417.7 MB, free: 14.08 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001549/0.1805, allocations: 189.1 kB / 417.9 MB, free: 13.9 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009571/0.1901, allocations: 9.311 MB / 427.2 MB, free: 4.355 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006034/0.1908, allocations: 0.9035 MB / 428.1 MB, free: 3.422 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001196/0.192, allocations: 200.8 kB / 428.3 MB, free: 3.227 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004478/0.1925, allocations: 215.3 kB / 428.5 MB, free: 3.016 MB / 330.7 MB Notification: Performance of SimCode: time 1.002e-06/0.1925, allocations: 0 / 428.5 MB, free: 3.016 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3442/0.5367, allocations: 16.06 MB / 444.6 MB, free: 57.07 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003013/0.5371, allocations: 278.3 kB / 444.8 MB, free: 56.71 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.88/3.417, allocations: 0 / 444.8 MB, free: 56.71 MB / 330.7 MB