Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction") translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009091/0.0009091, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.001001/0.001001, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.263/1.263, allocations: 205.4 MB / 222.1 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2747/0.2747, allocations: 40 MB / 310.4 MB, free: 9.973 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000492/0.0004921, allocations: 16 kB / 378.8 MB, free: 12.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09201/0.09251, allocations: 57.96 MB / 436.8 MB, free: 2.578 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction): time 0.1838/0.2764, allocations: 30.29 MB / 467.1 MB, free: 34.9 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01418/0.2906, allocations: 14.03 MB / 481.1 MB, free: 28.29 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001854/0.2925, allocations: 53.59 kB / 481.1 MB, free: 28.26 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001721/0.2942, allocations: 0.5238 MB / 481.7 MB, free: 27.97 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005387/0.2996, allocations: 1.934 MB / 483.6 MB, free: 26.78 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006703/0.3064, allocations: 2.772 MB / 486.4 MB, free: 25.45 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003315/0.3097, allocations: 2.131 MB / 488.5 MB, free: 24.36 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001199/0.3109, allocations: 0.8333 MB / 489.3 MB, free: 24.06 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002071/0.313, allocations: 1.126 MB / 490.5 MB, free: 23.57 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001579/0.3146, allocations: 0.8724 MB / 491.3 MB, free: 23.23 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003767/0.315, allocations: 65.31 kB / 491.4 MB, free: 23.23 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005463/0.3205, allocations: 2.723 MB / 494.1 MB, free: 22.51 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006113/0.3211, allocations: 329.3 kB / 494.4 MB, free: 22.36 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006351/0.3218, allocations: 308.7 kB / 494.7 MB, free: 22.21 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004943/0.3267, allocations: 2.683 MB / 497.4 MB, free: 21.59 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.3268, allocations: 0 / 497.4 MB, free: 21.59 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.725e-06/0.3268, allocations: 3.125 kB / 497.4 MB, free: 21.59 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.746e-05/0.3269, allocations: 4 kB / 497.4 MB, free: 21.59 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.003535/0.3304, allocations: 1.869 MB / 499.3 MB, free: 20.34 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/0.3305, allocations: 13.62 kB / 499.3 MB, free: 20.33 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008781/0.3313, allocations: 179.1 kB / 499.5 MB, free: 20.25 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002124/0.3335, allocations: 1.006 MB / 0.4888 GB, free: 19.67 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.699e-05/0.3336, allocations: 74.36 kB / 0.4888 GB, free: 19.63 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001507/0.3337, allocations: 94.27 kB / 0.4889 GB, free: 19.6 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002291/0.336, allocations: 1.437 MB / 0.4903 GB, free: 18.9 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.344e-05/0.3361, allocations: 5.156 kB / 0.4903 GB, free: 18.9 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000114/0.3362, allocations: 50.33 kB / 0.4904 GB, free: 18.86 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.959e-05/0.3363, allocations: 54.12 kB / 0.4904 GB, free: 18.86 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001989/0.3383, allocations: 1.337 MB / 0.4917 GB, free: 18.39 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.007502/0.3458, allocations: 6.696 MB / 0.4983 GB, free: 13.45 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008212/0.3466, allocations: 0.5713 MB / 0.4988 GB, free: 13.2 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01665/0.3633, allocations: 15.4 MB / 0.5139 GB, free: 13.69 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006754/0.364, allocations: 481 kB / 0.5143 GB, free: 13.4 MB / 398.1 MB Notification: Performance of pre-optimization done (n=49): time 1.903e-06/0.364, allocations: 0 / 0.5143 GB, free: 13.4 MB / 398.1 MB Notification: Performance of matching and sorting (n=49): time 0.001777/0.3658, allocations: 0.9924 MB / 0.5153 GB, free: 12.93 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002434/0.3661, allocations: 0.5434 MB / 0.5158 GB, free: 12.27 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001757/0.3678, allocations: 1.266 MB / 0.5171 GB, free: 11.75 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001311/0.368, allocations: 38.14 kB / 0.5171 GB, free: 11.71 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005348/0.3685, allocations: 0.7104 MB / 0.5178 GB, free: 11.14 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001801/0.3687, allocations: 175.1 kB / 0.518 GB, free: 11.02 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.695e-05/0.3688, allocations: 24.62 kB / 0.518 GB, free: 11 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001293/0.3689, allocations: 343.4 kB / 0.5183 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005242/0.3694, allocations: 335.7 kB / 0.5186 GB, free: 10.52 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009112/0.3704, allocations: 0.8871 MB / 0.5195 GB, free: 9.598 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007223/0.3711, allocations: 0.4931 MB / 0.52 GB, free: 9.316 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.189e-05/0.3711, allocations: 4.156 kB / 0.52 GB, free: 9.316 MB / 398.1 MB Notification: Performance of matching and sorting (n=138) (initialization): time 0.002263/0.3734, allocations: 1.324 MB / 0.5213 GB, free: 8.633 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.002054/0.3754, allocations: 5.834 MB / 0.527 GB, free: 2.43 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.143e-05/0.3755, allocations: 14.94 kB / 0.527 GB, free: 2.43 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.813e-05/0.3755, allocations: 22.06 kB / 0.527 GB, free: 2.43 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00164/0.3772, allocations: 355.9 kB / 0.5274 GB, free: 2.332 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007752/0.378, allocations: 1.249 MB / 0.5286 GB, free: 1.102 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001499/0.3795, allocations: 186.5 kB / 0.5288 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001679/0.3797, allocations: 64.8 kB / 0.5288 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.3797, allocations: 4.469 kB / 0.5288 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001924/0.3816, allocations: 1.156 MB / 0.53 GB, free: 396 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.134e-05/0.3817, allocations: 14.47 kB / 0.53 GB, free: 396 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.332e-05/0.3817, allocations: 23.22 kB / 0.53 GB, free: 396 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009624/0.3827, allocations: 297.2 kB / 0.5303 GB, free: 316 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000339/0.383, allocations: 0.6252 MB / 0.5309 GB, free: 15.7 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001183/0.3842, allocations: 154.7 kB / 0.531 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001171/0.3843, allocations: 62.86 kB / 0.5311 GB, free: 15.59 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.000803/0.3851, allocations: 431.9 kB / 0.5315 GB, free: 15.24 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002542/0.3854, allocations: 143.9 kB / 0.5316 GB, free: 15.17 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00239/0.3878, allocations: 1.438 MB / 0.533 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.364e-05/0.3878, allocations: 10.48 kB / 0.5331 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.3878, allocations: 0 / 0.5331 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.055e-05/0.3879, allocations: 7.266 kB / 0.5331 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003188/0.391, allocations: 2.236 MB / 0.5352 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.718e-06/0.3911, allocations: 1.406 kB / 0.5352 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001199/0.3923, allocations: 260.8 kB / 0.5355 GB, free: 12.76 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.917e-06/0.3923, allocations: 3.594 kB / 0.5355 GB, free: 12.76 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.935e-05/0.3924, allocations: 22.7 kB / 0.5355 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005752/0.3929, allocations: 1.189 MB / 0.5367 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.3929, allocations: 2.188 kB / 0.5367 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001624/0.3946, allocations: 1.072 MB / 0.5377 GB, free: 10.92 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004566/0.395, allocations: 278 kB / 0.538 GB, free: 10.67 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002107/0.3953, allocations: 27.53 kB / 0.538 GB, free: 10.65 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006638/0.3959, allocations: 53.11 kB / 0.5381 GB, free: 10.62 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.798e-05/0.396, allocations: 57.12 kB / 0.5381 GB, free: 10.6 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.56e-05/0.3961, allocations: 28.95 kB / 0.5382 GB, free: 10.59 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.00107/0.3972, allocations: 0.8749 MB / 0.539 GB, free: 10.11 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3972, allocations: 3 kB / 0.539 GB, free: 10.11 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002959/0.4001, allocations: 1.279 MB / 0.5403 GB, free: 9.781 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.002021/0.4022, allocations: 1.004 MB / 0.5412 GB, free: 9.266 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003692/0.4059, allocations: 1.8 MB / 0.543 GB, free: 7.52 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/0.4059, allocations: 4 kB / 0.543 GB, free: 7.516 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001691/0.4076, allocations: 0.6603 MB / 0.5436 GB, free: 6.848 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002703/0.4103, allocations: 0.5654 MB / 0.5442 GB, free: 6.285 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003544/0.4139, allocations: 2.586 MB / 0.5467 GB, free: 3.668 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006838/0.4146, allocations: 1.206 MB / 0.5479 GB, free: 2.438 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001629/0.4162, allocations: 0.5071 MB / 0.5484 GB, free: 1.93 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002989/0.4165, allocations: 143.3 kB / 0.5485 GB, free: 1.789 MB / 414.1 MB Notification: Performance of SimCode: time 7.21e-07/0.4165, allocations: 0 / 0.5485 GB, free: 1.789 MB / 414.1 MB Notification: Performance of Templates: time 0.04971/0.4663, allocations: 35.71 MB / 0.5834 GB, free: 14.08 MB / 462.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction.pipe 2>&1) Environment - environmentSimulation: