Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice.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.Fittings.TestSimpleGenericOrifice,fileNamePrefix="ModelicaTest_3_2_2_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.2/package.mo): time 0.01135/0.01136, allocations: 106.5 kB / 15.06 MB, free: 6.027 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.001258/0.001258, allocations: 183.1 kB / 15.95 MB, free: 5.953 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 1.904/1.904, allocations: 194.5 MB / 211.2 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.2608/0.2608, allocations: 40.04 MB / 296.5 MB, free: 6.246 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004633/0.0004634, allocations: 16 kB / 361.2 MB, free: 9.523 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1593/0.1598, allocations: 54.88 MB / 416 MB, free: 2.547 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice): time 0.03572/0.1956, allocations: 14.47 MB / 430.5 MB, free: 4.02 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01248/0.2081, allocations: 3.793 MB / 434.3 MB, free: 220 kB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009405/0.2091, allocations: 23.75 kB / 434.3 MB, free: 196 kB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001539/0.2107, allocations: 222.9 kB / 434.5 MB, free: 15.97 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003637/0.2144, allocations: 0.6153 MB / 435.2 MB, free: 15.36 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005374/0.2198, allocations: 0.756 MB / 435.9 MB, free: 14.6 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.003033/0.2229, allocations: 0.8523 MB / 436.8 MB, free: 13.75 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001161/0.2241, allocations: 353 kB / 437.1 MB, free: 13.4 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001931/0.226, allocations: 462.5 kB / 437.6 MB, free: 12.95 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008874/0.227, allocations: 322.7 kB / 437.9 MB, free: 12.63 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001603/0.2272, allocations: 28 kB / 437.9 MB, free: 12.6 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002543/0.2297, allocations: 0.4916 MB / 438.4 MB, free: 12.11 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003791/0.2302, allocations: 123.5 kB / 438.5 MB, free: 11.99 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003583/0.2305, allocations: 145.4 kB / 438.7 MB, free: 11.84 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00235/0.2329, allocations: 0.7446 MB / 439.4 MB, free: 11.09 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.424e-06/0.233, allocations: 4 kB / 439.4 MB, free: 11.09 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.384e-06/0.233, allocations: 7.938 kB / 439.4 MB, free: 11.08 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.062e-05/0.233, allocations: 0 / 439.4 MB, free: 11.08 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: 117 * Number of variables: 117 Notification: Performance of Generate backend data structure: time 0.002791/0.2358, allocations: 0.882 MB / 440.3 MB, free: 10.14 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.082e-05/0.2359, allocations: 8.031 kB / 440.3 MB, free: 10.14 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002434/0.2362, allocations: 90.45 kB / 440.4 MB, free: 10.04 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007562/0.2369, allocations: 83.23 kB / 440.5 MB, free: 9.957 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001689/0.2387, allocations: 480.6 kB / 440.9 MB, free: 9.445 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.873e-05/0.2388, allocations: 37 kB / 441 MB, free: 9.41 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001409/0.2389, allocations: 40 kB / 441 MB, free: 9.371 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002256/0.2412, allocations: 0.6377 MB / 441.7 MB, free: 8.68 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.581e-05/0.2413, allocations: 7.938 kB / 441.7 MB, free: 8.672 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001338/0.2414, allocations: 23.95 kB / 441.7 MB, free: 8.648 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.859e-05/0.2415, allocations: 12 kB / 441.7 MB, free: 8.637 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001941/0.2434, allocations: 0.523 MB / 442.2 MB, free: 8.113 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008496/0.252, allocations: 3.169 MB / 445.4 MB, free: 4.746 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008649/0.2529, allocations: 204.2 kB / 445.6 MB, free: 4.539 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003187/0.2561, allocations: 1.107 MB / 446.7 MB, free: 3.332 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006251/0.2568, allocations: 197 kB / 446.9 MB, free: 3.121 MB / 378.7 MB Notification: Performance of pre-optimization done (n=25): time 4.469e-06/0.2568, allocations: 0 / 446.9 MB, free: 3.121 MB / 378.7 MB Notification: Performance of matching and sorting (n=25): time 0.001748/0.2586, allocations: 471.6 kB / 447.3 MB, free: 2.629 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001519/0.2588, allocations: 166.2 kB / 447.5 MB, free: 2.43 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001598/0.2604, allocations: 0.4909 MB / 448 MB, free: 1.926 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001081/0.2606, allocations: 33.7 kB / 448 MB, free: 1.887 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004939/0.2611, allocations: 362.6 kB / 448.4 MB, free: 1.523 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001991/0.2613, allocations: 86.83 kB / 448.5 MB, free: 1.438 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.303e-05/0.2613, allocations: 12 kB / 448.5 MB, free: 1.426 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002426/0.2616, allocations: 358.8 kB / 448.8 MB, free: 1.066 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009488/0.2626, allocations: 125 kB / 449 MB, free: 0.9453 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000898/0.2635, allocations: 405.4 kB / 449.4 MB, free: 420 kB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007945/0.2643, allocations: 222.6 kB / 449.6 MB, free: 192 kB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.486e-05/0.2644, allocations: 8 kB / 449.6 MB, free: 184 kB / 378.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.3006/0.565, allocations: 0.5957 MB / 450.2 MB, free: 60.03 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007438/0.5658, allocations: 3.693 MB / 453.9 MB, free: 56.2 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.856e-05/0.5658, allocations: 9.406 kB / 453.9 MB, free: 56.2 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.681e-05/0.5659, allocations: 15.5 kB / 453.9 MB, free: 56.2 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002366/0.5682, allocations: 217.6 kB / 454.1 MB, free: 56.19 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004968/0.5688, allocations: 0.6193 MB / 454.7 MB, free: 55.61 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007141/0.5695, allocations: 78.39 kB / 454.8 MB, free: 55.61 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.428e-05/0.5696, allocations: 36.52 kB / 454.8 MB, free: 55.61 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/0.5696, allocations: 3.188 kB / 454.8 MB, free: 55.61 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00113/0.5708, allocations: 0.5344 MB / 455.4 MB, free: 55.51 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.206e-05/0.5708, allocations: 9.75 kB / 455.4 MB, free: 55.51 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.809e-05/0.5708, allocations: 22.81 kB / 455.4 MB, free: 55.51 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006574/0.5715, allocations: 132 kB / 455.5 MB, free: 55.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.712e-05/0.5715, allocations: 16.81 kB / 455.5 MB, free: 55.5 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005378/0.5721, allocations: 63.7 kB / 455.6 MB, free: 55.5 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.458e-05/0.5721, allocations: 33.2 kB / 455.6 MB, free: 55.5 MB / 378.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: 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 (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.0003775/0.5725, allocations: 313.1 kB / 455.9 MB, free: 55.27 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.913e-05/0.5726, allocations: 60.89 kB / 456 MB, free: 55.26 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001898/0.5746, allocations: 0.6764 MB / 456.7 MB, free: 55.12 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.27e-05/0.5746, allocations: 4.656 kB / 456.7 MB, free: 55.12 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.5746, allocations: 0 / 456.7 MB, free: 55.12 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.612e-06/0.5746, allocations: 0 / 456.7 MB, free: 55.12 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006843/0.5753, allocations: 496.3 kB / 457.2 MB, free: 54.91 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/0.5753, allocations: 0 / 457.2 MB, free: 54.91 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001018/0.5764, allocations: 113.6 kB / 457.3 MB, free: 54.91 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.213e-06/0.5764, allocations: 0 / 457.3 MB, free: 54.91 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.731e-05/0.5764, allocations: 12.97 kB / 457.3 MB, free: 54.91 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003127/0.5768, allocations: 0.5928 MB / 457.9 MB, free: 54.32 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.5768, allocations: 0 / 457.9 MB, free: 54.32 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008654/0.5776, allocations: 438.7 kB / 458.3 MB, free: 54.18 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002873/0.578, allocations: 199.9 kB / 458.5 MB, free: 54.05 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001168/0.5781, allocations: 6.719 kB / 458.5 MB, free: 54.05 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003556/0.5784, allocations: 22.22 kB / 458.5 MB, free: 54.05 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.338e-05/0.5785, allocations: 21.73 kB / 458.6 MB, free: 54.05 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.762e-05/0.5786, allocations: 19.3 kB / 458.6 MB, free: 54.05 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000526/0.5791, allocations: 355.2 kB / 458.9 MB, free: 53.96 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.5792, allocations: 0 / 458.9 MB, free: 53.96 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001581/0.5807, allocations: 390.4 kB / 459.3 MB, free: 53.93 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 (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.001815/0.5826, allocations: 1.161 MB / 460.5 MB, free: 53.26 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003579/0.5862, allocations: 0.8998 MB / 461.4 MB, free: 53.07 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/0.5862, allocations: 3.172 kB / 461.4 MB, free: 53.07 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001414/0.5876, allocations: 343.9 kB / 461.7 MB, free: 53 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001478/0.5891, allocations: 189.7 kB / 461.9 MB, free: 52.99 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007281/0.5964, allocations: 9.366 MB / 471.3 MB, free: 45.44 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003751/0.5969, allocations: 0.9019 MB / 472.2 MB, free: 44.73 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001147/0.598, allocations: 204.1 kB / 472.4 MB, free: 44.67 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004178/0.5985, allocations: 222 kB / 472.6 MB, free: 44.66 MB / 378.7 MB Notification: Performance of SimCode: time 8.92e-07/0.5985, allocations: 0 / 472.6 MB, free: 44.66 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05252/0.651, allocations: 16.31 MB / 488.9 MB, free: 43.08 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002689/0.6513, allocations: 283.5 kB / 489.2 MB, free: 42.72 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3/3.651, allocations: 1.031 kB / 489.2 MB, free: 42.72 MB / 378.7 MB