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.00793/0.00793, allocations: 99.42 kB / 15.73 MB, free: 6.039 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.00185/0.00185, allocations: 202 kB / 16.68 MB, free: 5.965 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.399/1.399, allocations: 205.1 MB / 222.5 MB, free: 4.516 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05619/0.05619, allocations: 11.84 MB / 281.7 MB, free: 9.359 MB / 238.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.001457/0.001457, allocations: 67.91 kB / 392.3 MB, free: 3.496 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2693/0.2708, allocations: 49.23 MB / 441.6 MB, free: 4.418 MB / 318.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.WallFrictionTest): time 0.003456/0.2743, allocations: 2.718 MB / 444.3 MB, free: 2.516 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001981/0.2763, allocations: 1.501 MB / 445.8 MB, free: 1.441 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001326/0.2764, allocations: 2.688 kB / 445.8 MB, free: 1.441 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001374/0.2766, allocations: 36.73 kB / 445.8 MB, free: 1.418 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003129/0.2769, allocations: 105.8 kB / 445.9 MB, free: 1.348 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.0006666/0.2776, allocations: 322 kB / 446.2 MB, free: 1.215 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003248/0.2779, allocations: 314 kB / 446.5 MB, free: 1.055 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001782/0.2781, allocations: 88.38 kB / 446.6 MB, free: 1.008 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001473/0.2783, allocations: 111.8 kB / 446.7 MB, free: 0.957 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000185/0.2785, allocations: 128.9 kB / 446.9 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.383e-05/0.2785, allocations: 20.28 kB / 446.9 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003907/0.2789, allocations: 216.3 kB / 447.1 MB, free: 0.832 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.483e-05/0.279, allocations: 49.3 kB / 447.1 MB, free: 0.8008 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001146/0.2791, allocations: 130 kB / 447.3 MB, free: 0.7266 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000536/0.2796, allocations: 395.3 kB / 447.7 MB, free: 0.582 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.2796, allocations: 0 / 447.7 MB, free: 0.582 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.2797, allocations: 0 / 447.7 MB, free: 0.582 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.382e-06/0.2797, allocations: 0 / 447.7 MB, free: 0.582 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.0006913/0.2804, allocations: 0.5444 MB / 448.2 MB, free: 96 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.2804, allocations: 12.92 kB / 448.2 MB, free: 92 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001134/0.2805, allocations: 27.7 kB / 448.2 MB, free: 80 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002823/0.2808, allocations: 255.9 kB / 448.5 MB, free: 15.83 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.674e-05/0.2808, allocations: 15.97 kB / 448.5 MB, free: 15.82 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.099e-05/0.2809, allocations: 25.7 kB / 448.5 MB, free: 15.81 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004098/0.2813, allocations: 215.6 kB / 448.7 MB, free: 15.67 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.379e-05/0.2813, allocations: 0 / 448.7 MB, free: 15.67 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.227e-05/0.2814, allocations: 6.594 kB / 448.8 MB, free: 15.67 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.2814, allocations: 4 kB / 448.8 MB, free: 15.67 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002758/0.2817, allocations: 147 kB / 448.9 MB, free: 15.6 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001471/0.2831, allocations: 1.107 MB / 450 MB, free: 14.5 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003199/0.2835, allocations: 134.4 kB / 450.1 MB, free: 14.43 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001242/0.2836, allocations: 65.67 kB / 450.2 MB, free: 14.39 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002816/0.2839, allocations: 335.6 kB / 450.5 MB, free: 14 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.731e-05/0.2839, allocations: 35.94 kB / 450.6 MB, free: 13.96 MB / 334.1 MB Notification: Performance of pre-optimization done (n=15): time 1.322e-06/0.2839, allocations: 0 / 450.6 MB, free: 13.96 MB / 334.1 MB Notification: Performance of matching and sorting (n=18): time 0.001764/0.2857, allocations: 0.6577 MB / 451.2 MB, free: 13.49 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.911e-05/0.2858, allocations: 56.78 kB / 451.3 MB, free: 13.42 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002193/0.286, allocations: 214.4 kB / 451.5 MB, free: 13.27 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.215e-05/0.286, allocations: 31.08 kB / 451.5 MB, free: 13.23 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001012/0.2861, allocations: 138.1 kB / 451.7 MB, free: 13.1 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.058e-05/0.2862, allocations: 66.3 kB / 451.7 MB, free: 13.04 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.073e-05/0.2863, allocations: 39.45 kB / 451.8 MB, free: 13.01 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001262/0.2864, allocations: 327 kB / 452.1 MB, free: 12.69 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001514/0.2866, allocations: 70.94 kB / 452.1 MB, free: 12.64 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001734/0.2867, allocations: 108.3 kB / 452.2 MB, free: 12.55 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003126/0.2871, allocations: 174.6 kB / 452.4 MB, free: 12.43 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.2871, allocations: 0 / 452.4 MB, free: 12.43 MB / 334.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003975/0.2875, allocations: 210.9 kB / 452.6 MB, free: 12.31 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.2875, allocations: 13.02 kB / 452.6 MB, free: 12.3 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.2875, allocations: 3.047 kB / 452.6 MB, free: 12.3 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.2875, allocations: 11.02 kB / 452.7 MB, free: 12.29 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002441/0.2878, allocations: 54.84 kB / 452.7 MB, free: 12.28 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.17e-05/0.2878, allocations: 10.72 kB / 452.7 MB, free: 12.27 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001224/0.2879, allocations: 8.828 kB / 452.7 MB, free: 12.27 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.696e-05/0.288, allocations: 14.62 kB / 452.7 MB, free: 12.26 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.0001728/0.2881, allocations: 137.6 kB / 452.9 MB, free: 12.13 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.043e-05/0.2882, allocations: 29.27 kB / 452.9 MB, free: 12.11 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004796/0.2887, allocations: 213.6 kB / 453.1 MB, free: 11.98 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.167e-06/0.2887, allocations: 1.312 kB / 453.1 MB, free: 11.98 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.2887, allocations: 1.469 kB / 453.1 MB, free: 11.98 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.2887, allocations: 3.984 kB / 453.1 MB, free: 11.98 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007744/0.2895, allocations: 0.55 MB / 453.7 MB, free: 11.5 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.2895, allocations: 0 / 453.7 MB, free: 11.5 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002592/0.2898, allocations: 57.97 kB / 453.7 MB, free: 11.48 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.2898, allocations: 1.375 kB / 453.7 MB, free: 11.48 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.751e-05/0.2898, allocations: 5.375 kB / 453.7 MB, free: 11.48 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.509e-06/0.2898, allocations: 5.312 kB / 453.7 MB, free: 11.48 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.2898, allocations: 0 / 453.7 MB, free: 11.48 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00055/0.2904, allocations: 363.2 kB / 454.1 MB, free: 11.23 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.983e-05/0.2905, allocations: 112.4 kB / 454.2 MB, free: 11.11 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.097e-05/0.2906, allocations: 10.38 kB / 454.2 MB, free: 11.1 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001534/0.2907, allocations: 4.375 kB / 454.2 MB, free: 11.1 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.387e-05/0.2908, allocations: 18.91 kB / 454.2 MB, free: 11.09 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.26e-05/0.2908, allocations: 3.312 kB / 454.2 MB, free: 11.09 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001622/0.291, allocations: 171.9 kB / 454.4 MB, free: 10.96 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.291, allocations: 0 / 454.4 MB, free: 10.96 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004081/0.2914, allocations: 98.52 kB / 454.5 MB, free: 10.94 MB / 334.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.0002616/0.2917, allocations: 174.7 kB / 454.7 MB, free: 10.8 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003751/0.292, allocations: 139.7 kB / 454.8 MB, free: 10.75 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.292, allocations: 0 / 454.8 MB, free: 10.75 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001577/0.2922, allocations: 74.56 kB / 454.9 MB, free: 10.72 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004139/0.2926, allocations: 66.09 kB / 454.9 MB, free: 10.68 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009776/0.2936, allocations: 0.5502 MB / 455.5 MB, free: 10.29 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002941/0.2939, allocations: 0.7466 MB / 456.2 MB, free: 9.555 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001147/0.2941, allocations: 29.5 kB / 456.3 MB, free: 9.543 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.309e-05/0.2941, allocations: 25.89 kB / 456.3 MB, free: 9.531 MB / 334.1 MB Notification: Performance of SimCode: time 3.7e-07/0.2941, allocations: 0 / 456.3 MB, free: 9.531 MB / 334.1 MB Notification: Performance of Templates: time 0.007095/0.3012, allocations: 3.796 MB / 460.1 MB, free: 7.625 MB / 334.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)