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.001248/0.001249, allocations: 108.4 kB / 16.37 MB, free: 5.516 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.001019/0.001019, allocations: 193.3 kB / 17.31 MB, free: 5.16 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.235/1.235, allocations: 205.1 MB / 223.2 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05593/0.05593, allocations: 11.84 MB / 282.4 MB, free: 244 kB / 222.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.001524/0.001524, allocations: 67.89 kB / 343.3 MB, free: 3.203 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.186/0.1875, allocations: 49.21 MB / 392.5 MB, free: 49.4 MB / 318.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.WallFrictionTest): time 0.003501/0.1911, allocations: 2.717 MB / 395.2 MB, free: 47.5 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001866/0.193, allocations: 1.498 MB / 396.7 MB, free: 46.43 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000113/0.1931, allocations: 2.594 kB / 396.7 MB, free: 46.43 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000134/0.1932, allocations: 28.38 kB / 396.7 MB, free: 46.41 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002803/0.1935, allocations: 114.9 kB / 396.8 MB, free: 46.34 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.0005948/0.1941, allocations: 331 kB / 397.2 MB, free: 46.2 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002848/0.1944, allocations: 314.1 kB / 397.5 MB, free: 46.04 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001597/0.1946, allocations: 82.55 kB / 397.6 MB, free: 46 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001273/0.1947, allocations: 110.5 kB / 397.7 MB, free: 45.95 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001648/0.1949, allocations: 130 kB / 397.8 MB, free: 45.88 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.074e-05/0.1949, allocations: 19.16 kB / 397.8 MB, free: 45.88 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000336/0.1953, allocations: 212.9 kB / 398 MB, free: 45.82 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.968e-05/0.1953, allocations: 52.69 kB / 398.1 MB, free: 45.79 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001141/0.1955, allocations: 127.5 kB / 398.2 MB, free: 45.72 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004194/0.1959, allocations: 386 kB / 398.6 MB, free: 45.58 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.1959, allocations: 1.344 kB / 398.6 MB, free: 45.58 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1959, allocations: 4.516 kB / 398.6 MB, free: 45.57 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.238e-06/0.1959, allocations: 0 / 398.6 MB, free: 45.57 MB / 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.0006175/0.1965, allocations: 0.5399 MB / 399.1 MB, free: 45.09 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.865e-05/0.1966, allocations: 14.42 kB / 399.1 MB, free: 45.09 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001023/0.1967, allocations: 27.58 kB / 399.2 MB, free: 45.07 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000218/0.1969, allocations: 252.5 kB / 399.4 MB, free: 44.83 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.537e-05/0.1969, allocations: 15.5 kB / 399.4 MB, free: 44.82 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.503e-05/0.197, allocations: 19.66 kB / 399.4 MB, free: 44.81 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003484/0.1973, allocations: 214.1 kB / 399.6 MB, free: 44.7 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.1974, allocations: 1.406 kB / 399.6 MB, free: 44.7 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.887e-05/0.1974, allocations: 5.25 kB / 399.7 MB, free: 44.7 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.423e-06/0.1974, allocations: 4.938 kB / 399.7 MB, free: 44.7 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002599/0.1977, allocations: 150.1 kB / 399.8 MB, free: 44.63 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001054/0.1987, allocations: 1.116 MB / 400.9 MB, free: 43.53 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002704/0.199, allocations: 133.8 kB / 401.1 MB, free: 43.45 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001089/0.1991, allocations: 61.73 kB / 401.1 MB, free: 43.42 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001588/0.1993, allocations: 334.7 kB / 401.4 MB, free: 43.03 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.756e-05/0.1993, allocations: 40.69 kB / 401.5 MB, free: 42.98 MB / 318.1 MB Notification: Performance of pre-optimization done (n=15): time 1.323e-06/0.1993, allocations: 0 / 401.5 MB, free: 42.98 MB / 318.1 MB Notification: Performance of matching and sorting (n=18): time 0.001478/0.2008, allocations: 0.6601 MB / 402.1 MB, free: 42.51 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.823e-05/0.2008, allocations: 57.83 kB / 402.2 MB, free: 42.44 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001622/0.201, allocations: 217.8 kB / 402.4 MB, free: 42.28 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.336e-05/0.201, allocations: 30.86 kB / 402.4 MB, free: 42.25 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.191e-05/0.2011, allocations: 138.4 kB / 402.6 MB, free: 42.12 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.048e-05/0.2011, allocations: 61.75 kB / 402.6 MB, free: 42.06 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.638e-05/0.2012, allocations: 40.11 kB / 402.7 MB, free: 42.03 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.931e-05/0.2012, allocations: 330.8 kB / 403 MB, free: 41.7 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001305/0.2014, allocations: 66.95 kB / 403.1 MB, free: 41.66 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000129/0.2015, allocations: 111.8 kB / 403.2 MB, free: 41.57 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002608/0.2018, allocations: 171 kB / 403.3 MB, free: 41.45 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.2018, allocations: 0 / 403.3 MB, free: 41.45 MB / 318.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003535/0.2021, allocations: 214 kB / 403.5 MB, free: 41.33 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.2022, allocations: 6.062 kB / 403.6 MB, free: 41.33 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.658e-06/0.2022, allocations: 5.531 kB / 403.6 MB, free: 41.32 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.2022, allocations: 2.062 kB / 403.6 MB, free: 41.32 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002456/0.2024, allocations: 56.53 kB / 403.6 MB, free: 41.31 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.2025, allocations: 6.109 kB / 403.6 MB, free: 41.31 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001213/0.2026, allocations: 9.594 kB / 403.6 MB, free: 41.3 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.739e-05/0.2026, allocations: 10.22 kB / 403.6 MB, free: 41.3 MB / 318.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.0001097/0.2027, allocations: 146.1 kB / 403.8 MB, free: 41.16 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.659e-05/0.2028, allocations: 17.72 kB / 403.8 MB, free: 41.15 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004049/0.2032, allocations: 224.3 kB / 404 MB, free: 41.02 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.2032, allocations: 2.219 kB / 404 MB, free: 41.02 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.2032, allocations: 0 / 404 MB, free: 41.02 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.2032, allocations: 0 / 404 MB, free: 41.02 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006095/0.2038, allocations: 0.5494 MB / 404.6 MB, free: 40.54 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.2038, allocations: 1.531 kB / 404.6 MB, free: 40.54 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002539/0.2041, allocations: 62.16 kB / 404.6 MB, free: 40.52 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.2041, allocations: 1.094 kB / 404.6 MB, free: 40.52 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.455e-05/0.2041, allocations: 5.078 kB / 404.6 MB, free: 40.52 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.2041, allocations: 4.938 kB / 404.6 MB, free: 40.52 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.2041, allocations: 0.9688 kB / 404.6 MB, free: 40.52 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004538/0.2046, allocations: 343.7 kB / 405 MB, free: 40.29 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.33e-05/0.2047, allocations: 123.6 kB / 405.1 MB, free: 40.15 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.576e-05/0.2047, allocations: 6.156 kB / 405.1 MB, free: 40.15 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001505/0.2049, allocations: 13.3 kB / 405.1 MB, free: 40.14 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.904e-05/0.2049, allocations: 9.453 kB / 405.1 MB, free: 40.14 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.367e-05/0.205, allocations: 8.641 kB / 405.1 MB, free: 40.13 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001121/0.2051, allocations: 166.6 kB / 405.3 MB, free: 40.01 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2051, allocations: 1.156 kB / 405.3 MB, free: 40.01 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003465/0.2054, allocations: 95.19 kB / 405.4 MB, free: 39.99 MB / 318.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.0001891/0.2056, allocations: 174 kB / 405.6 MB, free: 39.85 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003208/0.206, allocations: 148 kB / 405.7 MB, free: 39.79 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.206, allocations: 0 / 405.7 MB, free: 39.79 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001314/0.2061, allocations: 79.53 kB / 405.8 MB, free: 39.76 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003833/0.2065, allocations: 57.89 kB / 405.8 MB, free: 39.73 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007904/0.2073, allocations: 0.5413 MB / 406.4 MB, free: 39.35 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001441/0.2075, allocations: 0.749 MB / 407.1 MB, free: 38.61 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001012/0.2076, allocations: 34.27 kB / 407.2 MB, free: 38.6 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.469e-05/0.2076, allocations: 21.44 kB / 407.2 MB, free: 38.59 MB / 318.1 MB Notification: Performance of SimCode: time 2.51e-07/0.2076, allocations: 0 / 407.2 MB, free: 38.59 MB / 318.1 MB Notification: Performance of Templates: time 0.006228/0.2139, allocations: 3.768 MB / 411 MB, free: 36.05 MB / 318.1 MB make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.WallFrictionTest.makefile (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 -s gbode -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.WallFrictionTest.pipe 2>&1)