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.TestSharpEdgedOrifice.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.TestSharpEdgedOrifice,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestComponents_Fittings_TestSharpEdgedOrifice",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.0109/0.01091, allocations: 105.3 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.001247/0.001247, allocations: 181.9 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.837/1.837, allocations: 194.5 MB / 211.3 MB, free: 11.08 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.256/0.256, allocations: 40.04 MB / 296.5 MB, free: 6.293 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004692/0.0004694, allocations: 8 kB / 361.2 MB, free: 9.535 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1095/0.11, allocations: 54.87 MB / 416 MB, free: 2.559 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice): time 0.5327/0.6427, allocations: 143 MB / 0.5459 GB, free: 6 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.01155/0.6543, allocations: 5.74 MB / 0.5515 GB, free: 1.949 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007166/0.655, allocations: 22 kB / 0.5515 GB, free: 1.938 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001096/0.6562, allocations: 254.8 kB / 0.5518 GB, free: 1.805 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005502/0.6617, allocations: 1.404 MB / 0.5531 GB, free: 1 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003151/0.6649, allocations: 0.7335 MB / 0.5538 GB, free: 0.6133 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002379/0.6673, allocations: 0.9658 MB / 0.5548 GB, free: 15.9 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007483/0.668, allocations: 333.3 kB / 0.5551 GB, free: 15.57 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00143/0.6695, allocations: 0.514 MB / 0.5556 GB, free: 15.06 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006568/0.6702, allocations: 346.6 kB / 0.5559 GB, free: 14.72 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001145/0.6703, allocations: 24 kB / 0.556 GB, free: 14.7 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004239/0.6745, allocations: 1.26 MB / 0.5572 GB, free: 13.43 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002658/0.6748, allocations: 127.5 kB / 0.5573 GB, free: 13.31 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002942/0.6752, allocations: 162.4 kB / 0.5575 GB, free: 13.14 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002673/0.6778, allocations: 1.126 MB / 0.5586 GB, free: 12.03 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.6779, allocations: 0 / 0.5586 GB, free: 12.03 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.6779, allocations: 4 kB / 0.5586 GB, free: 12.02 MB / 426.7 MB Notification: Performance of Transformations before backend: time 9.137e-06/0.6779, allocations: 0 / 0.5586 GB, free: 12.02 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.002909/0.6808, allocations: 1.064 MB / 0.5596 GB, free: 10.9 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.857e-05/0.6809, allocations: 8.031 kB / 0.5596 GB, free: 10.89 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001676/0.6811, allocations: 82.53 kB / 0.5597 GB, free: 10.8 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002034/0.6831, allocations: 163 kB / 0.5599 GB, free: 10.64 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001429/0.6846, allocations: 0.5716 MB / 0.5604 GB, free: 10.03 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.667e-05/0.6846, allocations: 37 kB / 0.5604 GB, free: 9.996 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001099/0.6848, allocations: 44 kB / 0.5605 GB, free: 9.953 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001402/0.6862, allocations: 0.5682 MB / 0.561 GB, free: 9.348 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.986e-05/0.6862, allocations: 0 / 0.561 GB, free: 9.348 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.192e-05/0.6863, allocations: 28 kB / 0.5611 GB, free: 9.32 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.976e-05/0.6863, allocations: 12 kB / 0.5611 GB, free: 9.309 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00122/0.6876, allocations: 447.6 kB / 0.5615 GB, free: 8.871 MB / 426.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004618/0.6922, allocations: 2.575 MB / 0.564 GB, free: 6.117 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007537/0.693, allocations: 270.3 kB / 0.5643 GB, free: 5.848 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004194/0.6934, allocations: 232.3 kB / 0.5645 GB, free: 5.586 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005999/0.694, allocations: 265.4 kB / 0.5648 GB, free: 5.309 MB / 426.7 MB Notification: Performance of pre-optimization done (n=35): time 5.309e-06/0.694, allocations: 4 kB / 0.5648 GB, free: 5.305 MB / 426.7 MB Notification: Performance of matching and sorting (n=35): time 0.00167/0.6957, allocations: 0.6329 MB / 0.5654 GB, free: 4.641 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00011/0.6959, allocations: 166.7 kB / 0.5655 GB, free: 4.441 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008434/0.6967, allocations: 0.4911 MB / 0.566 GB, free: 3.941 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.404e-05/0.6968, allocations: 33.7 kB / 0.566 GB, free: 3.902 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003581/0.6972, allocations: 343 kB / 0.5664 GB, free: 3.562 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001617/0.6973, allocations: 118.4 kB / 0.5665 GB, free: 3.445 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.939e-05/0.6974, allocations: 12 kB / 0.5665 GB, free: 3.434 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002001/0.6976, allocations: 366.7 kB / 0.5669 GB, free: 3.066 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004469/0.6981, allocations: 157 kB / 0.567 GB, free: 2.914 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006399/0.6987, allocations: 384.2 kB / 0.5674 GB, free: 2.43 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005936/0.6993, allocations: 241.8 kB / 0.5676 GB, free: 2.188 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.53e-06/0.6994, allocations: 0 / 0.5676 GB, free: 2.188 MB / 426.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001627/0.701, allocations: 0.6432 MB / 0.5682 GB, free: 1.531 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001357/0.7024, allocations: 2.906 MB / 0.5711 GB, free: 14.39 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.948e-05/0.7024, allocations: 8 kB / 0.5711 GB, free: 14.39 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.328e-05/0.7025, allocations: 12 kB / 0.5711 GB, free: 14.38 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006495/0.709, allocations: 431.5 kB / 0.5715 GB, free: 13.95 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007245/0.7097, allocations: 0.6366 MB / 0.5721 GB, free: 13.29 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007171/0.7105, allocations: 71.3 kB / 0.5722 GB, free: 13.22 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001382/0.7106, allocations: 55.98 kB / 0.5722 GB, free: 13.17 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.7106, allocations: 4 kB / 0.5722 GB, free: 13.16 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001458/0.7121, allocations: 0.5526 MB / 0.5728 GB, free: 12.61 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.507e-05/0.7122, allocations: 8 kB / 0.5728 GB, free: 12.6 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.111e-05/0.7122, allocations: 12 kB / 0.5728 GB, free: 12.59 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000784/0.713, allocations: 139.8 kB / 0.5729 GB, free: 12.45 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.127e-05/0.713, allocations: 11.94 kB / 0.5729 GB, free: 12.44 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006044/0.7136, allocations: 55.75 kB / 0.573 GB, free: 12.38 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001207/0.7138, allocations: 59.98 kB / 0.5731 GB, free: 12.32 MB / 442.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 (62): * Single equations (assignments): 60 * 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.0005599/0.7143, allocations: 306.6 kB / 0.5733 GB, free: 12.01 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001757/0.7145, allocations: 67.19 kB / 0.5734 GB, free: 11.94 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002958/0.7175, allocations: 0.7726 MB / 0.5742 GB, free: 11.16 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.149e-05/0.7176, allocations: 8 kB / 0.5742 GB, free: 11.16 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/0.7176, allocations: 0 / 0.5742 GB, free: 11.16 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.17e-05/0.7176, allocations: 7.938 kB / 0.5742 GB, free: 11.15 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003478/0.7211, allocations: 1.657 MB / 0.5758 GB, free: 9.328 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.267e-06/0.7211, allocations: 7.25 kB / 0.5758 GB, free: 9.324 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002054/0.7232, allocations: 187.9 kB / 0.576 GB, free: 9.141 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-05/0.7232, allocations: 4 kB / 0.576 GB, free: 9.137 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.236e-05/0.7233, allocations: 27.98 kB / 0.576 GB, free: 9.109 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005205/0.7238, allocations: 0.6016 MB / 0.5766 GB, free: 8.484 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.815e-06/0.7239, allocations: 7.969 kB / 0.5766 GB, free: 8.477 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00145/0.7253, allocations: 0.7278 MB / 0.5773 GB, free: 7.652 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002194/0.7256, allocations: 136.3 kB / 0.5775 GB, free: 7.5 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000139/0.7257, allocations: 12 kB / 0.5775 GB, free: 7.488 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004851/0.7262, allocations: 35.86 kB / 0.5775 GB, free: 7.453 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001279/0.7264, allocations: 39.89 kB / 0.5775 GB, free: 7.414 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.322e-05/0.7265, allocations: 35.98 kB / 0.5776 GB, free: 7.379 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0006273/0.7271, allocations: 342.8 kB / 0.5779 GB, free: 7.047 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.9e-07/0.7271, allocations: 0 / 0.5779 GB, free: 7.047 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002043/0.7292, allocations: 0.5032 MB / 0.5784 GB, free: 6.543 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (37): * Single equations (assignments): 35 * 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 Backend phase and start with SimCode phase: time 0.003646/0.7328, allocations: 2.254 MB / 0.5806 GB, free: 4.219 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01064/0.7435, allocations: 1.273 MB / 0.5818 GB, free: 2.922 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.803e-06/0.7435, allocations: 0 / 0.5818 GB, free: 2.922 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002819/0.7464, allocations: 445.2 kB / 0.5823 GB, free: 2.477 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002136/0.7485, allocations: 247 kB / 0.5825 GB, free: 2.238 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0098/0.7584, allocations: 8.233 MB / 0.5905 GB, free: 9.777 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000672/0.7591, allocations: 0.9073 MB / 0.5914 GB, free: 8.844 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.002273/0.7614, allocations: 306.9 kB / 0.5917 GB, free: 8.559 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007371/0.7621, allocations: 255.3 kB / 0.592 GB, free: 8.312 MB / 458.7 MB Notification: Performance of SimCode: time 1.062e-06/0.7621, allocations: 0 / 0.592 GB, free: 8.312 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07173/0.8339, allocations: 20.44 MB / 0.6119 GB, free: 4.016 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004035/0.8344, allocations: 279.1 kB / 0.6122 GB, free: 3.648 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.278/4.113, allocations: 4 kB / 0.6122 GB, free: 3.645 MB / 474.7 MB