Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.DirectionalValveTest.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.001812/0.001812, 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.002063/0.002063, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.546/1.546, allocations: 177.1 MB / 202.8 MB, free: 5.746 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.06228/0.06228, allocations: 8.697 MB / 267.9 MB, free: 4.754 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.DirectionalValveTest,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.DirectionalValveTest") translateModel(OpenHydraulics.DevelopmentTests.DirectionalValveTest,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.DirectionalValveTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 395.4 MB, free: 0.7383 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.867e-05/3.015e-05, allocations: 6.219 kB / 395.4 MB, free: 0.7305 MB / 314.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.DirectionalValveTest): time 0.008681/0.008711, allocations: 5.501 MB / 400.9 MB, free: 11.2 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.007266/0.01598, allocations: 3.447 MB / 404.4 MB, free: 7.738 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007213/0.0167, allocations: 23.81 kB / 404.4 MB, free: 7.715 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008139/0.01751, allocations: 297.8 kB / 404.7 MB, free: 7.422 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001953/0.01947, allocations: 0.6986 MB / 405.4 MB, free: 6.719 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00239/0.02186, allocations: 0.9065 MB / 406.3 MB, free: 5.816 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002879/0.02474, allocations: 1.988 MB / 408.3 MB, free: 3.82 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007463/0.02548, allocations: 308.4 kB / 408.6 MB, free: 3.5 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002106/0.02759, allocations: 0.9743 MB / 409.6 MB, free: 2.523 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001186/0.02877, allocations: 0.6154 MB / 410.2 MB, free: 1.906 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002528/0.02903, allocations: 127.9 kB / 410.3 MB, free: 1.781 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001142/0.03017, allocations: 411.6 kB / 410.7 MB, free: 1.379 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004623/0.03063, allocations: 362.6 kB / 411.1 MB, free: 1.023 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008244/0.03146, allocations: 0.4948 MB / 411.6 MB, free: 0.5273 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1596/0.1911, allocations: 2.046 MB / 413.6 MB, free: 19.12 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.1911, allocations: 1.938 kB / 413.6 MB, free: 19.12 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1911, allocations: 0 / 413.6 MB, free: 19.12 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.441e-05/0.1911, allocations: 0 / 413.6 MB, free: 19.12 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: 241 * Number of variables: 241 Notification: Performance of Generate backend data structure: time 0.00268/0.1938, allocations: 1.589 MB / 415.2 MB, free: 18.3 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.1938, allocations: 11.19 kB / 415.2 MB, free: 18.3 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004117/0.1942, allocations: 172.2 kB / 415.4 MB, free: 18.22 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001193/0.1954, allocations: 0.8124 MB / 416.2 MB, free: 17.92 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.682e-05/0.1955, allocations: 78.69 kB / 416.3 MB, free: 17.92 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001442/0.1956, allocations: 96.91 kB / 416.4 MB, free: 17.92 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001864/0.1975, allocations: 1.149 MB / 417.5 MB, free: 17.81 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.927e-05/0.1975, allocations: 0 / 417.5 MB, free: 17.81 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.734e-05/0.1976, allocations: 39.58 kB / 417.6 MB, free: 17.81 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.214e-05/0.1976, allocations: 25.75 kB / 417.6 MB, free: 17.81 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001679/0.1993, allocations: 1.015 MB / 418.6 MB, free: 17.8 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005238/0.2045, allocations: 2.882 MB / 421.5 MB, free: 16.84 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001117/0.2057, allocations: 0.7054 MB / 422.2 MB, free: 16.54 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000668/0.2063, allocations: 372.1 kB / 422.5 MB, free: 16.39 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001688/0.2065, allocations: 34.78 kB / 422.6 MB, free: 16.38 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.048e-05/0.2065, allocations: 39.16 kB / 422.6 MB, free: 16.34 MB / 330.7 MB Notification: Performance of pre-optimization done (n=72): time 2.826e-06/0.2065, allocations: 0 / 422.6 MB, free: 16.34 MB / 330.7 MB Notification: Performance of matching and sorting (n=76): time 0.004677/0.2112, allocations: 2.202 MB / 424.8 MB, free: 15.25 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.343e-05/0.2112, allocations: 59.7 kB / 424.9 MB, free: 15.19 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001225/0.2125, allocations: 0.9745 MB / 425.8 MB, free: 14.77 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.882e-05/0.2125, allocations: 44.39 kB / 425.9 MB, free: 14.73 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003059/0.2128, allocations: 0.5641 MB / 426.5 MB, free: 14.28 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001506/0.213, allocations: 272.4 kB / 426.7 MB, free: 14.07 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002478/0.2132, allocations: 169.5 kB / 426.9 MB, free: 13.99 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.997e-05/0.2133, allocations: 344.4 kB / 427.2 MB, free: 13.66 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005656/0.2138, allocations: 355.9 kB / 427.6 MB, free: 13.52 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006/0.2144, allocations: 0.5411 MB / 428.1 MB, free: 13.12 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005389/0.2198, allocations: 1.809 MB / 429.9 MB, free: 12.38 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.783e-06/0.2198, allocations: 5.5 kB / 429.9 MB, free: 12.38 MB / 330.7 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001767/0.2216, allocations: 1.007 MB / 430.9 MB, free: 11.96 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.176e-05/0.2216, allocations: 10.61 kB / 430.9 MB, free: 11.96 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.251e-05/0.2216, allocations: 5.906 kB / 431 MB, free: 11.96 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.551e-05/0.2217, allocations: 9.469 kB / 431 MB, free: 11.96 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008726/0.2225, allocations: 228 kB / 431.2 MB, free: 11.96 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.798e-05/0.2226, allocations: 13.06 kB / 431.2 MB, free: 11.96 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005901/0.2232, allocations: 34.3 kB / 431.2 MB, free: 11.94 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.57e-05/0.2232, allocations: 40.97 kB / 431.3 MB, free: 11.93 MB / 330.7 MB Warning: Assuming fixed start value for the following 3 variables: idealPump.phi:VARIABLE(unit = \"rad\" fixed = true ) \"Angle of rotation of pump\" type: Real valve4_3pos.j2.volumeClosed.port[2].p:VARIABLE(flow=false min = 0.0 start = valve4_3pos.P2A.p_init unit = \"Pa\" fixed = true nominal = 1e5 stateSelect=StateSelect.prefer ) \"Pressure in the connection point\" type: Real [3] valve4_3pos.j3.volumeClosed.port[2].p:VARIABLE(flow=false min = 0.0 start = valve4_3pos.P2B.p_init unit = \"Pa\" fixed = true nominal = 1e5 stateSelect=StateSelect.prefer ) \"Pressure in the connection point\" type: Real [3] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 5 (valve4_3pos.A2T.data.zetaLaminarKnown,valve4_3pos.P2B.data.zetaLaminarKnown,valve4_3pos.B2T.data.zetaLaminarKnown,valve4_3pos.P2A.data.zetaLaminarKnown,restriction.data.zetaLaminarKnown) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (108): * Single equations (assignments): 108 * 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.0006188/0.2238, allocations: 372.5 kB / 431.6 MB, free: 11.7 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001529/0.224, allocations: 106.5 kB / 431.7 MB, free: 11.64 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001631/0.2256, allocations: 0.9467 MB / 432.7 MB, free: 11.23 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.015e-06/0.2256, allocations: 14.19 kB / 432.7 MB, free: 11.23 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.2256, allocations: 1.781 kB / 432.7 MB, free: 11.23 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.738e-06/0.2257, allocations: 5.109 kB / 432.7 MB, free: 11.23 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003105/0.2288, allocations: 1.952 MB / 434.7 MB, free: 10.23 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.964e-06/0.2288, allocations: 6.906 kB / 434.7 MB, free: 10.23 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007782/0.2295, allocations: 192.5 kB / 434.9 MB, free: 10.22 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.127e-06/0.2296, allocations: 4.125 kB / 434.9 MB, free: 10.22 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.807e-05/0.2296, allocations: 26.28 kB / 434.9 MB, free: 10.21 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.335e-06/0.2296, allocations: 11.83 kB / 434.9 MB, free: 10.2 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.2296, allocations: 1.375 kB / 434.9 MB, free: 10.2 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001792/0.2314, allocations: 1.359 MB / 436.3 MB, free: 9.5 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003583/0.2318, allocations: 188 kB / 436.4 MB, free: 9.395 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001228/0.2319, allocations: 23.86 kB / 436.5 MB, free: 9.379 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003942/0.2323, allocations: 19.61 kB / 436.5 MB, free: 9.371 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001086/0.2324, allocations: 60.8 kB / 436.5 MB, free: 9.363 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.125e-05/0.2324, allocations: 34.36 kB / 436.6 MB, free: 9.355 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000714/0.2332, allocations: 0.6624 MB / 437.2 MB, free: 9.066 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2332, allocations: 0 / 437.2 MB, free: 9.066 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001003/0.2342, allocations: 309.6 kB / 437.5 MB, free: 9.016 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 6 (idealPump.phi,circuitTank.volumeOpen.m,valve4_3pos.j2.volumeClosed.port[2].p,valve4_3pos.j3.volumeClosed.port[2].p,valve4_3pos.dynamicResponse.y,valve4_3pos.dynamicResponse.yd) * 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 (86): * Single equations (assignments): 86 * 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.002587/0.2368, allocations: 0.5052 MB / 438 MB, free: 8.805 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001232/0.238, allocations: 0.7487 MB / 438.8 MB, free: 8.477 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.238, allocations: 0 / 438.8 MB, free: 8.477 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005153/0.2385, allocations: 375.1 kB / 439.2 MB, free: 8.332 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001136/0.2396, allocations: 291.6 kB / 439.4 MB, free: 8.164 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002898/0.2425, allocations: 2.24 MB / 441.7 MB, free: 6.121 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004213/0.243, allocations: 0.5774 MB / 442.3 MB, free: 5.508 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0006037/0.2436, allocations: 210.8 kB / 442.5 MB, free: 5.301 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000241/0.2438, allocations: 100.5 kB / 442.6 MB, free: 5.203 MB / 330.7 MB Notification: Performance of SimCode: time 9.32e-07/0.2438, allocations: 0 / 442.6 MB, free: 5.203 MB / 330.7 MB Notification: Performance of Templates: time 0.0283/0.2721, allocations: 15.9 MB / 458.5 MB, free: 5.66 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.DirectionalValveTest.makefile [Timeout 660] (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.DirectionalValveTest.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.DirectionalValveTest.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.DirectionalValveTest.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.DirectionalValveTest.sim & ./OpenHydraulics_OpenHydraulics.DevelopmentTests.DirectionalValveTest -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.DirectionalValveTest.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.642250740900636]