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.001015/0.001016, allocations: 98.19 kB / 15.36 MB, free: 0.7344 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.008805/0.008805, allocations: 171 kB / 16.27 MB, free: 6.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.717/1.717, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.3922/0.3922, allocations: 40 MB / 310.7 MB, free: 9.586 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.0005662/0.0005661, allocations: 12 kB / 379.5 MB, free: 11.96 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1271/0.1277, allocations: 57.96 MB / 437.4 MB, free: 1.902 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction): time 0.2756/0.4033, allocations: 35.52 MB / 472.9 MB, free: 32.28 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0203/0.4237, allocations: 16.54 MB / 489.5 MB, free: 22.37 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002699/0.4265, allocations: 49.03 kB / 489.5 MB, free: 22.34 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002433/0.4289, allocations: 0.5653 MB / 490.1 MB, free: 22.02 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008968/0.4379, allocations: 2.063 MB / 492.1 MB, free: 20.9 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01248/0.4504, allocations: 3.031 MB / 495.2 MB, free: 19.41 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006992/0.4574, allocations: 4.821 MB / 0.4883 GB, free: 17.71 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00211/0.4596, allocations: 0.8703 MB / 0.4891 GB, free: 17.38 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003594/0.4632, allocations: 1.216 MB / 0.4903 GB, free: 16.91 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002856/0.4661, allocations: 1.231 MB / 0.4915 GB, free: 16.43 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007777/0.4669, allocations: 66.84 kB / 0.4916 GB, free: 16.43 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01029/0.4772, allocations: 2.95 MB / 0.4945 GB, free: 15.51 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001089/0.4783, allocations: 358.5 kB / 0.4948 GB, free: 15.35 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00262/0.481, allocations: 0.7675 MB / 0.4956 GB, free: 14.93 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01117/0.4922, allocations: 3.731 MB / 0.4992 GB, free: 13.83 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/0.4922, allocations: 4 kB / 0.4992 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.885e-06/0.4922, allocations: 1.375 kB / 0.4992 GB, free: 13.82 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001054/0.4924, allocations: 0 / 0.4992 GB, free: 13.82 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.007643/0.5, allocations: 1.855 MB / 0.501 GB, free: 12.57 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.509e-05/0.5001, allocations: 9.406 kB / 0.501 GB, free: 12.57 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001444/0.5015, allocations: 182.9 kB / 0.5012 GB, free: 12.49 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003005/0.5046, allocations: 1.042 MB / 0.5022 GB, free: 11.87 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001276/0.5047, allocations: 74.66 kB / 0.5023 GB, free: 11.84 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003962/0.5051, allocations: 90.56 kB / 0.5024 GB, free: 11.81 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003765/0.5089, allocations: 1.46 MB / 0.5038 GB, free: 11.1 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.836e-05/0.509, allocations: 1.312 kB / 0.5038 GB, free: 11.1 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002519/0.5092, allocations: 46.94 kB / 0.5038 GB, free: 11.07 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.355e-05/0.5093, allocations: 54.09 kB / 0.5039 GB, free: 11.06 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00282/0.5121, allocations: 1.348 MB / 0.5052 GB, free: 10.59 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.01076/0.5229, allocations: 6.558 MB / 0.5116 GB, free: 5.637 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00107/0.524, allocations: 0.5756 MB / 0.5122 GB, free: 5.324 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005924/0.5246, allocations: 354.7 kB / 0.5125 GB, free: 5.137 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02143/0.5461, allocations: 15.33 MB / 0.5275 GB, free: 4.676 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009131/0.5471, allocations: 487.8 kB / 0.528 GB, free: 4.301 MB / 398.1 MB Notification: Performance of pre-optimization done (n=49): time 3.978e-06/0.5471, allocations: 0.9688 kB / 0.528 GB, free: 4.301 MB / 398.1 MB Notification: Performance of matching and sorting (n=49): time 0.002215/0.5493, allocations: 0.9216 MB / 0.5289 GB, free: 3.828 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000309/0.5496, allocations: 0.5477 MB / 0.5294 GB, free: 3.16 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002856/0.5525, allocations: 1.273 MB / 0.5306 GB, free: 2.461 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001395/0.5527, allocations: 35.2 kB / 0.5307 GB, free: 2.426 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008732/0.5536, allocations: 0.7112 MB / 0.5314 GB, free: 1.793 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000268/0.5538, allocations: 183.5 kB / 0.5315 GB, free: 1.637 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002135/0.5541, allocations: 93.33 kB / 0.5316 GB, free: 1.57 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001825/0.5543, allocations: 348.7 kB / 0.532 GB, free: 1.234 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008008/0.5551, allocations: 342 kB / 0.5323 GB, free: 1.07 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001347/0.5564, allocations: 0.9047 MB / 0.5332 GB, free: 152 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001841/0.5583, allocations: 1.204 MB / 0.5343 GB, free: 15.11 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-05/0.5583, allocations: 4.312 kB / 0.5343 GB, free: 15.11 MB / 414.1 MB Notification: Performance of matching and sorting (n=138) (initialization): time 0.002793/0.5611, allocations: 1.34 MB / 0.5357 GB, free: 14.43 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005058/0.5616, allocations: 0.5493 MB / 0.5362 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.828e-05/0.5617, allocations: 15.78 kB / 0.5362 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.817e-05/0.5617, allocations: 21.88 kB / 0.5362 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001745/0.5635, allocations: 353.6 kB / 0.5366 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008524/0.5644, allocations: 1.251 MB / 0.5378 GB, free: 12.36 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001916/0.5663, allocations: 187.8 kB / 0.538 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001713/0.5665, allocations: 69.86 kB / 0.538 GB, free: 12.23 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/0.5665, allocations: 2.688 kB / 0.538 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00204/0.5685, allocations: 1.164 MB / 0.5392 GB, free: 11.65 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.237e-05/0.5686, allocations: 16.62 kB / 0.5392 GB, free: 11.65 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.26e-05/0.5686, allocations: 22.83 kB / 0.5392 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009805/0.5696, allocations: 288.5 kB / 0.5395 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003991/0.57, allocations: 0.6286 MB / 0.5401 GB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001611/0.5716, allocations: 146.8 kB / 0.5402 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000158/0.5718, allocations: 66.52 kB / 0.5403 GB, free: 10.86 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 (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.001072/0.5729, allocations: 437.5 kB / 0.5407 GB, free: 10.44 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004884/0.5734, allocations: 146.3 kB / 0.5409 GB, free: 10.29 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00297/0.5764, allocations: 1.435 MB / 0.5423 GB, free: 8.848 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.041e-05/0.5764, allocations: 8 kB / 0.5423 GB, free: 8.84 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.255e-06/0.5764, allocations: 0 / 0.5423 GB, free: 8.84 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.888e-06/0.5764, allocations: 3.984 kB / 0.5423 GB, free: 8.836 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004069/0.5805, allocations: 2.217 MB / 0.5444 GB, free: 6.547 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.332e-06/0.5805, allocations: 0 / 0.5444 GB, free: 6.547 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001383/0.5819, allocations: 251.8 kB / 0.5447 GB, free: 6.301 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.494e-05/0.5819, allocations: 4 kB / 0.5447 GB, free: 6.297 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.898e-05/0.582, allocations: 23.98 kB / 0.5447 GB, free: 6.273 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000632/0.5826, allocations: 1.188 MB / 0.5459 GB, free: 5.039 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.5827, allocations: 0 / 0.5459 GB, free: 5.039 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001677/0.5843, allocations: 1.068 MB / 0.5469 GB, free: 3.945 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006892/0.585, allocations: 274.8 kB / 0.5472 GB, free: 3.656 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000439/0.5855, allocations: 20 kB / 0.5472 GB, free: 3.637 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009908/0.5865, allocations: 51.97 kB / 0.5472 GB, free: 3.586 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001199/0.5866, allocations: 56.58 kB / 0.5473 GB, free: 3.531 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.674e-05/0.5867, allocations: 39.92 kB / 0.5473 GB, free: 3.492 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001478/0.5882, allocations: 0.8831 MB / 0.5482 GB, free: 2.609 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.5882, allocations: 0 / 0.5482 GB, free: 2.609 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.005098/0.5933, allocations: 1.272 MB / 0.5494 GB, free: 1.336 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 (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.004738/0.5981, allocations: 1.027 MB / 0.5504 GB, free: 312 kB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004487/0.6026, allocations: 1.811 MB / 0.5522 GB, free: 14.47 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 9.568e-06/0.6026, allocations: 8.812 kB / 0.5522 GB, free: 14.46 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001982/0.6046, allocations: 0.6671 MB / 0.5529 GB, free: 13.78 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004197/0.6088, allocations: 0.5645 MB / 0.5534 GB, free: 13.21 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004473/0.6133, allocations: 2.729 MB / 0.5561 GB, free: 10.46 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008324/0.6141, allocations: 1.179 MB / 0.5572 GB, free: 9.258 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.002164/0.6163, allocations: 0.51 MB / 0.5577 GB, free: 8.754 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004392/0.6168, allocations: 147.4 kB / 0.5579 GB, free: 8.609 MB / 430.1 MB Notification: Performance of SimCode: time 1.022e-06/0.6168, allocations: 0 / 0.5579 GB, free: 8.609 MB / 430.1 MB Notification: Performance of Templates: time 0.06661/0.6834, allocations: 36.73 MB / 0.5937 GB, free: 3.891 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: