Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.WallFrictionTest.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/OpenHydraulics 1.0.0-master/package.mo", uses=false) Using package OpenHydraulics with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/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(OpenHydraulics.DevelopmentTests.WallFrictionTest,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.WallFrictionTest") translateModel(OpenHydraulics.DevelopmentTests.WallFrictionTest,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.WallFrictionTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00114/0.00114, allocations: 112.9 kB / 16.42 MB, free: 6.016 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.001193/0.001193, allocations: 192.9 kB / 17.35 MB, free: 5.617 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.287/1.287, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05699/0.05699, allocations: 11.85 MB / 282.4 MB, free: 220 kB / 222.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: OpenHydraulics requested package Modelica of version 3.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.001494/0.001494, allocations: 73.67 kB / 393 MB, free: 45.29 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06675/0.06825, allocations: 49.23 MB / 442.2 MB, free: 2.074 MB / 318.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.WallFrictionTest): time 0.003137/0.07142, allocations: 2.712 MB / 445 MB, free: 15.34 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002151/0.07359, allocations: 1.5 MB / 446.5 MB, free: 13.83 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001176/0.07372, allocations: 4 kB / 446.5 MB, free: 13.83 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001343/0.07387, allocations: 35.64 kB / 446.5 MB, free: 13.79 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003086/0.07419, allocations: 115.2 kB / 446.6 MB, free: 13.68 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/Basic/BaseClasses/massFlowRate_dp_WallFriction.mo:82:9-82:71:writable] Warning: Re was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of NFTyping.typeClassSections: time 0.0006561/0.07486, allocations: 318.9 kB / 446.9 MB, free: 13.37 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003274/0.0752, allocations: 314.5 kB / 447.2 MB, free: 13.06 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001824/0.07539, allocations: 89.06 kB / 447.3 MB, free: 12.97 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001492/0.07555, allocations: 119.6 kB / 447.4 MB, free: 12.85 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002056/0.07576, allocations: 123.5 kB / 447.6 MB, free: 12.73 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.603e-05/0.07581, allocations: 20 kB / 447.6 MB, free: 12.71 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003992/0.07621, allocations: 219.6 kB / 447.8 MB, free: 12.5 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.232e-05/0.07629, allocations: 47.83 kB / 447.8 MB, free: 12.45 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001434/0.07644, allocations: 131.3 kB / 448 MB, free: 12.32 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005239/0.07697, allocations: 382.7 kB / 448.3 MB, free: 11.95 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.07698, allocations: 0 / 448.3 MB, free: 11.95 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.07699, allocations: 4 kB / 448.3 MB, free: 11.94 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.6e-06/0.077, allocations: 0 / 448.3 MB, free: 11.94 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0007876/0.0778, allocations: 0.549 MB / 448.9 MB, free: 11.34 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.07784, allocations: 11.89 kB / 448.9 MB, free: 11.33 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001148/0.07796, allocations: 28.78 kB / 448.9 MB, free: 11.3 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002907/0.07826, allocations: 251.7 kB / 449.2 MB, free: 11.02 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.07829, allocations: 16.38 kB / 449.2 MB, free: 11 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.167e-05/0.07835, allocations: 20 kB / 449.2 MB, free: 10.98 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003818/0.07874, allocations: 214.7 kB / 449.4 MB, free: 10.76 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.376e-05/0.07876, allocations: 0 / 449.4 MB, free: 10.76 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.348e-05/0.07879, allocations: 12 kB / 449.4 MB, free: 10.75 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.07881, allocations: 4 kB / 449.4 MB, free: 10.74 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002894/0.0791, allocations: 143.2 kB / 449.6 MB, free: 10.61 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001384/0.0805, allocations: 1.107 MB / 450.7 MB, free: 9.359 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003152/0.08083, allocations: 142.5 kB / 450.8 MB, free: 9.211 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001228/0.08096, allocations: 56.84 kB / 450.9 MB, free: 9.152 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002767/0.08125, allocations: 336.7 kB / 451.2 MB, free: 8.75 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.509e-05/0.08128, allocations: 42.44 kB / 451.2 MB, free: 8.699 MB / 334.1 MB Notification: Performance of pre-optimization done (n=15): time 1.552e-06/0.08129, allocations: 0 / 451.2 MB, free: 8.699 MB / 334.1 MB Notification: Performance of matching and sorting (n=18): time 0.001709/0.08301, allocations: 0.6633 MB / 451.9 MB, free: 7.988 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.532e-05/0.08305, allocations: 55.41 kB / 452 MB, free: 7.922 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002099/0.08327, allocations: 223.1 kB / 452.2 MB, free: 7.695 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.202e-05/0.0833, allocations: 29.7 kB / 452.2 MB, free: 7.66 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.841e-05/0.08339, allocations: 136.5 kB / 452.3 MB, free: 7.523 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.337e-05/0.08345, allocations: 63.44 kB / 452.4 MB, free: 7.461 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.891e-05/0.08352, allocations: 45.69 kB / 452.5 MB, free: 7.41 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001142/0.08364, allocations: 330.8 kB / 452.8 MB, free: 7.078 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001595/0.08381, allocations: 68.75 kB / 452.8 MB, free: 7.008 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001583/0.08398, allocations: 107.6 kB / 452.9 MB, free: 6.883 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003027/0.08429, allocations: 173.9 kB / 453.1 MB, free: 6.691 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.0843, allocations: 0 / 453.1 MB, free: 6.691 MB / 334.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004026/0.08471, allocations: 209.3 kB / 453.3 MB, free: 6.48 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.08473, allocations: 8 kB / 453.3 MB, free: 6.473 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.08474, allocations: 0 / 453.3 MB, free: 6.473 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.08476, allocations: 4 kB / 453.3 MB, free: 6.469 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002601/0.08503, allocations: 64.05 kB / 453.4 MB, free: 6.406 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.022e-05/0.08505, allocations: 0 / 453.4 MB, free: 6.406 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001294/0.08519, allocations: 12 kB / 453.4 MB, free: 6.395 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.75e-05/0.08521, allocations: 11.92 kB / 453.4 MB, free: 6.383 MB / 334.1 MB Warning: Assuming fixed start value for the following 1 variables: idealPump.phi:VARIABLE(unit = "rad" fixed = true ) "Angle of rotation of pump" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001529/0.08537, allocations: 145.7 kB / 453.6 MB, free: 6.23 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.856e-05/0.08543, allocations: 23.86 kB / 453.6 MB, free: 6.207 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004688/0.0859, allocations: 222.6 kB / 453.8 MB, free: 5.984 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.08592, allocations: 0 / 453.8 MB, free: 5.984 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.08592, allocations: 0 / 453.8 MB, free: 5.984 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.847e-05/0.08603, allocations: 120.9 kB / 453.9 MB, free: 5.848 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.752e-05/0.08607, allocations: 3.938 kB / 453.9 MB, free: 5.844 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001587/0.08623, allocations: 15.98 kB / 453.9 MB, free: 5.828 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.308e-05/0.08628, allocations: 7.984 kB / 453.9 MB, free: 5.82 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005769/0.08687, allocations: 292.8 kB / 454.2 MB, free: 5.527 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005999/0.08748, allocations: 438.5 kB / 454.7 MB, free: 5.082 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001472/0.08764, allocations: 80.88 kB / 454.7 MB, free: 5.004 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001464/0.0878, allocations: 163.1 kB / 454.9 MB, free: 4.844 MB / 334.1 MB Notification: Performance of Backend: time 4.3e-07/0.08781, allocations: 4.062 kB / 454.9 MB, free: 4.84 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006982/0.08851, allocations: 241.5 kB / 455.1 MB, free: 4.598 MB / 334.1 MB Notification: Performance of SimCode: time 0.001051/0.08957, allocations: 1.003 MB / 456.1 MB, free: 3.547 MB / 334.1 MB Notification: Performance of Templates: time 0.007695/0.09728, allocations: 4.044 MB / 460.2 MB, free: 15.54 MB / 350.1 MB make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.WallFrictionTest.makefile (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.WallFrictionTest.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.WallFrictionTest.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.WallFrictionTest.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.WallFrictionTest.sim & ./OpenHydraulics_OpenHydraulics.DevelopmentTests.WallFrictionTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.WallFrictionTest.pipe 2>&1)