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.TestWallFriction.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.TestWallFriction,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestComponents_Fittings_TestWallFriction",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.01116/0.01116, allocations: 108.5 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.001274/0.001273, allocations: 181.4 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 1.991/1.991, allocations: 194.6 MB / 211.3 MB, free: 11.06 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.2642/0.2642, allocations: 40.04 MB / 296.5 MB, free: 6.242 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004585/0.0004584, allocations: 12 kB / 361.1 MB, free: 9.523 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1126/0.1131, allocations: 54.88 MB / 416 MB, free: 2.547 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction): time 0.06318/0.1763, allocations: 29.97 MB / 446 MB, free: 4.477 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.3345/0.5109, allocations: 13.94 MB / 459.9 MB, free: 31.8 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001894/0.5128, allocations: 56.31 kB / 460 MB, free: 31.8 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002478/0.5153, allocations: 0.5218 MB / 460.5 MB, free: 31.8 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007673/0.5231, allocations: 1.927 MB / 462.5 MB, free: 31.78 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01056/0.5336, allocations: 2.754 MB / 465.2 MB, free: 31.73 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.004717/0.5384, allocations: 2.106 MB / 467.3 MB, free: 31.73 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001766/0.5402, allocations: 0.8287 MB / 468.1 MB, free: 31.64 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00349/0.5437, allocations: 1.154 MB / 469.3 MB, free: 31.61 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0023/0.5461, allocations: 0.8453 MB / 470.1 MB, free: 31.45 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004568/0.5466, allocations: 61.44 kB / 470.2 MB, free: 31.45 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007914/0.5545, allocations: 2.697 MB / 472.9 MB, free: 31.41 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008659/0.5554, allocations: 324.9 kB / 473.2 MB, free: 31.36 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007791/0.5562, allocations: 316.1 kB / 473.5 MB, free: 31.28 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007078/0.5633, allocations: 2.648 MB / 476.2 MB, free: 31.06 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.5634, allocations: 0 / 476.2 MB, free: 31.06 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.096e-06/0.5634, allocations: 0 / 476.2 MB, free: 31.06 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.25e-05/0.5635, allocations: 0 / 476.2 MB, free: 31.06 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: 254 * Number of variables: 254 Notification: Performance of Generate backend data structure: time 0.0051/0.5686, allocations: 1.859 MB / 478 MB, free: 29.95 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.817e-05/0.5686, allocations: 14.2 kB / 478 MB, free: 29.95 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005299/0.5692, allocations: 164 kB / 478.2 MB, free: 29.91 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009798/0.5702, allocations: 181 kB / 478.4 MB, free: 29.83 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002816/0.573, allocations: 1.024 MB / 479.4 MB, free: 29.49 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.279e-05/0.5732, allocations: 78.91 kB / 479.5 MB, free: 29.49 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002407/0.5734, allocations: 96.36 kB / 479.6 MB, free: 29.49 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003338/0.5768, allocations: 1.417 MB / 481 MB, free: 29.21 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.96e-05/0.5768, allocations: 6.359 kB / 481 MB, free: 29.21 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001897/0.577, allocations: 47.7 kB / 481 MB, free: 29.21 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.513e-05/0.5772, allocations: 59.44 kB / 481.1 MB, free: 29.2 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003153/0.5803, allocations: 1.322 MB / 482.4 MB, free: 29.17 MB / 378.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.01334/0.5937, allocations: 6.732 MB / 489.2 MB, free: 25.3 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001523/0.5953, allocations: 0.5264 MB / 489.7 MB, free: 25.26 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03077/0.6261, allocations: 15.45 MB / 0.4933 GB, free: 26.2 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007598/0.6269, allocations: 284.4 kB / 0.4936 GB, free: 26.06 MB / 394.7 MB Notification: Performance of pre-optimization done (n=42): time 4.067e-06/0.627, allocations: 1 kB / 0.4936 GB, free: 26.06 MB / 394.7 MB Notification: Performance of matching and sorting (n=42): time 0.002434/0.6294, allocations: 0.7595 MB / 0.4943 GB, free: 25.67 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002493/0.6297, allocations: 265.7 kB / 0.4946 GB, free: 25.36 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002271/0.632, allocations: 1.124 MB / 0.4957 GB, free: 24.89 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001682/0.6322, allocations: 36.89 kB / 0.4957 GB, free: 24.86 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000707/0.6329, allocations: 0.779 MB / 0.4965 GB, free: 24.23 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001945/0.6331, allocations: 151.2 kB / 0.4966 GB, free: 24.13 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.639e-05/0.6332, allocations: 21.84 kB / 0.4966 GB, free: 24.11 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001804/0.6334, allocations: 356.1 kB / 0.497 GB, free: 23.79 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007633/0.6342, allocations: 271.3 kB / 0.4972 GB, free: 23.7 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001127/0.6353, allocations: 0.9766 MB / 0.4982 GB, free: 22.63 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001106/0.6365, allocations: 479.3 kB / 0.4986 GB, free: 22.41 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.782e-05/0.6365, allocations: 6.562 kB / 0.4986 GB, free: 22.41 MB / 394.7 MB Notification: Performance of matching and sorting (n=155) (initialization): time 0.003389/0.6399, allocations: 1.305 MB / 0.4999 GB, free: 21.85 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.003582/0.6435, allocations: 9.357 MB / 0.5091 GB, free: 11.86 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.765e-05/0.6437, allocations: 25.55 kB / 0.5091 GB, free: 11.86 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.532e-05/0.6437, allocations: 35 kB / 0.5091 GB, free: 11.86 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003019/0.6468, allocations: 391.3 kB / 0.5095 GB, free: 11.82 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001063/0.6479, allocations: 1.251 MB / 0.5107 GB, free: 10.61 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001911/0.6498, allocations: 189.7 kB / 0.5109 GB, free: 10.5 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001944/0.65, allocations: 86.41 kB / 0.511 GB, free: 10.49 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.65, allocations: 4.406 kB / 0.511 GB, free: 10.49 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002953/0.653, allocations: 1.178 MB / 0.5121 GB, free: 10 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.614e-05/0.6531, allocations: 24.12 kB / 0.5121 GB, free: 10 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.852e-05/0.6531, allocations: 34.56 kB / 0.5122 GB, free: 10 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001882/0.655, allocations: 320.9 kB / 0.5125 GB, free: 9.969 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007417/0.6558, allocations: 0.6403 MB / 0.5131 GB, free: 25.36 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001508/0.6573, allocations: 145.1 kB / 0.5132 GB, free: 25.29 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001775/0.6575, allocations: 76.73 kB / 0.5133 GB, free: 25.28 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 107 * 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 (149): * Single equations (assignments): 146 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001046/0.6586, allocations: 454.2 kB / 0.5138 GB, free: 24.93 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000291/0.6589, allocations: 118.8 kB / 0.5139 GB, free: 24.87 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00394/0.6628, allocations: 1.232 MB / 0.5151 GB, free: 24.37 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-05/0.6629, allocations: 12.52 kB / 0.5151 GB, free: 24.37 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.6629, allocations: 0 / 0.5151 GB, free: 24.37 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.158e-05/0.6629, allocations: 5.109 kB / 0.5151 GB, free: 24.37 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00422/0.6671, allocations: 1.822 MB / 0.5169 GB, free: 23.47 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.043e-06/0.6672, allocations: 0 / 0.5169 GB, free: 23.47 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00208/0.6693, allocations: 230.5 kB / 0.5171 GB, free: 23.46 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.508e-06/0.6693, allocations: 2.656 kB / 0.5171 GB, free: 23.46 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.593e-05/0.6694, allocations: 29.7 kB / 0.5171 GB, free: 23.45 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008002/0.6702, allocations: 1.194 MB / 0.5183 GB, free: 22.25 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.6702, allocations: 1.062 kB / 0.5183 GB, free: 22.25 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001913/0.6722, allocations: 0.8356 MB / 0.5191 GB, free: 21.8 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004971/0.6727, allocations: 253.9 kB / 0.5193 GB, free: 21.59 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002658/0.673, allocations: 18.31 kB / 0.5194 GB, free: 21.58 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008489/0.6738, allocations: 40.39 kB / 0.5194 GB, free: 21.57 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000143/0.674, allocations: 46.31 kB / 0.5194 GB, free: 21.56 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.015e-05/0.6741, allocations: 24.73 kB / 0.5195 GB, free: 21.56 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001553/0.6756, allocations: 0.7657 MB / 0.5202 GB, free: 21.25 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.41e-07/0.6757, allocations: 0 / 0.5202 GB, free: 21.25 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004998/0.6807, allocations: 1.22 MB / 0.5214 GB, free: 20.96 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (61): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005625/0.6863, allocations: 2.308 MB / 0.5237 GB, free: 19.69 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005703/0.6921, allocations: 1.683 MB / 0.5253 GB, free: 19.07 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.788e-06/0.6922, allocations: 4.125 kB / 0.5253 GB, free: 19.07 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002993/0.6952, allocations: 0.5614 MB / 0.5259 GB, free: 18.88 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0035/0.6987, allocations: 406 kB / 0.5262 GB, free: 18.67 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01427/0.713, allocations: 19.94 MB / 0.5457 GB, free: 15.45 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008731/0.714, allocations: 1.199 MB / 0.5469 GB, free: 14.52 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002873/0.7169, allocations: 490.3 kB / 0.5474 GB, free: 14.27 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000963/0.7179, allocations: 0.5207 MB / 0.5479 GB, free: 13.84 MB / 426.7 MB Notification: Performance of SimCode: time 1.583e-06/0.7179, allocations: 3.938 kB / 0.5479 GB, free: 13.84 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1154/0.8333, allocations: 39.96 MB / 0.5869 GB, free: 6.773 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003972/0.8338, allocations: 277.3 kB / 0.5872 GB, free: 6.406 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.156/4.99, allocations: 0 / 0.5872 GB, free: 6.406 MB / 458.7 MB