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.001885/0.001885, allocations: 112.6 kB / 16.37 MB, free: 6 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.002117/0.002117, allocations: 196 kB / 17.31 MB, free: 5.613 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.465/1.465, allocations: 205.1 MB / 223.2 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05417/0.05417, allocations: 11.84 MB / 282.4 MB, free: 252 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.002184/0.002184, allocations: 71.91 kB / 343.3 MB, free: 3.207 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2694/0.2716, allocations: 49.21 MB / 392.5 MB, free: 49.33 MB / 318.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.WallFrictionTest): time 0.003644/0.2752, allocations: 2.713 MB / 395.2 MB, free: 47.44 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001995/0.2773, allocations: 1.498 MB / 396.7 MB, free: 46.37 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001697/0.2775, allocations: 6.969 kB / 396.7 MB, free: 46.36 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001673/0.2777, allocations: 33 kB / 396.7 MB, free: 46.34 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003774/0.2781, allocations: 105.4 kB / 396.8 MB, free: 46.27 MB / 318.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.0007839/0.2789, allocations: 325.8 kB / 397.2 MB, free: 46.14 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003408/0.2792, allocations: 318 kB / 397.5 MB, free: 45.97 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001782/0.2794, allocations: 79.97 kB / 397.6 MB, free: 45.94 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001436/0.2795, allocations: 110 kB / 397.7 MB, free: 45.89 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001813/0.2797, allocations: 130.2 kB / 397.8 MB, free: 45.82 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.136e-05/0.2798, allocations: 23 kB / 397.8 MB, free: 45.82 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000384/0.2802, allocations: 215.8 kB / 398 MB, free: 45.76 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.748e-05/0.2802, allocations: 48.42 kB / 398.1 MB, free: 45.73 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001395/0.2804, allocations: 123.1 kB / 398.2 MB, free: 45.66 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004566/0.2808, allocations: 388.8 kB / 398.6 MB, free: 45.52 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.2809, allocations: 0 / 398.6 MB, free: 45.52 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.2809, allocations: 0 / 398.6 MB, free: 45.52 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.798e-06/0.2809, allocations: 0 / 398.6 MB, free: 45.52 MB / 318.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.0006922/0.2816, allocations: 0.5493 MB / 399.1 MB, free: 45.03 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.201e-05/0.2816, allocations: 13.2 kB / 399.1 MB, free: 45.02 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001075/0.2817, allocations: 35.72 kB / 399.2 MB, free: 45 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002292/0.282, allocations: 247.3 kB / 399.4 MB, free: 44.76 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.647e-05/0.282, allocations: 12.34 kB / 399.4 MB, free: 44.76 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.927e-05/0.282, allocations: 20.53 kB / 399.4 MB, free: 44.75 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003573/0.2824, allocations: 209.2 kB / 399.6 MB, free: 44.64 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/0.2824, allocations: 4.656 kB / 399.6 MB, free: 44.64 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.006e-05/0.2824, allocations: 10.22 kB / 399.7 MB, free: 44.63 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.011e-05/0.2825, allocations: 4.406 kB / 399.7 MB, free: 44.63 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002822/0.2827, allocations: 149.6 kB / 399.8 MB, free: 44.58 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001094/0.2838, allocations: 1.114 MB / 400.9 MB, free: 43.53 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002815/0.2841, allocations: 141.1 kB / 401.1 MB, free: 43.45 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001107/0.2843, allocations: 62.64 kB / 401.1 MB, free: 43.41 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002004/0.2845, allocations: 330.1 kB / 401.4 MB, free: 43.03 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.836e-05/0.2845, allocations: 39.62 kB / 401.5 MB, free: 42.98 MB / 318.1 MB Notification: Performance of pre-optimization done (n=15): time 1.483e-06/0.2845, allocations: 5.031 kB / 401.5 MB, free: 42.98 MB / 318.1 MB Notification: Performance of matching and sorting (n=18): time 0.001532/0.286, allocations: 0.6563 MB / 402.1 MB, free: 42.51 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.911e-05/0.2861, allocations: 53.72 kB / 402.2 MB, free: 42.45 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001688/0.2863, allocations: 218.3 kB / 402.4 MB, free: 42.29 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.527e-05/0.2863, allocations: 30.89 kB / 402.4 MB, free: 42.25 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.952e-05/0.2864, allocations: 134.4 kB / 402.6 MB, free: 42.12 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.254e-05/0.2864, allocations: 62.41 kB / 402.6 MB, free: 42.07 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.194e-05/0.2865, allocations: 38.7 kB / 402.7 MB, free: 42.04 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.034e-05/0.2865, allocations: 331.5 kB / 403 MB, free: 41.71 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001321/0.2867, allocations: 70.69 kB / 403.1 MB, free: 41.67 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001327/0.2868, allocations: 104.8 kB / 403.2 MB, free: 41.58 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002559/0.2871, allocations: 167.7 kB / 403.3 MB, free: 41.46 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.2871, allocations: 1.094 kB / 403.3 MB, free: 41.46 MB / 318.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003589/0.2874, allocations: 217.5 kB / 403.5 MB, free: 41.34 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.2875, allocations: 13.58 kB / 403.6 MB, free: 41.33 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.2875, allocations: 2.125 kB / 403.6 MB, free: 41.33 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/0.2875, allocations: 2.312 kB / 403.6 MB, free: 41.33 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002369/0.2877, allocations: 56.84 kB / 403.6 MB, free: 41.32 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/0.2878, allocations: 6.344 kB / 403.6 MB, free: 41.31 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001209/0.2879, allocations: 8.859 kB / 403.6 MB, free: 41.31 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.846e-05/0.2879, allocations: 18.69 kB / 403.6 MB, free: 41.3 MB / 318.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.0001363/0.2881, allocations: 138.5 kB / 403.8 MB, free: 41.16 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.454e-05/0.2881, allocations: 16.72 kB / 403.8 MB, free: 41.16 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004245/0.2885, allocations: 212.1 kB / 404 MB, free: 41.04 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.2885, allocations: 2.719 kB / 404 MB, free: 41.04 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.2886, allocations: 0 / 404 MB, free: 41.04 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.2886, allocations: 9.266 kB / 404 MB, free: 41.03 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006314/0.2892, allocations: 0.5568 MB / 404.6 MB, free: 40.54 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/0.2892, allocations: 0 / 404.6 MB, free: 40.54 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002423/0.2895, allocations: 59 kB / 404.6 MB, free: 40.53 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.626e-06/0.2895, allocations: 1.219 kB / 404.6 MB, free: 40.53 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.525e-05/0.2895, allocations: 5.219 kB / 404.6 MB, free: 40.52 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.2895, allocations: 5.094 kB / 404.6 MB, free: 40.52 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.2895, allocations: 5.125 kB / 404.6 MB, free: 40.52 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004552/0.29, allocations: 350.8 kB / 405 MB, free: 40.28 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.091e-05/0.2901, allocations: 112.6 kB / 405.1 MB, free: 40.16 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.59e-05/0.2901, allocations: 13.33 kB / 405.1 MB, free: 40.14 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001398/0.2902, allocations: 5.062 kB / 405.1 MB, free: 40.14 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.062e-05/0.2903, allocations: 22.81 kB / 405.1 MB, free: 40.13 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.238e-05/0.2903, allocations: 3.5 kB / 405.1 MB, free: 40.13 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001132/0.2904, allocations: 164 kB / 405.3 MB, free: 40.01 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2904, allocations: 0 / 405.3 MB, free: 40.01 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003985/0.2908, allocations: 98.45 kB / 405.4 MB, free: 39.98 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (idealPump.phi,circuitTank.volumeOpen.m) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * 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 Backend phase and start with SimCode phase: time 0.0002153/0.2911, allocations: 170.4 kB / 405.6 MB, free: 39.85 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003087/0.2914, allocations: 151.9 kB / 405.7 MB, free: 39.79 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.2914, allocations: 0 / 405.7 MB, free: 39.79 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001326/0.2915, allocations: 74.39 kB / 405.8 MB, free: 39.76 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003885/0.2919, allocations: 56.48 kB / 405.8 MB, free: 39.73 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008784/0.2928, allocations: 0.5483 MB / 406.4 MB, free: 39.34 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001569/0.293, allocations: 0.7496 MB / 407.1 MB, free: 38.61 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.00011/0.2931, allocations: 27 kB / 407.2 MB, free: 38.6 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.14e-05/0.2932, allocations: 33.45 kB / 407.2 MB, free: 38.58 MB / 318.1 MB Notification: Performance of SimCode: time 3e-07/0.2932, allocations: 0 / 407.2 MB, free: 38.58 MB / 318.1 MB Notification: Performance of Templates: time 0.006908/0.3001, allocations: 3.757 MB / 411 MB, free: 36.05 MB / 318.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 -s cvode -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.WallFrictionTest.pipe 2>&1)