Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestWallFriction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestWallFriction",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001032/0.001032, allocations: 95.73 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001087/0.001087, allocations: 201.6 kB / 18.28 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.274/1.274, allocations: 227.7 MB / 246.8 MB, free: 11.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1789/0.1789, allocations: 46.18 MB / 345.2 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002207/0.0002208, allocations: 8 kB / 419.6 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09264/0.09287, allocations: 63.55 MB / 483.2 MB, free: 4.051 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction): time 0.02899/0.1219, allocations: 35.73 MB / 0.5067 GB, free: 196 kB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2171/0.339, allocations: 16.61 MB / 0.523 GB, free: 10.66 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001476/0.3405, allocations: 49.22 kB / 0.523 GB, free: 10.66 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001832/0.3424, allocations: 0.5572 MB / 0.5236 GB, free: 10.56 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008003/0.3504, allocations: 2.076 MB / 0.5256 GB, free: 10.06 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01104/0.3614, allocations: 3.017 MB / 0.5285 GB, free: 9.695 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005391/0.3669, allocations: 4.847 MB / 0.5333 GB, free: 8.547 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00132/0.3682, allocations: 0.8631 MB / 0.5341 GB, free: 8.246 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001882/0.3701, allocations: 1.23 MB / 0.5353 GB, free: 7.824 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001317/0.3714, allocations: 1.229 MB / 0.5365 GB, free: 7.355 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001429/0.3716, allocations: 65.94 kB / 0.5366 GB, free: 7.352 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005374/0.3769, allocations: 2.982 MB / 0.5395 GB, free: 5.809 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003028/0.3773, allocations: 360.2 kB / 0.5398 GB, free: 5.574 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006078/0.3779, allocations: 0.7698 MB / 0.5406 GB, free: 5.113 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003981/0.3819, allocations: 3.698 MB / 0.5442 GB, free: 3.074 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.3819, allocations: 5.656 kB / 0.5442 GB, free: 3.07 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.3819, allocations: 0 / 0.5442 GB, free: 3.07 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.334e-05/0.3819, allocations: 0 / 0.5442 GB, free: 3.07 MB / 382.1 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.002585/0.3845, allocations: 1.858 MB / 0.546 GB, free: 1.668 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.3845, allocations: 8.906 kB / 0.546 GB, free: 1.668 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001614/0.3847, allocations: 161.7 kB / 0.5462 GB, free: 1.543 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005423/0.3853, allocations: 184.4 kB / 0.5463 GB, free: 1.453 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00116/0.3864, allocations: 1.039 MB / 0.5474 GB, free: 0.6641 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.99e-05/0.3865, allocations: 74.47 kB / 0.5474 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001177/0.3866, allocations: 97.78 kB / 0.5475 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001811/0.3884, allocations: 1.453 MB / 0.5489 GB, free: 15.64 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.483e-05/0.3885, allocations: 6.25 kB / 0.5489 GB, free: 15.64 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001178/0.3886, allocations: 50.69 kB / 0.549 GB, free: 15.61 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.503e-05/0.3887, allocations: 56.11 kB / 0.5491 GB, free: 15.6 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001868/0.3905, allocations: 1.349 MB / 0.5504 GB, free: 14.8 MB / 398.1 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.007338/0.3979, allocations: 6.546 MB / 0.5568 GB, free: 7.93 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008681/0.3988, allocations: 0.5692 MB / 0.5573 GB, free: 7.355 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005114/0.3993, allocations: 358.2 kB / 0.5577 GB, free: 7.008 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01889/0.4182, allocations: 16.01 MB / 0.5733 GB, free: 3.98 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006495/0.4189, allocations: 491.2 kB / 0.5738 GB, free: 3.441 MB / 414.1 MB Notification: Performance of pre-optimization done (n=49): time 2.225e-06/0.4189, allocations: 0 / 0.5738 GB, free: 3.441 MB / 414.1 MB Notification: Performance of matching and sorting (n=49): time 0.00149/0.4204, allocations: 0.9217 MB / 0.5747 GB, free: 2.512 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001936/0.4206, allocations: 0.5427 MB / 0.5752 GB, free: 1.84 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001478/0.4221, allocations: 1.278 MB / 0.5764 GB, free: 0.5469 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.416e-05/0.4221, allocations: 37.7 kB / 0.5765 GB, free: 0.5039 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005052/0.4226, allocations: 0.7159 MB / 0.5772 GB, free: 15.79 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001392/0.4228, allocations: 168.6 kB / 0.5773 GB, free: 15.62 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001242/0.4229, allocations: 89.67 kB / 0.5774 GB, free: 15.53 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001174/0.423, allocations: 349.9 kB / 0.5778 GB, free: 15.18 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005622/0.4236, allocations: 350.4 kB / 0.5781 GB, free: 14.84 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009234/0.4245, allocations: 0.9076 MB / 0.579 GB, free: 13.68 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001365/0.4259, allocations: 1.204 MB / 0.5802 GB, free: 12.26 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.945e-06/0.4259, allocations: 4 kB / 0.5802 GB, free: 12.26 MB / 430.1 MB Notification: Performance of matching and sorting (n=138) (initialization): time 0.002036/0.428, allocations: 1.339 MB / 0.5815 GB, free: 10.9 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003182/0.4283, allocations: 0.5484 MB / 0.582 GB, free: 10.14 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.706e-05/0.4283, allocations: 12 kB / 0.582 GB, free: 10.13 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.778e-05/0.4284, allocations: 27.94 kB / 0.582 GB, free: 10.11 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001499/0.4299, allocations: 355.5 kB / 0.5824 GB, free: 9.758 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006916/0.4306, allocations: 1.246 MB / 0.5836 GB, free: 8.465 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001118/0.4317, allocations: 194.3 kB / 0.5838 GB, free: 8.273 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001116/0.4318, allocations: 67.98 kB / 0.5838 GB, free: 8.207 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.013e-06/0.4318, allocations: 7.938 kB / 0.5839 GB, free: 8.199 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001691/0.4335, allocations: 1.155 MB / 0.585 GB, free: 7.035 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.487e-05/0.4336, allocations: 16.19 kB / 0.585 GB, free: 7.02 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-05/0.4336, allocations: 27.98 kB / 0.585 GB, free: 6.992 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009205/0.4345, allocations: 287.5 kB / 0.5853 GB, free: 6.711 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003108/0.4348, allocations: 0.6249 MB / 0.5859 GB, free: 6.062 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009379/0.4358, allocations: 150.9 kB / 0.5861 GB, free: 5.914 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.555e-05/0.4359, allocations: 59.98 kB / 0.5861 GB, free: 5.855 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 66 * Number of states: 0 () * Number of discrete variables: 7 (p_table.nextEventScaled,p_table.nextEvent,$PRE.p_table.nextEvent,p_table.last,p_table.b,p_table.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (133): * Single equations (assignments): 130 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000556/0.4365, allocations: 438.3 kB / 0.5865 GB, free: 5.41 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001775/0.4366, allocations: 142.3 kB / 0.5867 GB, free: 5.27 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002404/0.4391, allocations: 1.421 MB / 0.588 GB, free: 3.855 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.836e-05/0.4391, allocations: 15.98 kB / 0.5881 GB, free: 3.84 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.4391, allocations: 0 / 0.5881 GB, free: 3.84 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.238e-06/0.4391, allocations: 3.984 kB / 0.5881 GB, free: 3.836 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002874/0.442, allocations: 2.214 MB / 0.5902 GB, free: 1.586 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/0.442, allocations: 0 / 0.5902 GB, free: 1.586 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001242/0.4433, allocations: 247.8 kB / 0.5905 GB, free: 1.344 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.253e-06/0.4433, allocations: 8 kB / 0.5905 GB, free: 1.336 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.877e-05/0.4433, allocations: 27.98 kB / 0.5905 GB, free: 1.309 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005451/0.4439, allocations: 1.188 MB / 0.5917 GB, free: 76 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.4439, allocations: 192 / 0.5917 GB, free: 76 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001366/0.4453, allocations: 1.071 MB / 0.5927 GB, free: 14.98 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002867/0.4456, allocations: 259 kB / 0.593 GB, free: 14.71 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001861/0.4458, allocations: 23.94 kB / 0.593 GB, free: 14.68 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006811/0.4465, allocations: 59.84 kB / 0.593 GB, free: 14.62 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.41e-05/0.4466, allocations: 52.52 kB / 0.5931 GB, free: 14.57 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.006e-05/0.4466, allocations: 35.98 kB / 0.5931 GB, free: 14.54 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001082/0.4477, allocations: 0.8831 MB / 0.594 GB, free: 13.66 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.4477, allocations: 0 / 0.594 GB, free: 13.66 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002846/0.4506, allocations: 1.288 MB / 0.5952 GB, free: 12.37 MB / 446.1 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 (77): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003596/0.4542, allocations: 2.548 MB / 0.5977 GB, free: 9.859 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003408/0.4576, allocations: 1.811 MB / 0.5995 GB, free: 8.031 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.09e-06/0.4576, allocations: 4 kB / 0.5995 GB, free: 8.027 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001786/0.4594, allocations: 0.6639 MB / 0.6001 GB, free: 7.355 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002796/0.4622, allocations: 0.5728 MB / 0.6007 GB, free: 6.785 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01446/0.4767, allocations: 11.89 MB / 0.6123 GB, free: 10.16 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006397/0.4774, allocations: 1.179 MB / 0.6135 GB, free: 8.957 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001677/0.4791, allocations: 0.5058 MB / 0.614 GB, free: 8.461 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006674/0.4797, allocations: 0.5344 MB / 0.6145 GB, free: 7.926 MB / 462.1 MB Notification: Performance of SimCode: time 5.91e-07/0.4797, allocations: 0 / 0.6145 GB, free: 7.926 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0737/0.5534, allocations: 48.73 MB / 0.6621 GB, free: 7.508 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002004/0.5537, allocations: 280.7 kB / 0.6623 GB, free: 7.133 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.019/3.572, allocations: 3.125 kB / 0.6623 GB, free: 7.133 MB / 0.4981 GB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestWallFriction_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestWallFriction.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction.pipe 2>&1)