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.001029/0.001029, allocations: 96.73 kB / 16.98 MB, free: 5.938 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.0008771/0.0008772, allocations: 187.8 kB / 17.88 MB, free: 5.594 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.325/1.325, allocations: 223.2 MB / 241.8 MB, free: 388 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2259/0.2259, allocations: 44.22 MB / 337.1 MB, free: 2.898 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003002/0.0003003, allocations: 10.47 kB / 409.6 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1409/0.1412, allocations: 61.91 MB / 471.5 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction): time 0.02982/0.1711, allocations: 30.3 MB / 0.4901 GB, free: 15.27 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01884/0.1899, allocations: 14.1 MB / 0.5038 GB, free: 1.141 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001682/0.1917, allocations: 43.62 kB / 0.5039 GB, free: 1.098 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001789/0.1935, allocations: 0.5246 MB / 0.5044 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.272/0.4655, allocations: 1.936 MB / 0.5063 GB, free: 12.38 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009187/0.4747, allocations: 2.793 MB / 0.509 GB, free: 12.36 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005197/0.4799, allocations: 2.119 MB / 0.5111 GB, free: 12.36 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001955/0.4819, allocations: 0.8373 MB / 0.5119 GB, free: 12.25 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003159/0.4851, allocations: 1.127 MB / 0.513 GB, free: 12.25 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002402/0.4875, allocations: 0.867 MB / 0.5139 GB, free: 12.25 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003809/0.4879, allocations: 64.31 kB / 0.5139 GB, free: 12.25 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007878/0.4958, allocations: 2.733 MB / 0.5166 GB, free: 12.25 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009294/0.4967, allocations: 332.3 kB / 0.5169 GB, free: 12.25 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001024/0.4978, allocations: 314.1 kB / 0.5172 GB, free: 12.21 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006551/0.5043, allocations: 2.633 MB / 0.5198 GB, free: 11.99 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.5044, allocations: 5 kB / 0.5198 GB, free: 11.99 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.5044, allocations: 0 / 0.5198 GB, free: 11.99 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.76e-05/0.5044, allocations: 0.5625 kB / 0.5198 GB, free: 11.99 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.004278/0.5087, allocations: 1.88 MB / 0.5216 GB, free: 10.87 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.551e-05/0.5088, allocations: 10.19 kB / 0.5216 GB, free: 10.87 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002962/0.5091, allocations: 156.8 kB / 0.5218 GB, free: 10.83 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007069/0.5098, allocations: 177.1 kB / 0.5219 GB, free: 10.75 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001977/0.5118, allocations: 1.011 MB / 0.5229 GB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.931e-05/0.5119, allocations: 75.14 kB / 0.523 GB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001672/0.512, allocations: 92.94 kB / 0.5231 GB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0023/0.5143, allocations: 1.44 MB / 0.5245 GB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.816e-05/0.5144, allocations: 2.312 kB / 0.5245 GB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000133/0.5145, allocations: 44.81 kB / 0.5245 GB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001026/0.5146, allocations: 53.59 kB / 0.5246 GB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002264/0.5169, allocations: 1.34 MB / 0.5259 GB, free: 10.15 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.008889/0.5258, allocations: 6.69 MB / 0.5324 GB, free: 5.781 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008806/0.5267, allocations: 0.5674 MB / 0.533 GB, free: 5.684 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02238/0.5491, allocations: 15.39 MB / 0.548 GB, free: 5.672 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006999/0.5499, allocations: 489.2 kB / 0.5485 GB, free: 5.406 MB / 398.1 MB Notification: Performance of pre-optimization done (n=49): time 2.004e-06/0.5499, allocations: 0 / 0.5485 GB, free: 5.406 MB / 398.1 MB Notification: Performance of matching and sorting (n=49): time 0.001674/0.5516, allocations: 0.9936 MB / 0.5495 GB, free: 5.074 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002548/0.5518, allocations: 0.5409 MB / 0.55 GB, free: 4.414 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001638/0.5535, allocations: 1.273 MB / 0.5512 GB, free: 4.035 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.697e-05/0.5535, allocations: 34.23 kB / 0.5513 GB, free: 4.004 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005131/0.5541, allocations: 0.71 MB / 0.552 GB, free: 3.629 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001599/0.5542, allocations: 175 kB / 0.5521 GB, free: 3.512 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.205e-05/0.5543, allocations: 25.47 kB / 0.5521 GB, free: 3.508 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001308/0.5544, allocations: 349.9 kB / 0.5525 GB, free: 3.188 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004856/0.5549, allocations: 332.4 kB / 0.5528 GB, free: 3.137 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008471/0.5558, allocations: 0.8944 MB / 0.5537 GB, free: 2.375 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000662/0.5564, allocations: 496.2 kB / 0.5541 GB, free: 2.285 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.927e-06/0.5565, allocations: 5.719 kB / 0.5541 GB, free: 2.285 MB / 398.1 MB Notification: Performance of matching and sorting (n=138) (initialization): time 0.002029/0.5585, allocations: 1.318 MB / 0.5554 GB, free: 2.008 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.002085/0.5606, allocations: 5.841 MB / 0.5611 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.189e-05/0.5606, allocations: 18.47 kB / 0.5612 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.688e-05/0.5607, allocations: 23.62 kB / 0.5612 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001547/0.5622, allocations: 355.1 kB / 0.5615 GB, free: 11.78 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007836/0.563, allocations: 1.253 MB / 0.5627 GB, free: 10.52 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001509/0.5645, allocations: 182.4 kB / 0.5629 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001254/0.5647, allocations: 66.47 kB / 0.563 GB, free: 10.3 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/0.5647, allocations: 4 kB / 0.563 GB, free: 10.3 MB / 414.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001721/0.5664, allocations: 1.153 MB / 0.5641 GB, free: 9.551 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.57e-05/0.5665, allocations: 16 kB / 0.5641 GB, free: 9.535 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.955e-05/0.5665, allocations: 24 kB / 0.5641 GB, free: 9.512 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009672/0.5675, allocations: 288.9 kB / 0.5644 GB, free: 9.258 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003135/0.5678, allocations: 0.6295 MB / 0.565 GB, free: 8.621 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001208/0.569, allocations: 144.9 kB / 0.5652 GB, free: 8.496 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001025/0.5691, allocations: 67.84 kB / 0.5652 GB, free: 8.438 MB / 414.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 ($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 (133): * Single equations (assignments): 130 * 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.0007276/0.5698, allocations: 436.3 kB / 0.5657 GB, free: 8.098 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002097/0.5701, allocations: 134.4 kB / 0.5658 GB, free: 7.965 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002432/0.5725, allocations: 1.443 MB / 0.5672 GB, free: 6.852 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.517e-05/0.5725, allocations: 8 kB / 0.5672 GB, free: 6.844 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.656e-06/0.5725, allocations: 0 / 0.5672 GB, free: 6.844 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.195e-05/0.5726, allocations: 7.938 kB / 0.5672 GB, free: 6.836 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00359/0.5762, allocations: 2.24 MB / 0.5694 GB, free: 5.211 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.162e-06/0.5762, allocations: 0 / 0.5694 GB, free: 5.211 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001324/0.5775, allocations: 247.8 kB / 0.5696 GB, free: 4.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.061e-05/0.5775, allocations: 7.656 kB / 0.5696 GB, free: 4.977 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.191e-05/0.5776, allocations: 24.98 kB / 0.5697 GB, free: 4.961 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006868/0.5783, allocations: 1.193 MB / 0.5708 GB, free: 3.738 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/0.5783, allocations: 6.812 kB / 0.5708 GB, free: 3.734 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001475/0.5798, allocations: 1.074 MB / 0.5719 GB, free: 2.891 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005836/0.5804, allocations: 271.6 kB / 0.5721 GB, free: 2.637 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002106/0.5806, allocations: 23.48 kB / 0.5722 GB, free: 2.625 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006649/0.5813, allocations: 59.25 kB / 0.5722 GB, free: 2.578 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001074/0.5814, allocations: 54.14 kB / 0.5723 GB, free: 2.531 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.619e-05/0.5815, allocations: 37.69 kB / 0.5723 GB, free: 2.5 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001281/0.5828, allocations: 0.8744 MB / 0.5732 GB, free: 1.867 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.5828, allocations: 0 / 0.5732 GB, free: 1.867 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.004544/0.5873, allocations: 1.287 MB / 0.5744 GB, free: 0.6523 MB / 414.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 (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.004864/0.5922, allocations: 2.592 MB / 0.577 GB, free: 14.39 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003742/0.5959, allocations: 1.8 MB / 0.5787 GB, free: 13.08 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.711e-06/0.596, allocations: 0 / 0.5787 GB, free: 13.08 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001688/0.5977, allocations: 0.6622 MB / 0.5794 GB, free: 12.56 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002909/0.6006, allocations: 0.5676 MB / 0.5799 GB, free: 12.1 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01076/0.6114, allocations: 13.79 MB / 0.5934 GB, free: 14.4 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00084/0.6122, allocations: 1.201 MB / 0.5946 GB, free: 13.19 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002068/0.6143, allocations: 0.5036 MB / 0.595 GB, free: 12.7 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006973/0.615, allocations: 0.5355 MB / 0.5956 GB, free: 12.53 MB / 446.1 MB Notification: Performance of SimCode: time 1.453e-06/0.615, allocations: 0 / 0.5956 GB, free: 12.53 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08284/0.6979, allocations: 47.78 MB / 0.6422 GB, free: 13.34 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000245/0.6982, allocations: 273.4 kB / 0.6425 GB, free: 12.98 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.445/4.143, allocations: 0 / 0.6425 GB, free: 12.98 MB / 494.1 MB (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/linux/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)