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.001053/0.001053, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001138/0.001138, allocations: 192.3 kB / 16.53 MB, free: 6.391 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.209/1.209, allocations: 205.1 MB / 222.4 MB, free: 4.582 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05406/0.05406, allocations: 11.84 MB / 281.6 MB, free: 9.438 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.001451/0.001451, allocations: 76.27 kB / 341.9 MB, free: 21.88 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0668/0.06826, allocations: 49.22 MB / 391.2 MB, free: 4.602 MB / 286.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.WallFrictionTest): time 0.003781/0.07208, allocations: 2.714 MB / 393.9 MB, free: 1.867 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002265/0.07437, allocations: 1.504 MB / 395.4 MB, free: 364 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001797/0.07457, allocations: 4 kB / 395.4 MB, free: 360 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001569/0.07475, allocations: 39.64 kB / 395.4 MB, free: 320 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000382/0.07514, allocations: 107.2 kB / 395.5 MB, free: 212 kB / 286.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.0007672/0.07592, allocations: 322.9 kB / 395.8 MB, free: 15.89 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003597/0.07629, allocations: 310.5 kB / 396.1 MB, free: 15.59 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001752/0.07647, allocations: 81.14 kB / 396.2 MB, free: 15.5 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001523/0.07663, allocations: 99.66 kB / 396.3 MB, free: 15.41 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002003/0.07685, allocations: 135.4 kB / 396.5 MB, free: 15.27 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.633e-05/0.07689, allocations: 20 kB / 396.5 MB, free: 15.25 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003756/0.07727, allocations: 223.6 kB / 396.7 MB, free: 15.04 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.701e-05/0.07734, allocations: 51.83 kB / 396.7 MB, free: 14.98 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001299/0.07747, allocations: 127.4 kB / 396.9 MB, free: 14.86 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000473/0.07795, allocations: 387.1 kB / 397.2 MB, free: 14.48 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.07797, allocations: 4 kB / 397.2 MB, free: 14.48 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.07797, allocations: 0 / 397.2 MB, free: 14.48 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.264e-06/0.07799, allocations: 0 / 397.2 MB, free: 14.48 MB / 302.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.0008236/0.07882, allocations: 0.5378 MB / 397.8 MB, free: 13.89 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.07886, allocations: 15.89 kB / 397.8 MB, free: 13.87 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.453e-05/0.07892, allocations: 50.73 kB / 397.8 MB, free: 13.81 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001087/0.07904, allocations: 28.66 kB / 397.9 MB, free: 13.79 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002588/0.0793, allocations: 243.5 kB / 398.1 MB, free: 13.51 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.498e-05/0.07933, allocations: 12.38 kB / 398.1 MB, free: 13.5 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.32e-05/0.07937, allocations: 20 kB / 398.1 MB, free: 13.48 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003692/0.07974, allocations: 218.7 kB / 398.4 MB, free: 13.25 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.402e-05/0.07977, allocations: 3.938 kB / 398.4 MB, free: 13.25 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.944e-05/0.07979, allocations: 4 kB / 398.4 MB, free: 13.24 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.0798, allocations: 4 kB / 398.4 MB, free: 13.24 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002668/0.08007, allocations: 143.3 kB / 398.5 MB, free: 13.1 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001329/0.08141, allocations: 1.118 MB / 399.6 MB, free: 11.84 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002882/0.08171, allocations: 138.6 kB / 399.8 MB, free: 11.7 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001221/0.08185, allocations: 60.83 kB / 399.8 MB, free: 11.64 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000245/0.0821, allocations: 336.6 kB / 400.2 MB, free: 11.23 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.927e-05/0.08214, allocations: 34.56 kB / 400.2 MB, free: 11.19 MB / 302.1 MB Notification: Performance of pre-optimization done (n=15): time 1.343e-06/0.08214, allocations: 3.938 kB / 400.2 MB, free: 11.19 MB / 302.1 MB Notification: Performance of matching and sorting (n=18): time 0.001625/0.08378, allocations: 0.667 MB / 400.9 MB, free: 10.47 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.021e-05/0.08382, allocations: 55.34 kB / 400.9 MB, free: 10.41 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001983/0.08403, allocations: 227.1 kB / 401.1 MB, free: 10.18 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.981e-05/0.08405, allocations: 29.7 kB / 401.2 MB, free: 10.14 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.201e-05/0.08414, allocations: 140.3 kB / 401.3 MB, free: 10 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.271e-05/0.08419, allocations: 59.11 kB / 401.4 MB, free: 9.941 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.033e-05/0.08426, allocations: 37.7 kB / 401.4 MB, free: 9.898 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001039/0.08437, allocations: 330.8 kB / 401.7 MB, free: 9.566 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001473/0.08452, allocations: 64.77 kB / 401.8 MB, free: 9.5 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001461/0.08467, allocations: 102 kB / 401.9 MB, free: 9.379 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002981/0.08498, allocations: 181.8 kB / 402.1 MB, free: 9.18 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.08499, allocations: 0 / 402.1 MB, free: 9.18 MB / 302.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003944/0.08539, allocations: 205.2 kB / 402.3 MB, free: 8.973 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/0.08541, allocations: 4 kB / 402.3 MB, free: 8.969 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.08543, allocations: 8.156 kB / 402.3 MB, free: 8.961 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.08544, allocations: 0 / 402.3 MB, free: 8.961 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002365/0.08568, allocations: 59.91 kB / 402.3 MB, free: 8.902 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.08e-05/0.08571, allocations: 7.984 kB / 402.3 MB, free: 8.895 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001247/0.08584, allocations: 11.94 kB / 402.3 MB, free: 8.883 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.558e-05/0.08586, allocations: 8.047 kB / 402.4 MB, free: 8.875 MB / 302.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.0001482/0.08601, allocations: 149.7 kB / 402.5 MB, free: 8.719 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.761e-05/0.08607, allocations: 19.81 kB / 402.5 MB, free: 8.699 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004307/0.0865, allocations: 223.1 kB / 402.7 MB, free: 8.48 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.08652, allocations: 0 / 402.7 MB, free: 8.48 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.08653, allocations: 0 / 402.7 MB, free: 8.48 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.08654, allocations: 3.938 kB / 402.7 MB, free: 8.477 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007139/0.08725, allocations: 0.5529 MB / 403.3 MB, free: 7.867 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.08727, allocations: 0 / 403.3 MB, free: 7.867 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002401/0.08751, allocations: 47.97 kB / 403.3 MB, free: 7.82 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.991e-06/0.08753, allocations: 4 kB / 403.3 MB, free: 7.816 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.532e-05/0.08755, allocations: 7.938 kB / 403.4 MB, free: 7.809 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.08756, allocations: 3.984 kB / 403.4 MB, free: 7.805 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.08756, allocations: 3.938 kB / 403.4 MB, free: 7.801 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005133/0.08808, allocations: 355.2 kB / 403.7 MB, free: 7.438 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.852e-05/0.08818, allocations: 112.8 kB / 403.8 MB, free: 7.309 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.949e-05/0.08823, allocations: 8 kB / 403.8 MB, free: 7.301 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001436/0.08838, allocations: 11.98 kB / 403.8 MB, free: 7.289 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.124e-05/0.08842, allocations: 15.98 kB / 403.9 MB, free: 7.273 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.119e-05/0.08844, allocations: 4 kB / 403.9 MB, free: 7.27 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001382/0.08858, allocations: 171.1 kB / 404 MB, free: 7.102 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.08859, allocations: 4.062 kB / 404 MB, free: 7.098 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.00036/0.08896, allocations: 87.94 kB / 404.1 MB, free: 7.012 MB / 302.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.0008626/0.08983, allocations: 0.9495 MB / 405.1 MB, free: 6.035 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003465/0.09018, allocations: 159.8 kB / 405.2 MB, free: 5.879 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.0902, allocations: 4 kB / 405.2 MB, free: 5.875 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001437/0.09035, allocations: 71.91 kB / 405.3 MB, free: 5.805 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003838/0.09074, allocations: 60.88 kB / 405.4 MB, free: 5.746 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002888/0.09364, allocations: 2.562 MB / 407.9 MB, free: 3.074 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002851/0.09393, allocations: 0.744 MB / 408.7 MB, free: 2.301 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001148/0.09406, allocations: 26.28 kB / 408.7 MB, free: 2.277 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.95e-05/0.09416, allocations: 71.41 kB / 408.8 MB, free: 2.207 MB / 302.1 MB Notification: Performance of SimCode: time 2.9e-07/0.09417, allocations: 4 kB / 408.8 MB, free: 2.203 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02304/0.1172, allocations: 6.051 MB / 414.8 MB, free: 12.15 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.507/8.624, allocations: 4.641 kB / 414.8 MB, free: 12.14 MB / 318.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)