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.0008975/0.0008975, allocations: 98.61 kB / 15.05 MB, free: 1.105 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.0009359/0.000936, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.348/1.348, allocations: 205.4 MB / 222.1 MB, free: 5.508 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05052/0.05052, allocations: 11.86 MB / 282.2 MB, free: 9.355 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.0006132/0.0006132, allocations: 16 kB / 342.9 MB, free: 22.49 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0835/0.08413, allocations: 50.22 MB / 393.1 MB, free: 4.219 MB / 286.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.WallFrictionTest): time 0.003079/0.08726, allocations: 2.504 MB / 395.6 MB, free: 1.699 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001808/0.08909, allocations: 1.42 MB / 397 MB, free: 280 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001243/0.08923, allocations: 4 kB / 397 MB, free: 276 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001281/0.08937, allocations: 35.69 kB / 397.1 MB, free: 240 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003379/0.08972, allocations: 151.5 kB / 397.2 MB, free: 88 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005089/0.09024, allocations: 275.3 kB / 397.5 MB, free: 15.82 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002491/0.0905, allocations: 211.6 kB / 397.7 MB, free: 15.61 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001319/0.09064, allocations: 72.52 kB / 397.8 MB, free: 15.54 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000113/0.09076, allocations: 95.64 kB / 397.9 MB, free: 15.45 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001363/0.09091, allocations: 99.61 kB / 397.9 MB, free: 15.35 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.142e-05/0.09093, allocations: 12 kB / 398 MB, free: 15.34 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002936/0.09123, allocations: 203.7 kB / 398.2 MB, free: 15.14 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.041e-05/0.09128, allocations: 39.83 kB / 398.2 MB, free: 15.1 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.036e-05/0.09134, allocations: 69.58 kB / 398.3 MB, free: 15.02 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003028/0.09165, allocations: 275.6 kB / 398.5 MB, free: 14.75 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.744e-06/0.09166, allocations: 0 / 398.5 MB, free: 14.75 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.09167, allocations: 4 kB / 398.5 MB, free: 14.75 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.823e-06/0.09168, allocations: 0 / 398.5 MB, free: 14.75 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.000611/0.09229, allocations: 0.4988 MB / 399 MB, free: 14.2 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.043e-05/0.09233, allocations: 12.03 kB / 399 MB, free: 14.19 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.606e-05/0.09242, allocations: 23.72 kB / 399.1 MB, free: 14.16 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000232/0.09266, allocations: 242.7 kB / 399.3 MB, free: 13.89 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.644e-05/0.09269, allocations: 16.38 kB / 399.3 MB, free: 13.87 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.223e-05/0.09272, allocations: 20 kB / 399.3 MB, free: 13.85 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003368/0.09307, allocations: 218.6 kB / 399.6 MB, free: 13.62 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.09309, allocations: 0 / 399.6 MB, free: 13.62 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.825e-05/0.09311, allocations: 4 kB / 399.6 MB, free: 13.62 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.604e-05/0.09313, allocations: 15.94 kB / 399.6 MB, free: 13.61 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002486/0.09339, allocations: 152 kB / 399.7 MB, free: 13.46 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001229/0.09462, allocations: 1.118 MB / 400.8 MB, free: 12.2 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002636/0.0949, allocations: 134.6 kB / 401 MB, free: 12.06 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002282/0.09514, allocations: 328.4 kB / 401.3 MB, free: 11.67 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.113e-05/0.09517, allocations: 38.56 kB / 401.3 MB, free: 11.62 MB / 302.1 MB Notification: Performance of pre-optimization done (n=15): time 1.132e-06/0.09518, allocations: 0 / 401.3 MB, free: 11.62 MB / 302.1 MB Notification: Performance of matching and sorting (n=18): time 0.001493/0.09667, allocations: 0.6959 MB / 402 MB, free: 10.88 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.405e-05/0.09672, allocations: 55.31 kB / 402.1 MB, free: 10.81 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001775/0.0969, allocations: 215.2 kB / 402.3 MB, free: 10.59 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.579e-05/0.09694, allocations: 33.64 kB / 402.3 MB, free: 10.55 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.074e-05/0.09701, allocations: 136.3 kB / 402.5 MB, free: 10.41 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.949e-05/0.09706, allocations: 67.09 kB / 402.5 MB, free: 10.34 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.724e-05/0.09708, allocations: 8 kB / 402.5 MB, free: 10.34 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.801e-05/0.09719, allocations: 334.8 kB / 402.9 MB, free: 10 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001266/0.09732, allocations: 65.2 kB / 402.9 MB, free: 9.934 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001558/0.09748, allocations: 106.7 kB / 403 MB, free: 9.809 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001335/0.09763, allocations: 67.73 kB / 403.1 MB, free: 9.746 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.09764, allocations: 8 kB / 403.1 MB, free: 9.738 MB / 302.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003538/0.098, allocations: 213.2 kB / 403.3 MB, free: 9.523 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.09802, allocations: 11.94 kB / 403.3 MB, free: 9.512 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.09803, allocations: 0 / 403.3 MB, free: 9.512 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/0.09805, allocations: 4.156 kB / 403.3 MB, free: 9.508 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002232/0.09828, allocations: 63.89 kB / 403.4 MB, free: 9.445 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.09829, allocations: 4 kB / 403.4 MB, free: 9.441 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001175/0.09841, allocations: 12 kB / 403.4 MB, free: 9.43 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.526e-05/0.09844, allocations: 7.984 kB / 403.4 MB, free: 9.422 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001518/0.09859, allocations: 145.8 kB / 403.6 MB, free: 9.27 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.995e-05/0.09864, allocations: 27.66 kB / 403.6 MB, free: 9.242 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000412/0.09906, allocations: 219.4 kB / 403.8 MB, free: 9.023 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.574e-06/0.09907, allocations: 0 / 403.8 MB, free: 9.023 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.09908, allocations: 0 / 403.8 MB, free: 9.023 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.09909, allocations: 4 kB / 403.8 MB, free: 9.02 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006725/0.09977, allocations: 0.5606 MB / 404.4 MB, free: 8.402 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.09978, allocations: 0 / 404.4 MB, free: 8.402 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002339/0.1, allocations: 63.95 kB / 404.4 MB, free: 8.34 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.1, allocations: 0 / 404.4 MB, free: 8.34 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.21e-05/0.1001, allocations: 4 kB / 404.4 MB, free: 8.336 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.1001, allocations: 0 / 404.4 MB, free: 8.336 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.1001, allocations: 4 kB / 404.4 MB, free: 8.332 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004806/0.1005, allocations: 363 kB / 404.8 MB, free: 7.965 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.9e-05/0.1006, allocations: 124.7 kB / 404.9 MB, free: 7.824 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.526e-05/0.1007, allocations: 7.984 kB / 404.9 MB, free: 7.816 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001529/0.1008, allocations: 19.94 kB / 404.9 MB, free: 7.797 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.99e-05/0.1009, allocations: 19.97 kB / 405 MB, free: 7.777 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.072e-05/0.1009, allocations: 4 kB / 405 MB, free: 7.773 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001218/0.101, allocations: 163.1 kB / 405.1 MB, free: 7.613 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1011, allocations: 4.062 kB / 405.1 MB, free: 7.609 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003366/0.1014, allocations: 91.98 kB / 405.2 MB, free: 7.52 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002105/0.1016, allocations: 163.1 kB / 405.4 MB, free: 7.348 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003119/0.1019, allocations: 156.1 kB / 405.5 MB, free: 7.195 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.1019, allocations: 0 / 405.5 MB, free: 7.195 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001301/0.1021, allocations: 75.91 kB / 405.6 MB, free: 7.121 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000296/0.1024, allocations: 56.64 kB / 405.7 MB, free: 7.066 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008311/0.1032, allocations: 0.6741 MB / 406.3 MB, free: 6.371 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002619/0.1035, allocations: 0.7443 MB / 407.1 MB, free: 5.602 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001055/0.1036, allocations: 38.2 kB / 407.1 MB, free: 5.562 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.269e-05/0.1037, allocations: 23.44 kB / 407.1 MB, free: 5.539 MB / 302.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1037, allocations: 0 / 407.1 MB, free: 5.539 MB / 302.1 MB Notification: Performance of Templates: time 0.005882/0.1096, allocations: 3.463 MB / 410.6 MB, free: 2.109 MB / 302.1 MB make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.WallFrictionTest.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: