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: "" <> buildModelFMU(OpenHydraulics.DevelopmentTests.WallFrictionTest,fileNamePrefix="OpenHydraulics_OpenHydraulics_DevelopmentTests_WallFrictionTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenHydraulics.DevelopmentTests.WallFrictionTest,fileNamePrefix="OpenHydraulics_OpenHydraulics_DevelopmentTests_WallFrictionTest",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005134/0.005134, allocations: 103.4 kB / 15.73 MB, free: 6.047 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.00125/0.00125, allocations: 188 kB / 16.67 MB, free: 5.969 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.361/1.361, allocations: 205.1 MB / 222.5 MB, free: 4.52 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05518/0.05518, allocations: 11.84 MB / 281.7 MB, free: 9.348 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.001735/0.001735, allocations: 67.89 kB / 391.8 MB, free: 4 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2635/0.2652, allocations: 49.23 MB / 441.1 MB, free: 4.168 MB / 318.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.WallFrictionTest): time 0.004748/0.27, allocations: 2.716 MB / 443.8 MB, free: 2.27 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002396/0.2725, allocations: 1.503 MB / 445.3 MB, free: 1.191 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002857/0.2729, allocations: 3.625 kB / 445.3 MB, free: 1.191 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002055/0.2731, allocations: 29.19 kB / 445.3 MB, free: 1.176 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005096/0.2736, allocations: 116.8 kB / 445.4 MB, free: 1.094 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.0009764/0.2746, allocations: 322.4 kB / 445.7 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004682/0.2751, allocations: 314.2 kB / 446.1 MB, free: 0.8008 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002037/0.2753, allocations: 91.5 kB / 446.1 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002092/0.2755, allocations: 108 kB / 446.3 MB, free: 0.707 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002045/0.2757, allocations: 124.4 kB / 446.4 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.499e-05/0.2758, allocations: 19.91 kB / 446.4 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004342/0.2762, allocations: 216.2 kB / 446.6 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.934e-05/0.2763, allocations: 52.56 kB / 446.7 MB, free: 0.5508 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001234/0.2764, allocations: 131.7 kB / 446.8 MB, free: 488 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005495/0.2769, allocations: 386 kB / 447.2 MB, free: 340 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.277, allocations: 0 / 447.2 MB, free: 340 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.277, allocations: 0 / 447.2 MB, free: 340 kB / 318.1 MB Notification: Performance of Transformations before backend: time 7.484e-06/0.277, allocations: 0.8906 kB / 447.2 MB, free: 340 kB / 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.0008091/0.2778, allocations: 0.54 MB / 447.7 MB, free: 15.85 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.2779, allocations: 13.61 kB / 447.7 MB, free: 15.84 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.164e-05/0.2779, allocations: 50.61 kB / 447.8 MB, free: 15.8 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001137/0.278, allocations: 26.39 kB / 447.8 MB, free: 15.79 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003377/0.2784, allocations: 264 kB / 448 MB, free: 15.53 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.863e-05/0.2784, allocations: 16.28 kB / 448.1 MB, free: 15.52 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.358e-05/0.2785, allocations: 17.14 kB / 448.1 MB, free: 15.52 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004154/0.2789, allocations: 215.1 kB / 448.3 MB, free: 15.41 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.498e-05/0.2789, allocations: 0 / 448.3 MB, free: 15.41 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.145e-05/0.2789, allocations: 5.219 kB / 448.3 MB, free: 15.4 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/0.279, allocations: 9.328 kB / 448.3 MB, free: 15.4 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002777/0.2792, allocations: 148.4 kB / 448.4 MB, free: 15.35 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001384/0.2806, allocations: 1.108 MB / 449.6 MB, free: 14.27 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000309/0.281, allocations: 138 kB / 449.7 MB, free: 14.19 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001177/0.2811, allocations: 61.09 kB / 449.8 MB, free: 14.15 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002862/0.2814, allocations: 331.2 kB / 450.1 MB, free: 13.77 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.238e-05/0.2814, allocations: 32.31 kB / 450.1 MB, free: 13.73 MB / 334.1 MB Notification: Performance of pre-optimization done (n=15): time 1.804e-06/0.2814, allocations: 0 / 450.1 MB, free: 13.73 MB / 334.1 MB Notification: Performance of matching and sorting (n=18): time 0.001694/0.2831, allocations: 0.6572 MB / 450.8 MB, free: 13.26 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.658e-05/0.2832, allocations: 59.34 kB / 450.8 MB, free: 13.19 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002038/0.2834, allocations: 217.1 kB / 451 MB, free: 13.03 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.978e-05/0.2834, allocations: 25.7 kB / 451.1 MB, free: 13 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.293e-05/0.2835, allocations: 141.9 kB / 451.2 MB, free: 12.87 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.679e-05/0.2836, allocations: 67.25 kB / 451.3 MB, free: 12.81 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.999e-05/0.2836, allocations: 39.45 kB / 451.3 MB, free: 12.78 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001242/0.2838, allocations: 330.9 kB / 451.6 MB, free: 12.45 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001403/0.2839, allocations: 70.14 kB / 451.7 MB, free: 12.41 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001552/0.2841, allocations: 109.1 kB / 451.8 MB, free: 12.31 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003036/0.2844, allocations: 169.8 kB / 452 MB, free: 12.19 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.2844, allocations: 1.188 kB / 452 MB, free: 12.19 MB / 334.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003952/0.2848, allocations: 213.8 kB / 452.2 MB, free: 12.07 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.2848, allocations: 10.75 kB / 452.2 MB, free: 12.07 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.573e-06/0.2848, allocations: 2.656 kB / 452.2 MB, free: 12.07 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.799e-05/0.2849, allocations: 2.844 kB / 452.2 MB, free: 12.07 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002354/0.2851, allocations: 55.14 kB / 452.2 MB, free: 12.05 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.002e-05/0.2851, allocations: 2.562 kB / 452.2 MB, free: 12.05 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001363/0.2853, allocations: 17.41 kB / 452.3 MB, free: 12.04 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.794e-05/0.2853, allocations: 10.02 kB / 452.3 MB, free: 12.04 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.0001839/0.2855, allocations: 137.1 kB / 452.4 MB, free: 11.91 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.758e-05/0.2855, allocations: 21.58 kB / 452.4 MB, free: 11.89 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004685/0.286, allocations: 229.8 kB / 452.7 MB, free: 11.75 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.286, allocations: 1.375 kB / 452.7 MB, free: 11.75 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.286, allocations: 1.375 kB / 452.7 MB, free: 11.75 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.131e-06/0.286, allocations: 3.938 kB / 452.7 MB, free: 11.75 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000763/0.2868, allocations: 0.5413 MB / 453.2 MB, free: 11.28 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.2868, allocations: 0 / 453.2 MB, free: 11.28 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002358/0.2871, allocations: 58.52 kB / 453.3 MB, free: 11.26 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/0.2871, allocations: 1.375 kB / 453.3 MB, free: 11.26 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.756e-05/0.2871, allocations: 9.312 kB / 453.3 MB, free: 11.25 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.2871, allocations: 1.375 kB / 453.3 MB, free: 11.25 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.2871, allocations: 1.375 kB / 453.3 MB, free: 11.25 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005291/0.2877, allocations: 354.5 kB / 453.6 MB, free: 11.02 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001047/0.2878, allocations: 115.7 kB / 453.7 MB, free: 10.89 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.332e-05/0.2878, allocations: 6.688 kB / 453.7 MB, free: 10.89 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001384/0.288, allocations: 12.11 kB / 453.7 MB, free: 10.88 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.886e-05/0.288, allocations: 10.86 kB / 453.8 MB, free: 10.88 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.547e-05/0.288, allocations: 8.125 kB / 453.8 MB, free: 10.87 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001533/0.2882, allocations: 170.7 kB / 453.9 MB, free: 10.75 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.2882, allocations: 4.062 kB / 453.9 MB, free: 10.74 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000424/0.2886, allocations: 95.14 kB / 454 MB, free: 10.72 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.0009907/0.2896, allocations: 0.9477 MB / 455 MB, free: 9.91 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003623/0.29, allocations: 153.5 kB / 455.1 MB, free: 9.844 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.29, allocations: 0 / 455.1 MB, free: 9.844 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001442/0.2902, allocations: 73.69 kB / 455.2 MB, free: 9.816 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004242/0.2906, allocations: 61.91 kB / 455.3 MB, free: 9.781 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003278/0.2939, allocations: 2.55 MB / 457.8 MB, free: 7.797 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003098/0.2942, allocations: 0.7453 MB / 458.6 MB, free: 7.066 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001397/0.2944, allocations: 27.06 kB / 458.6 MB, free: 7.059 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001248/0.2945, allocations: 68.88 kB / 458.6 MB, free: 7.004 MB / 334.1 MB Notification: Performance of SimCode: time 4.71e-07/0.2945, allocations: 1.125 kB / 458.7 MB, free: 7.004 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5119/0.8064, allocations: 6.22 MB / 464.9 MB, free: 2.863 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.62/13.43, allocations: 8 kB / 464.9 MB, free: 2.855 MB / 334.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenHydraulics_OpenHydraulics_DevelopmentTests_WallFrictionTest_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-08 OpenHydraulics_OpenHydraulics_DevelopmentTests_WallFrictionTest.fmu > OpenHydraulics_OpenHydraulics.DevelopmentTests.WallFrictionTest.pipe 2>&1)