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.007849/0.007849, allocations: 100.5 kB / 15.73 MB, free: 6.023 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.001621/0.001621, allocations: 192.9 kB / 16.67 MB, free: 5.957 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.296/1.296, allocations: 205.1 MB / 222.6 MB, free: 4.543 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05292/0.05292, allocations: 11.84 MB / 281.7 MB, free: 9.367 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.001479/0.001479, allocations: 71.89 kB / 391.8 MB, free: 3.988 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2482/0.2497, allocations: 49.22 MB / 441.1 MB, free: 4.156 MB / 318.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.WallFrictionTest): time 0.004288/0.2541, allocations: 2.72 MB / 443.8 MB, free: 2.254 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002286/0.2564, allocations: 1.499 MB / 445.3 MB, free: 1.18 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002563/0.2567, allocations: 3.906 kB / 445.3 MB, free: 1.18 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001896/0.2569, allocations: 36.27 kB / 445.3 MB, free: 1.156 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004621/0.2573, allocations: 114.3 kB / 445.4 MB, free: 1.078 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.0009968/0.2584, allocations: 330.6 kB / 445.8 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004732/0.2588, allocations: 313.1 kB / 446.1 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002065/0.2591, allocations: 79.69 kB / 446.1 MB, free: 0.7422 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002458/0.2593, allocations: 107.1 kB / 446.2 MB, free: 0.6953 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002785/0.2596, allocations: 133.6 kB / 446.4 MB, free: 0.6289 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.75e-05/0.2597, allocations: 20.25 kB / 446.4 MB, free: 0.6289 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005134/0.2602, allocations: 219.1 kB / 446.6 MB, free: 0.5625 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.74e-05/0.2603, allocations: 44.45 kB / 446.7 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001461/0.2604, allocations: 131.8 kB / 446.8 MB, free: 472 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006294/0.261, allocations: 382.5 kB / 447.2 MB, free: 328 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.2611, allocations: 4 kB / 447.2 MB, free: 324 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.2611, allocations: 3.938 kB / 447.2 MB, free: 320 kB / 318.1 MB Notification: Performance of Transformations before backend: time 7.154e-06/0.2611, allocations: 1.125 kB / 447.2 MB, free: 320 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.0008789/0.262, allocations: 0.536 MB / 447.7 MB, free: 15.83 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.615e-05/0.262, allocations: 13.48 kB / 447.7 MB, free: 15.83 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.061e-05/0.2621, allocations: 53.58 kB / 447.8 MB, free: 15.78 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001175/0.2622, allocations: 27.78 kB / 447.8 MB, free: 15.77 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003055/0.2625, allocations: 256.2 kB / 448 MB, free: 15.52 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.185e-05/0.2626, allocations: 16.19 kB / 448.1 MB, free: 15.51 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.427e-05/0.2626, allocations: 20.19 kB / 448.1 MB, free: 15.5 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004077/0.263, allocations: 213.6 kB / 448.3 MB, free: 15.39 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.343e-05/0.263, allocations: 1.062 kB / 448.3 MB, free: 15.39 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.339e-05/0.2631, allocations: 9.375 kB / 448.3 MB, free: 15.38 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.183e-05/0.2631, allocations: 5.531 kB / 448.3 MB, free: 15.38 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002961/0.2634, allocations: 149.2 kB / 448.5 MB, free: 15.33 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001373/0.2648, allocations: 1.108 MB / 449.6 MB, free: 14.27 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002757/0.2651, allocations: 137.4 kB / 449.7 MB, free: 14.2 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001053/0.2652, allocations: 58.38 kB / 449.7 MB, free: 14.16 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002368/0.2654, allocations: 329.7 kB / 450.1 MB, free: 13.78 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.505e-05/0.2655, allocations: 43.73 kB / 450.1 MB, free: 13.73 MB / 334.1 MB Notification: Performance of pre-optimization done (n=15): time 1.352e-06/0.2655, allocations: 0 / 450.1 MB, free: 13.73 MB / 334.1 MB Notification: Performance of matching and sorting (n=18): time 0.001641/0.2671, allocations: 0.6576 MB / 450.8 MB, free: 13.26 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.77e-05/0.2672, allocations: 53.38 kB / 450.8 MB, free: 13.2 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000207/0.2674, allocations: 218.5 kB / 451 MB, free: 13.04 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.805e-05/0.2674, allocations: 31.05 kB / 451.1 MB, free: 13 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.458e-05/0.2675, allocations: 133.5 kB / 451.2 MB, free: 12.88 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.516e-05/0.2676, allocations: 78.77 kB / 451.3 MB, free: 12.8 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.705e-05/0.2676, allocations: 39.08 kB / 451.3 MB, free: 12.77 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001126/0.2678, allocations: 326.5 kB / 451.6 MB, free: 12.45 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001429/0.2679, allocations: 70.66 kB / 451.7 MB, free: 12.41 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001441/0.2681, allocations: 101.2 kB / 451.8 MB, free: 12.32 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002741/0.2683, allocations: 167.2 kB / 452 MB, free: 12.2 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.2684, allocations: 4 kB / 452 MB, free: 12.2 MB / 334.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000362/0.2687, allocations: 209.9 kB / 452.2 MB, free: 12.08 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.2687, allocations: 5.5 kB / 452.2 MB, free: 12.08 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.231e-06/0.2688, allocations: 1.375 kB / 452.2 MB, free: 12.08 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.2688, allocations: 2.75 kB / 452.2 MB, free: 12.08 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002381/0.269, allocations: 63.89 kB / 452.2 MB, free: 12.06 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.181e-06/0.269, allocations: 6.906 kB / 452.3 MB, free: 12.06 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001228/0.2692, allocations: 13.42 kB / 452.3 MB, free: 12.05 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.617e-05/0.2692, allocations: 9.5 kB / 452.3 MB, free: 12.05 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.0001519/0.2694, allocations: 134.2 kB / 452.4 MB, free: 11.92 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.981e-05/0.2694, allocations: 25.33 kB / 452.4 MB, free: 11.9 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004398/0.2699, allocations: 220.8 kB / 452.6 MB, free: 11.77 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.2699, allocations: 2.75 kB / 452.6 MB, free: 11.77 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.2699, allocations: 0 / 452.6 MB, free: 11.77 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.565e-06/0.2699, allocations: 9.297 kB / 452.7 MB, free: 11.76 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007281/0.2706, allocations: 0.5445 MB / 453.2 MB, free: 11.29 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.2706, allocations: 1.406 kB / 453.2 MB, free: 11.29 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002427/0.2709, allocations: 49.59 kB / 453.3 MB, free: 11.28 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.077e-06/0.2709, allocations: 1.812 kB / 453.3 MB, free: 11.28 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.961e-05/0.2709, allocations: 16.97 kB / 453.3 MB, free: 11.26 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.2709, allocations: 0.9375 kB / 453.3 MB, free: 11.26 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.2709, allocations: 0.9375 kB / 453.3 MB, free: 11.26 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005178/0.2715, allocations: 354.7 kB / 453.6 MB, free: 11.02 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.26e-05/0.2716, allocations: 108.9 kB / 453.7 MB, free: 10.91 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.662e-05/0.2716, allocations: 13.08 kB / 453.7 MB, free: 10.89 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001421/0.2718, allocations: 13.59 kB / 453.7 MB, free: 10.89 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.871e-05/0.2718, allocations: 13.95 kB / 453.8 MB, free: 10.88 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.392e-05/0.2718, allocations: 8.547 kB / 453.8 MB, free: 10.88 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001486/0.272, allocations: 167.3 kB / 453.9 MB, free: 10.75 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.272, allocations: 0 / 453.9 MB, free: 10.75 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004078/0.2724, allocations: 98.48 kB / 454 MB, free: 10.73 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.0009137/0.2733, allocations: 0.952 MB / 455 MB, free: 9.914 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003319/0.2737, allocations: 144.9 kB / 455.1 MB, free: 9.855 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.2737, allocations: 0 / 455.1 MB, free: 9.855 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001525/0.2739, allocations: 81.77 kB / 455.2 MB, free: 9.82 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004251/0.2743, allocations: 62.22 kB / 455.3 MB, free: 9.785 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003201/0.2775, allocations: 2.538 MB / 457.8 MB, free: 7.809 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003137/0.2778, allocations: 0.7495 MB / 458.6 MB, free: 7.074 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001332/0.278, allocations: 34.89 kB / 458.6 MB, free: 7.059 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001127/0.2781, allocations: 70.09 kB / 458.7 MB, free: 7.004 MB / 334.1 MB Notification: Performance of SimCode: time 4.51e-07/0.2781, allocations: 0 / 458.7 MB, free: 7.004 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02651/0.3046, allocations: 6.211 MB / 464.9 MB, free: 2.883 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.74/8.045, allocations: 3.938 kB / 464.9 MB, free: 2.879 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)