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.000799/0.0007991, allocations: 98.19 kB / 15.36 MB, free: 0.7344 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.0045/0.0045, allocations: 173.7 kB / 16.27 MB, free: 6.648 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.119/1.119, allocations: 205.4 MB / 222.4 MB, free: 5.801 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.04851/0.04851, allocations: 11.86 MB / 282.6 MB, free: 9.605 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.0004985/0.0004985, allocations: 12.22 kB / 343.6 MB, free: 22.05 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06311/0.06361, allocations: 50.22 MB / 393.8 MB, free: 3.785 MB / 286.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.WallFrictionTest): time 0.002591/0.06621, allocations: 2.806 MB / 396.7 MB, free: 0.9609 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001904/0.06813, allocations: 1.544 MB / 398.2 MB, free: 15.41 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001332/0.06828, allocations: 4 kB / 398.2 MB, free: 15.41 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000105/0.06839, allocations: 27.72 kB / 398.2 MB, free: 15.38 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002724/0.06867, allocations: 107.3 kB / 398.3 MB, free: 15.27 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005208/0.0692, allocations: 275.2 kB / 398.6 MB, free: 15 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002951/0.0695, allocations: 322.4 kB / 398.9 MB, free: 14.69 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001333/0.06964, allocations: 67.25 kB / 399 MB, free: 14.62 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001298/0.06978, allocations: 95.58 kB / 399.1 MB, free: 14.53 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001616/0.06995, allocations: 119.4 kB / 399.2 MB, free: 14.41 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.357e-05/0.06998, allocations: 12 kB / 399.2 MB, free: 14.4 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002873/0.07028, allocations: 207.6 kB / 399.4 MB, free: 14.2 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.858e-05/0.07033, allocations: 39.78 kB / 399.4 MB, free: 14.16 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001061/0.07045, allocations: 133.2 kB / 399.6 MB, free: 14.02 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003657/0.07082, allocations: 379.1 kB / 399.9 MB, free: 13.65 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.733e-06/0.07083, allocations: 7.938 kB / 400 MB, free: 13.64 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.21e-07/0.07084, allocations: 0 / 400 MB, free: 13.64 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.458e-06/0.07085, allocations: 0 / 400 MB, free: 13.64 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.0005826/0.07143, allocations: 0.4989 MB / 400.5 MB, free: 13.09 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.2e-05/0.07147, allocations: 12.03 kB / 400.5 MB, free: 13.08 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.896e-05/0.07153, allocations: 50.67 kB / 400.5 MB, free: 13.02 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.747e-05/0.07162, allocations: 40.64 kB / 400.6 MB, free: 12.98 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002165/0.07184, allocations: 239.5 kB / 400.8 MB, free: 12.71 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.363e-05/0.07187, allocations: 16.38 kB / 400.8 MB, free: 12.7 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.322e-05/0.0719, allocations: 20 kB / 400.8 MB, free: 12.68 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003307/0.07224, allocations: 210.7 kB / 401 MB, free: 12.46 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.07226, allocations: 3.984 kB / 401 MB, free: 12.45 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.934e-05/0.07228, allocations: 8 kB / 401 MB, free: 12.45 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.0723, allocations: 4 kB / 401 MB, free: 12.44 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002508/0.07255, allocations: 151.2 kB / 401.2 MB, free: 12.3 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00115/0.07371, allocations: 1.122 MB / 402.3 MB, free: 11.04 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002612/0.07398, allocations: 142.5 kB / 402.5 MB, free: 10.89 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001091/0.0741, allocations: 60.84 kB / 402.5 MB, free: 10.82 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002113/0.07432, allocations: 336.6 kB / 402.8 MB, free: 10.42 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.228e-05/0.07435, allocations: 30.56 kB / 402.9 MB, free: 10.38 MB / 302.1 MB Notification: Performance of pre-optimization done (n=15): time 1.122e-06/0.07436, allocations: 4 kB / 402.9 MB, free: 10.38 MB / 302.1 MB Notification: Performance of matching and sorting (n=18): time 0.001498/0.07586, allocations: 0.7002 MB / 403.6 MB, free: 9.625 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.695e-05/0.0759, allocations: 55.41 kB / 403.6 MB, free: 9.559 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001751/0.07608, allocations: 215.2 kB / 403.8 MB, free: 9.34 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.76e-05/0.07611, allocations: 29.64 kB / 403.9 MB, free: 9.305 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.381e-05/0.07619, allocations: 144.3 kB / 404 MB, free: 9.156 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.719e-05/0.07623, allocations: 55.11 kB / 404.1 MB, free: 9.102 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.263e-05/0.07627, allocations: 29.7 kB / 404.1 MB, free: 9.066 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.896e-05/0.07637, allocations: 326.8 kB / 404.4 MB, free: 8.738 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001359/0.07651, allocations: 76.69 kB / 404.5 MB, free: 8.66 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001375/0.07665, allocations: 106 kB / 404.6 MB, free: 8.535 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002722/0.07693, allocations: 181.7 kB / 404.8 MB, free: 8.34 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.07694, allocations: 7.938 kB / 404.8 MB, free: 8.332 MB / 302.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003551/0.0773, allocations: 213.2 kB / 405 MB, free: 8.117 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.07732, allocations: 8 kB / 405 MB, free: 8.109 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.07733, allocations: 3.984 kB / 405 MB, free: 8.105 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/0.07735, allocations: 8.156 kB / 405 MB, free: 8.098 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002095/0.07756, allocations: 55.97 kB / 405.1 MB, free: 8.043 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.215e-06/0.07758, allocations: 7.938 kB / 405.1 MB, free: 8.035 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001125/0.0777, allocations: 11.98 kB / 405.1 MB, free: 8.023 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.544e-05/0.07772, allocations: 11.94 kB / 405.1 MB, free: 8.012 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.0001306/0.07786, allocations: 141.7 kB / 405.2 MB, free: 7.863 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.028e-05/0.0779, allocations: 19.81 kB / 405.2 MB, free: 7.844 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004007/0.07831, allocations: 219.4 kB / 405.5 MB, free: 7.625 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.07832, allocations: 0 / 405.5 MB, free: 7.625 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.07833, allocations: 7.938 kB / 405.5 MB, free: 7.617 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.07834, allocations: 8.031 kB / 405.5 MB, free: 7.609 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006534/0.079, allocations: 0.5645 MB / 406 MB, free: 6.988 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.07901, allocations: 0 / 406 MB, free: 6.988 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002161/0.07923, allocations: 51.97 kB / 406.1 MB, free: 6.938 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.07925, allocations: 4 kB / 406.1 MB, free: 6.934 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.852e-05/0.07927, allocations: 8 kB / 406.1 MB, free: 6.926 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.07928, allocations: 3.938 kB / 406.1 MB, free: 6.922 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.07928, allocations: 0 / 406.1 MB, free: 6.922 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004782/0.07976, allocations: 374.6 kB / 406.5 MB, free: 6.543 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.743e-05/0.07986, allocations: 112.8 kB / 406.6 MB, free: 6.414 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.151e-05/0.0799, allocations: 7.938 kB / 406.6 MB, free: 6.406 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000139/0.08004, allocations: 15.98 kB / 406.6 MB, free: 6.391 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.652e-05/0.08009, allocations: 11.98 kB / 406.6 MB, free: 6.379 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.124e-05/0.0801, allocations: 4 kB / 406.6 MB, free: 6.375 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000126/0.08023, allocations: 179.1 kB / 406.8 MB, free: 6.199 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.08024, allocations: 0 / 406.8 MB, free: 6.199 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003107/0.08055, allocations: 91.94 kB / 406.9 MB, free: 6.109 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.000777/0.08134, allocations: 0.9619 MB / 407.8 MB, free: 5.117 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002975/0.08165, allocations: 151.8 kB / 408 MB, free: 4.969 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.08166, allocations: 4.375 kB / 408 MB, free: 4.965 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001321/0.08179, allocations: 83.84 kB / 408.1 MB, free: 4.883 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003593/0.08216, allocations: 48.64 kB / 408.1 MB, free: 4.836 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002655/0.08483, allocations: 2.712 MB / 410.8 MB, free: 2.02 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002409/0.08508, allocations: 0.7479 MB / 411.6 MB, free: 1.246 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001124/0.0852, allocations: 30.28 kB / 411.6 MB, free: 1.215 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.802e-05/0.0853, allocations: 71.41 kB / 411.7 MB, free: 1.145 MB / 302.1 MB Notification: Performance of SimCode: time 4.81e-07/0.08531, allocations: 0 / 411.7 MB, free: 1.145 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.434/1.52, allocations: 5.698 MB / 417.4 MB, free: 11.5 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001943/1.52, allocations: 203.8 kB / 417.6 MB, free: 11.23 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.585/3.105, allocations: 0 / 417.6 MB, free: 11.23 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)