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.0009643/0.0009643, allocations: 84.44 kB / 19.93 MB, free: 4.613 MB / 18.57 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.0009662/0.0009662, allocations: 173.9 kB / 23.21 MB, free: 1.332 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 0.9468/0.9468, allocations: 177.2 MB / 203.5 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] 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.03457/0.03457, allocations: 8.712 MB / 268.7 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.172e-06/1.172e-06, allocations: 0 / 395.4 MB, free: 1.543 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.786e-05/1.903e-05, allocations: 2.281 kB / 395.4 MB, free: 1.539 MB / 314.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.DirectionalValveTest): time 0.004494/0.004513, allocations: 5.487 MB / 400.9 MB, free: 12.02 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.003345/0.007858, allocations: 3.47 MB / 404.4 MB, free: 8.539 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002817/0.00814, allocations: 19.88 kB / 404.4 MB, free: 8.52 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004729/0.008613, allocations: 289.8 kB / 404.7 MB, free: 8.234 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008007/0.009414, allocations: 0.7025 MB / 405.4 MB, free: 7.527 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001042/0.01046, allocations: 0.9177 MB / 406.3 MB, free: 6.613 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001417/0.01187, allocations: 1.984 MB / 408.3 MB, free: 4.621 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000382/0.01226, allocations: 308.5 kB / 408.6 MB, free: 4.301 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007432/0.013, allocations: 0.9704 MB / 409.6 MB, free: 3.328 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005072/0.01351, allocations: 0.6154 MB / 410.2 MB, free: 2.711 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000113/0.01362, allocations: 128 kB / 410.3 MB, free: 2.586 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004485/0.01407, allocations: 407.6 kB / 410.7 MB, free: 2.188 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002116/0.01428, allocations: 366.6 kB / 411.1 MB, free: 1.828 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003358/0.01461, allocations: 0.4909 MB / 411.6 MB, free: 1.336 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1403/0.1549, allocations: 2.051 MB / 413.6 MB, free: 18.61 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.1549, allocations: 0.8438 kB / 413.6 MB, free: 18.61 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.1549, allocations: 0 / 413.6 MB, free: 18.61 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.043e-05/0.1549, allocations: 4.547 kB / 413.6 MB, free: 18.61 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.002017/0.157, allocations: 1.589 MB / 415.2 MB, free: 17.79 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.157, allocations: 10.89 kB / 415.2 MB, free: 17.79 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002762/0.1573, allocations: 169.9 kB / 415.4 MB, free: 17.71 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008573/0.1581, allocations: 0.8139 MB / 416.2 MB, free: 17.41 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.492e-05/0.1582, allocations: 76.91 kB / 416.3 MB, free: 17.41 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001101/0.1583, allocations: 93.69 kB / 416.4 MB, free: 17.41 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001337/0.1596, allocations: 1.152 MB / 417.5 MB, free: 17.3 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.555e-05/0.1597, allocations: 0 / 417.5 MB, free: 17.3 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.965e-05/0.1597, allocations: 40.8 kB / 417.5 MB, free: 17.3 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.761e-05/0.1597, allocations: 26.75 kB / 417.6 MB, free: 17.3 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001217/0.161, allocations: 1.011 MB / 418.6 MB, free: 17.3 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003605/0.1646, allocations: 2.88 MB / 421.5 MB, free: 16.43 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008595/0.1654, allocations: 0.7135 MB / 422.2 MB, free: 16.12 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000473/0.1659, allocations: 366.6 kB / 422.5 MB, free: 15.98 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001081/0.166, allocations: 30.39 kB / 422.6 MB, free: 15.98 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.869e-05/0.166, allocations: 40.41 kB / 422.6 MB, free: 15.93 MB / 330.7 MB Notification: Performance of pre-optimization done (n=72): time 1.764e-06/0.166, allocations: 4 kB / 422.6 MB, free: 15.93 MB / 330.7 MB Notification: Performance of matching and sorting (n=76): time 0.003013/0.169, allocations: 2.2 MB / 424.8 MB, free: 14.85 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.877e-05/0.1691, allocations: 60.64 kB / 424.9 MB, free: 14.78 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009058/0.17, allocations: 0.9733 MB / 425.8 MB, free: 14.37 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.787e-05/0.17, allocations: 41.33 kB / 425.9 MB, free: 14.32 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002531/0.1703, allocations: 0.567 MB / 426.4 MB, free: 13.88 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001263/0.1704, allocations: 275.2 kB / 426.7 MB, free: 13.66 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001739/0.1706, allocations: 171.6 kB / 426.9 MB, free: 13.58 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.327e-05/0.1706, allocations: 339.9 kB / 427.2 MB, free: 13.26 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004172/0.171, allocations: 350.9 kB / 427.6 MB, free: 13.12 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004596/0.1715, allocations: 0.5431 MB / 428.1 MB, free: 12.72 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003111/0.1746, allocations: 1.814 MB / 429.9 MB, free: 11.97 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/0.1746, allocations: 5.156 kB / 429.9 MB, free: 11.97 MB / 330.7 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001138/0.1757, allocations: 1.007 MB / 430.9 MB, free: 11.56 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/0.1758, allocations: 8.25 kB / 430.9 MB, free: 11.56 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.858e-06/0.1758, allocations: 9.406 kB / 430.9 MB, free: 11.56 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.187e-05/0.1758, allocations: 10 kB / 431 MB, free: 11.56 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005091/0.1763, allocations: 230.2 kB / 431.2 MB, free: 11.55 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.342e-05/0.1763, allocations: 13.16 kB / 431.2 MB, free: 11.55 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002458/0.1766, allocations: 36.34 kB / 431.2 MB, free: 11.54 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.073e-05/0.1766, allocations: 36.97 kB / 431.3 MB, free: 11.53 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.0003697/0.177, allocations: 372.1 kB / 431.6 MB, free: 11.29 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001037/0.1771, allocations: 110.7 kB / 431.7 MB, free: 11.23 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001087/0.1782, allocations: 0.9448 MB / 432.7 MB, free: 10.82 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.1782, allocations: 9.625 kB / 432.7 MB, free: 10.82 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.1782, allocations: 0 / 432.7 MB, free: 10.82 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.1782, allocations: 10 kB / 432.7 MB, free: 10.82 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00201/0.1802, allocations: 1.947 MB / 434.6 MB, free: 9.828 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.898e-06/0.1802, allocations: 6.688 kB / 434.7 MB, free: 9.824 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004372/0.1806, allocations: 192.8 kB / 434.8 MB, free: 9.812 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/0.1807, allocations: 5.5 kB / 434.8 MB, free: 9.812 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.435e-05/0.1807, allocations: 25.52 kB / 434.9 MB, free: 9.801 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.749e-06/0.1807, allocations: 12.72 kB / 434.9 MB, free: 9.801 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.1807, allocations: 2.75 kB / 434.9 MB, free: 9.801 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001252/0.1819, allocations: 1.356 MB / 436.2 MB, free: 9.102 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002041/0.1821, allocations: 180.7 kB / 436.4 MB, free: 8.996 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.21e-05/0.1822, allocations: 30.2 kB / 436.4 MB, free: 8.977 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002013/0.1824, allocations: 25.5 kB / 436.5 MB, free: 8.965 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.648e-05/0.1825, allocations: 56.09 kB / 436.5 MB, free: 8.961 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.477e-05/0.1825, allocations: 37.55 kB / 436.6 MB, free: 8.953 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004574/0.183, allocations: 0.665 MB / 437.2 MB, free: 8.672 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.183, allocations: 0 / 437.2 MB, free: 8.672 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005227/0.1835, allocations: 305.2 kB / 437.5 MB, free: 8.625 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.0009647/0.1845, allocations: 0.5038 MB / 438 MB, free: 8.438 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007884/0.1853, allocations: 0.7438 MB / 438.8 MB, free: 8.195 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.1853, allocations: 11.05 kB / 438.8 MB, free: 8.191 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003414/0.1856, allocations: 376 kB / 439.2 MB, free: 8.086 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006726/0.1863, allocations: 280.9 kB / 439.4 MB, free: 7.969 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001962/0.1882, allocations: 2.294 MB / 441.7 MB, free: 6.195 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002838/0.1885, allocations: 0.5774 MB / 442.3 MB, free: 5.582 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002008/0.1887, allocations: 108.5 kB / 442.4 MB, free: 5.477 MB / 330.7 MB Notification: Performance of SimCode: time 6.21e-07/0.1887, allocations: 0 / 442.4 MB, free: 5.477 MB / 330.7 MB Notification: Performance of Templates: time 0.01223/0.201, allocations: 17.25 MB / 459.7 MB, free: 4.285 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 > OpenHydraulics_OpenHydraulics.DevelopmentTests.DirectionalValveTest.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.782936270115897]