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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.004452/0.004452, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.006198/0.006198, allocations: 169.9 kB / 22.45 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.605/1.605, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics main/package.mo): time 0.06298/0.06298, allocations: 8.692 MB / 267.9 MB, free: 4.758 MB / 250.7 MB " [Timeout remaining time 180] Using package OpenHydraulics with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(OpenHydraulics.DevelopmentTests.TankTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.TankTest") translateModel(OpenHydraulics.DevelopmentTests.TankTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.TankTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 395.4 MB, free: 0.7383 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.404e-05/2.528e-05, allocations: 6.219 kB / 395.4 MB, free: 0.7305 MB / 314.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.TankTest): time 0.003424/0.00345, allocations: 1.878 MB / 397.3 MB, free: 14.83 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001133/0.004583, allocations: 0.5648 MB / 397.9 MB, free: 14.27 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.08e-05/0.004664, allocations: 4 kB / 397.9 MB, free: 14.26 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 5.546e-05/0.004719, allocations: 11.86 kB / 397.9 MB, free: 14.25 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003247/0.005044, allocations: 75.41 kB / 398 MB, free: 14.18 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.017e-05/0.005134, allocations: 23.97 kB / 398 MB, free: 14.15 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002521/0.005386, allocations: 147.1 kB / 398.1 MB, free: 14.01 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001035/0.005489, allocations: 15.98 kB / 398.2 MB, free: 13.99 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001981/0.005688, allocations: 75.8 kB / 398.2 MB, free: 13.92 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003269/0.006014, allocations: 35.91 kB / 398.3 MB, free: 13.88 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.186e-05/0.006036, allocations: 8 kB / 398.3 MB, free: 13.88 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.131e-05/0.006108, allocations: 16 kB / 398.3 MB, free: 13.86 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 2.949e-05/0.006137, allocations: 19.84 kB / 398.3 MB, free: 13.84 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 7.274e-05/0.00621, allocations: 39.92 kB / 398.3 MB, free: 13.8 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002069/0.006417, allocations: 99.66 kB / 398.4 MB, free: 13.7 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.00642, allocations: 4 kB / 398.4 MB, free: 13.7 MB / 330.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.006421, allocations: 0 / 398.4 MB, free: 13.7 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.947e-06/0.006425, allocations: 0 / 398.4 MB, free: 13.7 MB / 330.7 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.0005534/0.006978, allocations: 351.5 kB / 398.8 MB, free: 13.32 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.349e-05/0.007012, allocations: 8.031 kB / 398.8 MB, free: 13.31 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.356e-05/0.007065, allocations: 12.89 kB / 398.8 MB, free: 13.3 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002469/0.007312, allocations: 144.4 kB / 399 MB, free: 13.14 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.968e-05/0.007332, allocations: 8.375 kB / 399 MB, free: 13.13 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.575e-05/0.007347, allocations: 4.375 kB / 399 MB, free: 13.12 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002195/0.007567, allocations: 115.8 kB / 399.1 MB, free: 13 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.557e-05/0.007583, allocations: 7.938 kB / 399.1 MB, free: 12.99 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.007593, allocations: 0 / 399.1 MB, free: 12.99 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.702e-06/0.0076, allocations: 3.984 kB / 399.1 MB, free: 12.99 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001444/0.007745, allocations: 85.61 kB / 399.2 MB, free: 12.9 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000624/0.008369, allocations: 296.3 kB / 399.5 MB, free: 12.58 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001223/0.008491, allocations: 72.2 kB / 399.5 MB, free: 12.49 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.069e-05/0.008552, allocations: 46.67 kB / 399.6 MB, free: 12.44 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.245e-05/0.008564, allocations: 0 / 399.6 MB, free: 12.44 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.863e-05/0.008603, allocations: 34.56 kB / 399.6 MB, free: 12.39 MB / 330.7 MB Notification: Performance of pre-optimization done (n=5): time 8.42e-07/0.008604, allocations: 0 / 399.6 MB, free: 12.39 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003048/0.008908, allocations: 158.8 kB / 399.8 MB, free: 12.21 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.441e-05/0.008983, allocations: 81.11 kB / 399.8 MB, free: 12.12 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001681/0.009151, allocations: 157.6 kB / 400 MB, free: 11.95 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.377e-05/0.009175, allocations: 29.64 kB / 400 MB, free: 11.92 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.915e-05/0.009274, allocations: 111.9 kB / 400.1 MB, free: 11.8 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.686e-05/0.009291, allocations: 11.91 kB / 400.2 MB, free: 11.79 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.216e-05/0.009343, allocations: 25.7 kB / 400.2 MB, free: 11.76 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001664/0.009509, allocations: 314.8 kB / 400.5 MB, free: 11.45 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.281e-05/0.009572, allocations: 45.69 kB / 400.5 MB, free: 11.39 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.752e-05/0.009629, allocations: 45.69 kB / 400.6 MB, free: 11.34 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001271/0.009757, allocations: 100.4 kB / 400.7 MB, free: 11.23 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.009758, allocations: 0 / 400.7 MB, free: 11.23 MB / 330.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001948/0.009953, allocations: 137.3 kB / 400.8 MB, free: 11.08 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.909e-05/0.009992, allocations: 29.7 kB / 400.8 MB, free: 11.04 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.01, allocations: 4 kB / 400.8 MB, free: 11.04 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.01001, allocations: 0 / 400.8 MB, free: 11.04 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001174/0.01013, allocations: 23.92 kB / 400.9 MB, free: 11.02 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.156e-06/0.01014, allocations: 3.938 kB / 400.9 MB, free: 11.01 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.369e-05/0.0102, allocations: 11.89 kB / 400.9 MB, free: 11 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.015e-06/0.01021, allocations: 0 / 400.9 MB, free: 11 MB / 330.7 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 0.0001306/0.01034, allocations: 143.5 kB / 401 MB, free: 10.84 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.35e-05/0.01037, allocations: 11.95 kB / 401 MB, free: 10.83 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002297/0.0106, allocations: 137.5 kB / 401.2 MB, free: 10.68 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.01061, allocations: 0 / 401.2 MB, free: 10.68 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.01061, allocations: 7.875 kB / 401.2 MB, free: 10.67 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.01061, allocations: 0 / 401.2 MB, free: 10.67 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004528/0.01107, allocations: 350.5 kB / 401.5 MB, free: 10.28 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.083e-06/0.01107, allocations: 0 / 401.5 MB, free: 10.28 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.349e-05/0.01113, allocations: 15.92 kB / 401.5 MB, free: 10.26 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.01113, allocations: 0 / 401.5 MB, free: 10.26 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.838e-06/0.01114, allocations: 3.938 kB / 401.5 MB, free: 10.26 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.01115, allocations: 4.031 kB / 401.5 MB, free: 10.25 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.01115, allocations: 4 kB / 401.5 MB, free: 10.25 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002355/0.01138, allocations: 223.8 kB / 401.8 MB, free: 10 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.549e-05/0.01143, allocations: 15.94 kB / 401.8 MB, free: 9.984 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.222e-05/0.01145, allocations: 3.938 kB / 401.8 MB, free: 9.98 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.796e-05/0.01153, allocations: 8 kB / 401.8 MB, free: 9.973 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.823e-05/0.01156, allocations: 3.984 kB / 401.8 MB, free: 9.969 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.612e-06/0.01157, allocations: 4.188 kB / 401.8 MB, free: 9.965 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001054/0.01167, allocations: 116.4 kB / 401.9 MB, free: 9.852 MB / 330.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01167, allocations: 3.938 kB / 401.9 MB, free: 9.848 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002594/0.01193, allocations: 31.94 kB / 401.9 MB, free: 9.816 MB / 330.7 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 0.0001899/0.01212, allocations: 103.2 kB / 402 MB, free: 9.707 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002288/0.01235, allocations: 158.8 kB / 402.2 MB, free: 9.527 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.01235, allocations: 3.938 kB / 402.2 MB, free: 9.523 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 9.767e-05/0.01245, allocations: 97.05 kB / 402.3 MB, free: 9.41 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002953/0.01274, allocations: 22.48 kB / 402.3 MB, free: 9.391 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005244/0.01327, allocations: 255.6 kB / 402.6 MB, free: 9.105 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.557e-05/0.01336, allocations: 80.31 kB / 402.6 MB, free: 9.008 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 6.674e-05/0.01343, allocations: 16.7 kB / 402.7 MB, free: 8.988 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.223e-05/0.01346, allocations: 16.5 kB / 402.7 MB, free: 8.973 MB / 330.7 MB Notification: Performance of SimCode: time 4.41e-07/0.01346, allocations: 0 / 402.7 MB, free: 8.973 MB / 330.7 MB Notification: Performance of Templates: time 0.004775/0.01824, allocations: 1.382 MB / 404.1 MB, free: 7.625 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.TankTest.makefile [Timeout 660] (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=240 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.TankTest.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.01290988503024]