Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.TankTest.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.TankTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.TankTest") translateModel(OpenHydraulics.DevelopmentTests.TankTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.TankTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001266/0.001266, allocations: 106.5 kB / 16.35 MB, free: 5.824 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.001233/0.001233, allocations: 189.4 kB / 17.29 MB, free: 5.48 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.233/1.233, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05633/0.05633, allocations: 11.85 MB / 282.4 MB, free: 216 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.00152/0.00152, allocations: 75.81 kB / 343.3 MB, free: 3.184 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1838/0.1853, allocations: 49.21 MB / 392.5 MB, free: 49.44 MB / 318.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.TankTest): time 0.002617/0.188, allocations: 1.935 MB / 394.4 MB, free: 48.08 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.000785/0.1888, allocations: 0.6087 MB / 395 MB, free: 47.65 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.805e-05/0.1888, allocations: 2.219 kB / 395 MB, free: 47.65 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.72e-05/0.1889, allocations: 12.84 kB / 395 MB, free: 47.64 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002714/0.1892, allocations: 68.73 kB / 395.1 MB, free: 47.6 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.037e-05/0.1893, allocations: 25.7 kB / 395.1 MB, free: 47.59 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001742/0.1895, allocations: 135 kB / 395.3 MB, free: 47.52 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.67e-05/0.1896, allocations: 28.28 kB / 395.3 MB, free: 47.51 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.296e-05/0.1897, allocations: 55.95 kB / 395.3 MB, free: 47.48 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.672e-05/0.1898, allocations: 50.42 kB / 395.4 MB, free: 47.46 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.702e-05/0.1898, allocations: 6.031 kB / 395.4 MB, free: 47.46 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.414e-05/0.1899, allocations: 18.39 kB / 395.4 MB, free: 47.45 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.148e-05/0.1899, allocations: 24.11 kB / 395.4 MB, free: 47.43 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.431e-05/0.1899, allocations: 52.28 kB / 395.5 MB, free: 47.41 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001446/0.1901, allocations: 96.69 kB / 395.6 MB, free: 47.38 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.1901, allocations: 0 / 395.6 MB, free: 47.38 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1901, allocations: 1.062 kB / 395.6 MB, free: 47.38 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.028e-06/0.1901, allocations: 0 / 395.6 MB, free: 47.38 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0003485/0.1905, allocations: 424.1 kB / 396 MB, free: 46.95 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.039e-05/0.1905, allocations: 18.41 kB / 396 MB, free: 46.94 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.902e-05/0.1906, allocations: 14.41 kB / 396 MB, free: 46.93 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001656/0.1907, allocations: 202.8 kB / 396.2 MB, free: 46.71 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.024e-05/0.1907, allocations: 3.188 kB / 396.2 MB, free: 46.71 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.396e-05/0.1908, allocations: 12.59 kB / 396.2 MB, free: 46.71 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001407/0.1909, allocations: 79.56 kB / 396.3 MB, free: 46.66 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.724e-06/0.1909, allocations: 4 kB / 396.3 MB, free: 46.66 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.1909, allocations: 5.062 kB / 396.3 MB, free: 46.65 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.191, allocations: 2.281 kB / 396.3 MB, free: 46.65 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.511e-05/0.1911, allocations: 50.34 kB / 396.4 MB, free: 46.64 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005144/0.1916, allocations: 0.5063 MB / 396.9 MB, free: 46.14 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.84e-05/0.1917, allocations: 38.23 kB / 396.9 MB, free: 46.11 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.828e-05/0.1917, allocations: 17.23 kB / 396.9 MB, free: 46.1 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.109e-05/0.1917, allocations: 0 / 396.9 MB, free: 46.1 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.486e-05/0.1917, allocations: 36.77 kB / 397 MB, free: 46.06 MB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 1.062e-06/0.1917, allocations: 0 / 397 MB, free: 46.06 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0001918/0.1919, allocations: 111.5 kB / 397.1 MB, free: 45.97 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.31e-05/0.192, allocations: 83.53 kB / 397.2 MB, free: 45.87 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001113/0.1921, allocations: 160 kB / 397.3 MB, free: 45.75 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.795e-06/0.1921, allocations: 26.86 kB / 397.3 MB, free: 45.72 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.557e-05/0.1921, allocations: 107.8 kB / 397.5 MB, free: 45.62 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.254e-05/0.1922, allocations: 18.41 kB / 397.5 MB, free: 45.61 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.061e-05/0.1922, allocations: 24.78 kB / 397.5 MB, free: 45.59 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.686e-05/0.1922, allocations: 321.2 kB / 397.8 MB, free: 45.27 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.65e-05/0.1923, allocations: 17.47 kB / 397.8 MB, free: 45.26 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.443e-05/0.1923, allocations: 23.86 kB / 397.8 MB, free: 45.25 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.757e-05/0.1924, allocations: 97.59 kB / 397.9 MB, free: 45.16 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.1924, allocations: 0 / 397.9 MB, free: 45.16 MB / 318.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.00013/0.1925, allocations: 110.2 kB / 398.1 MB, free: 45.08 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/0.1926, allocations: 38.2 kB / 398.1 MB, free: 45.04 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.607e-06/0.1926, allocations: 0 / 398.1 MB, free: 45.04 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.126e-05/0.1926, allocations: 0 / 398.1 MB, free: 45.04 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001012/0.1927, allocations: 12.23 kB / 398.1 MB, free: 45.04 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.1927, allocations: 1.703 kB / 398.1 MB, free: 45.04 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.637e-05/0.1928, allocations: 13.78 kB / 398.1 MB, free: 45.03 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.668e-06/0.1928, allocations: 7.281 kB / 398.1 MB, free: 45.03 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * 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 5.788e-05/0.1929, allocations: 149.2 kB / 398.3 MB, free: 44.87 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.491e-05/0.1929, allocations: 13.44 kB / 398.3 MB, free: 44.86 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001545/0.1931, allocations: 110.3 kB / 398.4 MB, free: 44.77 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.1931, allocations: 1.156 kB / 398.4 MB, free: 44.77 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.1931, allocations: 0 / 398.4 MB, free: 44.77 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.1931, allocations: 0.5625 kB / 398.4 MB, free: 44.77 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002961/0.1934, allocations: 393.3 kB / 398.8 MB, free: 44.39 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.1934, allocations: 5.594 kB / 398.8 MB, free: 44.39 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.138e-05/0.1935, allocations: 7.484 kB / 398.8 MB, free: 44.39 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.1935, allocations: 1.125 kB / 398.8 MB, free: 44.39 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.486e-06/0.1935, allocations: 1.656 kB / 398.8 MB, free: 44.39 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.1935, allocations: 1.156 kB / 398.8 MB, free: 44.39 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.1935, allocations: 4.594 kB / 398.8 MB, free: 44.38 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001264/0.1936, allocations: 207.1 kB / 399 MB, free: 44.19 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.35e-05/0.1937, allocations: 98.53 kB / 399.1 MB, free: 44.08 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.295e-05/0.1937, allocations: 1.75 kB / 399.1 MB, free: 44.08 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.723e-05/0.1938, allocations: 1.094 kB / 399.1 MB, free: 44.08 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.903e-05/0.1938, allocations: 7.453 kB / 399.1 MB, free: 44.08 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.29e-06/0.1939, allocations: 2.344 kB / 399.1 MB, free: 44.08 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.044e-05/0.1939, allocations: 127 kB / 399.2 MB, free: 43.99 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1939, allocations: 0 / 399.2 MB, free: 43.99 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002562/0.1942, allocations: 35.97 kB / 399.3 MB, free: 43.98 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 1 * 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 9.671e-05/0.1943, allocations: 112.7 kB / 399.4 MB, free: 43.88 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001478/0.1945, allocations: 104.2 kB / 399.5 MB, free: 43.8 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.1945, allocations: 4 kB / 399.5 MB, free: 43.79 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 4.465e-05/0.1945, allocations: 74.55 kB / 399.6 MB, free: 43.72 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003091/0.1948, allocations: 35.36 kB / 399.6 MB, free: 43.71 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003561/0.1952, allocations: 245.8 kB / 399.8 MB, free: 43.53 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001069/0.1953, allocations: 0.6958 MB / 400.5 MB, free: 42.83 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 5.576e-05/0.1954, allocations: 13.81 kB / 400.5 MB, free: 42.83 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.861e-05/0.1954, allocations: 15.12 kB / 400.6 MB, free: 42.82 MB / 318.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1954, allocations: 0 / 400.6 MB, free: 42.82 MB / 318.1 MB Notification: Performance of Templates: time 0.003836/0.1993, allocations: 1.678 MB / 402.2 MB, free: 42.24 MB / 318.1 MB make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.TankTest.makefile (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.TankTest.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.TankTest.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.TankTest.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.TankTest.sim & ./OpenHydraulics_OpenHydraulics.DevelopmentTests.TankTest -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.TankTest.pipe 2>&1)