Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestWallFriction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestWallFriction",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008934/0.0008934, allocations: 94.8 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001109/0.001109, allocations: 170.2 kB / 18.25 MB, free: 5.508 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.215/1.215, allocations: 223.3 MB / 242.3 MB, free: 14.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1851/0.1851, allocations: 44.25 MB / 337.7 MB, free: 2.434 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002904/0.0002905, allocations: 8 kB / 410.4 MB, free: 27.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08893/0.08924, allocations: 61.92 MB / 472.4 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction): time 0.02927/0.1185, allocations: 35.53 MB / 0.496 GB, free: 9.578 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2078/0.3263, allocations: 16.59 MB / 0.5122 GB, free: 9.91 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001666/0.328, allocations: 47.69 kB / 0.5122 GB, free: 9.91 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001703/0.3298, allocations: 0.5618 MB / 0.5128 GB, free: 9.91 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006381/0.3361, allocations: 2.067 MB / 0.5148 GB, free: 9.828 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008229/0.3444, allocations: 3.032 MB / 0.5178 GB, free: 9.73 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005844/0.3502, allocations: 4.841 MB / 0.5225 GB, free: 9.309 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001278/0.3515, allocations: 0.8526 MB / 0.5233 GB, free: 9.184 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002004/0.3536, allocations: 1.226 MB / 0.5245 GB, free: 9.043 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001377/0.3549, allocations: 1.232 MB / 0.5257 GB, free: 8.844 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000152/0.3551, allocations: 64.25 kB / 0.5258 GB, free: 8.844 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005545/0.3607, allocations: 2.955 MB / 0.5287 GB, free: 8.707 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003147/0.361, allocations: 360 kB / 0.529 GB, free: 8.633 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006474/0.3616, allocations: 0.7745 MB / 0.5298 GB, free: 8.32 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004337/0.366, allocations: 3.696 MB / 0.5334 GB, free: 6.738 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.366, allocations: 0 / 0.5334 GB, free: 6.738 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.366, allocations: 0 / 0.5334 GB, free: 6.738 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.384e-05/0.366, allocations: 0 / 0.5334 GB, free: 6.738 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.002536/0.3686, allocations: 1.863 MB / 0.5352 GB, free: 5.434 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.3686, allocations: 9.281 kB / 0.5352 GB, free: 5.434 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001609/0.3688, allocations: 156.9 kB / 0.5354 GB, free: 5.371 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005269/0.3693, allocations: 191.2 kB / 0.5355 GB, free: 5.281 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001154/0.3705, allocations: 1.031 MB / 0.5365 GB, free: 4.711 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.055e-05/0.3705, allocations: 78.27 kB / 0.5366 GB, free: 4.703 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001182/0.3707, allocations: 98.88 kB / 0.5367 GB, free: 4.699 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001686/0.3724, allocations: 1.455 MB / 0.5381 GB, free: 4.168 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.36e-05/0.3724, allocations: 3.938 kB / 0.5381 GB, free: 4.164 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001058/0.3725, allocations: 48.66 kB / 0.5382 GB, free: 4.164 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.191e-05/0.3726, allocations: 55.06 kB / 0.5382 GB, free: 4.152 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001601/0.3742, allocations: 1.345 MB / 0.5395 GB, free: 3.934 MB / 382.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.006074/0.3802, allocations: 6.548 MB / 0.5459 GB, free: 14.3 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000787/0.381, allocations: 0.5741 MB / 0.5465 GB, free: 13.99 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004628/0.3815, allocations: 348.1 kB / 0.5468 GB, free: 13.81 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01768/0.3992, allocations: 15.32 MB / 0.5618 GB, free: 11.98 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006527/0.3999, allocations: 499.3 kB / 0.5623 GB, free: 11.44 MB / 414.1 MB Notification: Performance of pre-optimization done (n=49): time 1.894e-06/0.3999, allocations: 0 / 0.5623 GB, free: 11.44 MB / 414.1 MB Notification: Performance of matching and sorting (n=49): time 0.001535/0.4014, allocations: 0.9217 MB / 0.5632 GB, free: 10.5 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001949/0.4017, allocations: 0.5427 MB / 0.5637 GB, free: 9.832 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001578/0.4032, allocations: 1.282 MB / 0.565 GB, free: 8.535 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.506e-05/0.4033, allocations: 41.64 kB / 0.565 GB, free: 8.488 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004857/0.4038, allocations: 0.711 MB / 0.5657 GB, free: 7.777 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001523/0.404, allocations: 177.5 kB / 0.5659 GB, free: 7.605 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001186/0.4041, allocations: 89.67 kB / 0.5659 GB, free: 7.512 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001082/0.4042, allocations: 349.9 kB / 0.5663 GB, free: 7.164 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005291/0.4047, allocations: 342.4 kB / 0.5666 GB, free: 6.828 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008802/0.4056, allocations: 0.9049 MB / 0.5675 GB, free: 5.668 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001347/0.407, allocations: 1.201 MB / 0.5687 GB, free: 4.254 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.486e-06/0.407, allocations: 4 kB / 0.5687 GB, free: 4.25 MB / 414.1 MB Notification: Performance of matching and sorting (n=138) (initialization): time 0.002023/0.409, allocations: 1.339 MB / 0.57 GB, free: 2.898 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003129/0.4094, allocations: 0.5585 MB / 0.5705 GB, free: 2.129 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.702e-05/0.4094, allocations: 12 kB / 0.5705 GB, free: 2.117 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.708e-05/0.4094, allocations: 20 kB / 0.5705 GB, free: 2.098 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001432/0.4109, allocations: 355.5 kB / 0.5709 GB, free: 1.75 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006523/0.4115, allocations: 1.25 MB / 0.5721 GB, free: 464 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001154/0.4127, allocations: 178.4 kB / 0.5723 GB, free: 284 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001127/0.4128, allocations: 75.97 kB / 0.5723 GB, free: 208 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.716e-06/0.4128, allocations: 10.44 kB / 0.5724 GB, free: 200 kB / 414.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001677/0.4145, allocations: 1.163 MB / 0.5735 GB, free: 15.03 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.867e-05/0.4145, allocations: 16 kB / 0.5735 GB, free: 15.02 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.4146, allocations: 24.16 kB / 0.5735 GB, free: 14.99 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008966/0.4155, allocations: 283.5 kB / 0.5738 GB, free: 14.71 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002807/0.4158, allocations: 0.625 MB / 0.5744 GB, free: 14.07 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009756/0.4167, allocations: 150.8 kB / 0.5746 GB, free: 13.92 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.641e-05/0.4168, allocations: 63.98 kB / 0.5746 GB, free: 13.86 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.0004976/0.4173, allocations: 431.8 kB / 0.575 GB, free: 13.42 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001841/0.4175, allocations: 138.4 kB / 0.5752 GB, free: 13.28 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002325/0.4199, allocations: 1.42 MB / 0.5765 GB, free: 11.87 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.552e-05/0.4199, allocations: 19.98 kB / 0.5766 GB, free: 11.85 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/0.4199, allocations: 7.938 kB / 0.5766 GB, free: 11.84 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.869e-06/0.4199, allocations: 3.984 kB / 0.5766 GB, free: 11.84 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002813/0.4227, allocations: 2.205 MB / 0.5787 GB, free: 9.598 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.968e-06/0.4228, allocations: 0 / 0.5787 GB, free: 9.598 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001171/0.4239, allocations: 251.7 kB / 0.579 GB, free: 9.352 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.197e-05/0.424, allocations: 15.94 kB / 0.579 GB, free: 9.336 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.86e-05/0.424, allocations: 31.92 kB / 0.579 GB, free: 9.305 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004966/0.4245, allocations: 1.189 MB / 0.5802 GB, free: 8.07 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.4245, allocations: 0 / 0.5802 GB, free: 8.07 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001312/0.4259, allocations: 1.068 MB / 0.5812 GB, free: 6.992 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003234/0.4262, allocations: 259 kB / 0.5815 GB, free: 6.719 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002027/0.4264, allocations: 20 kB / 0.5815 GB, free: 6.699 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006751/0.4271, allocations: 59.89 kB / 0.5815 GB, free: 6.641 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.298e-05/0.4272, allocations: 52.53 kB / 0.5816 GB, free: 6.59 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.278e-05/0.4273, allocations: 31.98 kB / 0.5816 GB, free: 6.559 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001035/0.4283, allocations: 0.8831 MB / 0.5825 GB, free: 5.676 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4283, allocations: 0 / 0.5825 GB, free: 5.676 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002772/0.4311, allocations: 1.287 MB / 0.5837 GB, free: 4.387 MB / 430.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.003838/0.4349, allocations: 2.546 MB / 0.5862 GB, free: 1.898 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003281/0.4382, allocations: 1.812 MB / 0.588 GB, free: 68 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.4382, allocations: 1.719 kB / 0.588 GB, free: 68 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001777/0.44, allocations: 0.6736 MB / 0.5887 GB, free: 15.38 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002749/0.4428, allocations: 0.5731 MB / 0.5892 GB, free: 14.81 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0155/0.4583, allocations: 11.87 MB / 0.6008 GB, free: 2.188 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007522/0.4591, allocations: 1.175 MB / 0.602 GB, free: 0.9844 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001765/0.4609, allocations: 0.5002 MB / 0.6024 GB, free: 0.4922 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006784/0.4615, allocations: 0.5384 MB / 0.603 GB, free: 15.95 MB / 462.1 MB Notification: Performance of SimCode: time 7.01e-07/0.4616, allocations: 0 / 0.603 GB, free: 15.95 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8538/1.315, allocations: 48.84 MB / 0.6507 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000254/1.316, allocations: 297.8 kB / 0.651 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.947/4.262, allocations: 0 / 0.651 GB, free: 15.12 MB / 0.4981 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestWallFriction_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestWallFriction.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction.pipe 2>&1)