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.001089/0.001089, allocations: 98.92 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001965/0.001965, allocations: 206.9 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.456/1.456, allocations: 227.3 MB / 245.9 MB, free: 12.04 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2124/0.2124, allocations: 45.92 MB / 344 MB, free: 12.32 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002611/0.0002613, allocations: 4 kB / 418.1 MB, free: 20.78 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1274/0.1277, allocations: 63.46 MB / 481.5 MB, free: 5.309 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction): time 0.02956/0.1573, allocations: 30.34 MB / 0.4999 GB, free: 6.883 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2764/0.4338, allocations: 14.1 MB / 0.5136 GB, free: 11.43 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001733/0.4355, allocations: 47.94 kB / 0.5137 GB, free: 11.43 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001902/0.4375, allocations: 0.5265 MB / 0.5142 GB, free: 11.42 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007395/0.4449, allocations: 1.951 MB / 0.5161 GB, free: 11.4 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00872/0.4536, allocations: 2.775 MB / 0.5188 GB, free: 11.37 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004484/0.4581, allocations: 2.122 MB / 0.5209 GB, free: 11.37 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001588/0.4597, allocations: 0.8409 MB / 0.5217 GB, free: 11.27 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002456/0.4622, allocations: 1.131 MB / 0.5228 GB, free: 11.27 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001898/0.4641, allocations: 0.8712 MB / 0.5237 GB, free: 11.26 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003994/0.4645, allocations: 63.09 kB / 0.5237 GB, free: 11.26 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007456/0.472, allocations: 2.748 MB / 0.5264 GB, free: 11.26 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001017/0.473, allocations: 334.2 kB / 0.5267 GB, free: 11.26 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001233/0.4743, allocations: 311.1 kB / 0.527 GB, free: 11.23 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007145/0.4814, allocations: 2.647 MB / 0.5296 GB, free: 10.94 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.4815, allocations: 1.375 kB / 0.5296 GB, free: 10.94 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.116e-06/0.4815, allocations: 0 / 0.5296 GB, free: 10.94 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.434e-05/0.4815, allocations: 0 / 0.5296 GB, free: 10.94 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.004249/0.4858, allocations: 1.882 MB / 0.5315 GB, free: 9.641 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.886e-05/0.4858, allocations: 8.719 kB / 0.5315 GB, free: 9.641 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003049/0.4861, allocations: 160.9 kB / 0.5316 GB, free: 9.578 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006548/0.4868, allocations: 183.6 kB / 0.5318 GB, free: 9.496 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001697/0.4885, allocations: 0.9937 MB / 0.5328 GB, free: 8.973 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.041e-05/0.4886, allocations: 80.66 kB / 0.5328 GB, free: 8.965 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001311/0.4887, allocations: 91.12 kB / 0.5329 GB, free: 8.965 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002053/0.4908, allocations: 1.436 MB / 0.5343 GB, free: 8.438 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.482e-05/0.4908, allocations: 6.688 kB / 0.5343 GB, free: 8.434 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001227/0.491, allocations: 50.61 kB / 0.5344 GB, free: 8.43 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.154e-05/0.491, allocations: 56.98 kB / 0.5344 GB, free: 8.418 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001914/0.493, allocations: 1.334 MB / 0.5357 GB, free: 8.199 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.007523/0.5005, allocations: 6.692 MB / 0.5423 GB, free: 3.531 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007773/0.5013, allocations: 0.5585 MB / 0.5428 GB, free: 3.434 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01957/0.5209, allocations: 16.09 MB / 0.5585 GB, free: 2.645 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007456/0.5217, allocations: 491.5 kB / 0.559 GB, free: 2.371 MB / 398.1 MB Notification: Performance of pre-optimization done (n=49): time 2.564e-06/0.5217, allocations: 0 / 0.559 GB, free: 2.371 MB / 398.1 MB Notification: Performance of matching and sorting (n=49): time 0.001701/0.5234, allocations: 0.9876 MB / 0.56 GB, free: 2.035 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002972/0.5237, allocations: 0.5456 MB / 0.5605 GB, free: 1.375 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001604/0.5253, allocations: 1.272 MB / 0.5617 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 8.55e-05/0.5254, allocations: 33.7 kB / 0.5618 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006072/0.526, allocations: 0.7149 MB / 0.5625 GB, free: 84 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001999/0.5262, allocations: 172.9 kB / 0.5626 GB, free: 15.91 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.542e-05/0.5263, allocations: 20 kB / 0.5627 GB, free: 15.89 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001516/0.5264, allocations: 349.9 kB / 0.563 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005359/0.527, allocations: 333.1 kB / 0.5633 GB, free: 15.22 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009277/0.5279, allocations: 0.8932 MB / 0.5642 GB, free: 14.07 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006866/0.5286, allocations: 499.2 kB / 0.5647 GB, free: 13.58 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.187e-06/0.5286, allocations: 4 kB / 0.5647 GB, free: 13.58 MB / 414.1 MB Notification: Performance of matching and sorting (n=138) (initialization): time 0.002264/0.5309, allocations: 1.32 MB / 0.5659 GB, free: 12.24 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.002266/0.5332, allocations: 5.844 MB / 0.5717 GB, free: 6.004 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.43e-05/0.5332, allocations: 16 kB / 0.5717 GB, free: 5.988 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.742e-05/0.5333, allocations: 20 kB / 0.5717 GB, free: 5.969 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001716/0.535, allocations: 359.4 kB / 0.572 GB, free: 5.617 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009075/0.5359, allocations: 1.246 MB / 0.5732 GB, free: 4.324 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001869/0.5378, allocations: 182.4 kB / 0.5734 GB, free: 4.145 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001531/0.538, allocations: 67.97 kB / 0.5735 GB, free: 4.078 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.538, allocations: 4 kB / 0.5735 GB, free: 4.074 MB / 414.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001768/0.5398, allocations: 1.156 MB / 0.5746 GB, free: 2.914 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.594e-05/0.5398, allocations: 16.03 kB / 0.5746 GB, free: 2.898 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.195e-05/0.5398, allocations: 27.94 kB / 0.5747 GB, free: 2.871 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000933/0.5407, allocations: 287.5 kB / 0.5749 GB, free: 2.59 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003422/0.5411, allocations: 0.6288 MB / 0.5755 GB, free: 1.938 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001405/0.5425, allocations: 142.9 kB / 0.5757 GB, free: 1.797 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001005/0.5426, allocations: 67.97 kB / 0.5757 GB, free: 1.73 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.0007308/0.5434, allocations: 438.8 kB / 0.5762 GB, free: 1.285 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002368/0.5436, allocations: 135.1 kB / 0.5763 GB, free: 1.152 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002514/0.5461, allocations: 1.451 MB / 0.5777 GB, free: 15.71 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.962e-05/0.5462, allocations: 8 kB / 0.5777 GB, free: 15.71 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.377e-06/0.5462, allocations: 3.953 kB / 0.5777 GB, free: 15.7 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.858e-06/0.5462, allocations: 3.984 kB / 0.5777 GB, free: 15.7 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003413/0.5496, allocations: 2.23 MB / 0.5799 GB, free: 13.43 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/0.5496, allocations: 0 / 0.5799 GB, free: 13.43 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001306/0.551, allocations: 255.7 kB / 0.5802 GB, free: 13.18 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.152e-05/0.551, allocations: 4 kB / 0.5802 GB, free: 13.18 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.232e-05/0.551, allocations: 27.94 kB / 0.5802 GB, free: 13.15 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006858/0.5517, allocations: 1.192 MB / 0.5813 GB, free: 11.91 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.5517, allocations: 0 / 0.5813 GB, free: 11.91 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001619/0.5534, allocations: 1.072 MB / 0.5824 GB, free: 10.82 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006055/0.554, allocations: 278.9 kB / 0.5827 GB, free: 10.53 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002275/0.5542, allocations: 24 kB / 0.5827 GB, free: 10.51 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007075/0.5549, allocations: 58.69 kB / 0.5827 GB, free: 10.45 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001001/0.5551, allocations: 56.47 kB / 0.5828 GB, free: 10.4 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.434e-05/0.5551, allocations: 35.98 kB / 0.5828 GB, free: 10.36 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001253/0.5564, allocations: 0.8713 MB / 0.5837 GB, free: 9.492 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5564, allocations: 0 / 0.5837 GB, free: 9.492 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00445/0.5609, allocations: 1.288 MB / 0.5849 GB, free: 8.203 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 (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.005192/0.5661, allocations: 2.598 MB / 0.5875 GB, free: 5.664 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003754/0.5698, allocations: 1.794 MB / 0.5892 GB, free: 3.848 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.534e-06/0.5699, allocations: 0.875 kB / 0.5892 GB, free: 3.848 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001785/0.5717, allocations: 0.6671 MB / 0.5899 GB, free: 3.172 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002946/0.5746, allocations: 0.5542 MB / 0.5904 GB, free: 2.617 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01051/0.5852, allocations: 13.8 MB / 0.6039 GB, free: 4.477 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007268/0.5859, allocations: 1.206 MB / 0.6051 GB, free: 3.242 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001969/0.5879, allocations: 0.5143 MB / 0.6056 GB, free: 2.742 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006865/0.5886, allocations: 0.5343 MB / 0.6061 GB, free: 2.207 MB / 446.1 MB Notification: Performance of SimCode: time 1.843e-06/0.5886, allocations: 4 kB / 0.6061 GB, free: 2.203 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07996/0.6686, allocations: 47.66 MB / 0.6526 GB, free: 2.914 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003477/0.669, allocations: 277.9 kB / 0.6529 GB, free: 2.543 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.28/3.949, allocations: 0 / 0.6529 GB, free: 2.543 MB / 494.1 MB (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/linux/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)