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.0006487/0.0006487, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008354/0.001484, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0006646/0.0006646, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008672/0.001532, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9043/0.9043, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08416/0.9885, allocations: 53.66 MB / 243.2 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 2.0.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 2.0.0-main/package.mo): time 0.03234/0.03234, allocations: 8.737 MB / 252.7 MB, free: 6.383 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004862/0.0372, allocations: 2.993 MB / 255.7 MB, free: 3.387 MB / 250.7 MB " [Timeout remaining time 180] Using package OpenHydraulics with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 2.0.0-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.363e-06/1.363e-06, allocations: 0 / 257 MB, free: 2.098 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.254e-05/1.391e-05, allocations: 2.312 kB / 257 MB, free: 2.094 MB / 250.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.DirectionalValveTest): time 0.004684/0.004698, allocations: 6.051 MB / 263 MB, free: 12.01 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004172/0.00887, allocations: 3.695 MB / 266.7 MB, free: 8.305 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004013/0.009271, allocations: 23.81 kB / 266.7 MB, free: 8.281 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004641/0.009735, allocations: 289.8 kB / 267 MB, free: 7.996 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009068/0.01064, allocations: 0.7141 MB / 267.7 MB, free: 7.277 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001222/0.01186, allocations: 0.8687 MB / 268.6 MB, free: 6.406 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001338/0.0132, allocations: 1.98 MB / 270.6 MB, free: 4.414 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003643/0.01357, allocations: 320.4 kB / 270.9 MB, free: 4.074 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001052/0.01462, allocations: 1.147 MB / 272.1 MB, free: 2.902 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006499/0.01527, allocations: 0.6428 MB / 272.7 MB, free: 2.258 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000131/0.0154, allocations: 128 kB / 272.8 MB, free: 2.133 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005827/0.01598, allocations: 431.5 kB / 273.2 MB, free: 1.711 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001976/0.01618, allocations: 291.1 kB / 273.5 MB, free: 1.426 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003591/0.01654, allocations: 423.1 kB / 273.9 MB, free: 1.012 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1183/0.1348, allocations: 1.26 MB / 275.2 MB, free: 5.77 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.007e-05/0.1349, allocations: 0.75 kB / 275.2 MB, free: 5.77 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1349, allocations: 2 kB / 275.2 MB, free: 5.77 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.837e-05/0.1349, allocations: 0 / 275.2 MB, free: 5.77 MB / 266.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.001977/0.1369, allocations: 1.841 MB / 277 MB, free: 5.027 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.014e-05/0.1369, allocations: 9.312 kB / 277.1 MB, free: 5.027 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003595/0.1373, allocations: 271.2 kB / 277.3 MB, free: 4.93 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006747/0.138, allocations: 0.6054 MB / 277.9 MB, free: 4.633 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.44e-05/0.138, allocations: 78.34 kB / 278 MB, free: 4.633 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.421e-05/0.1381, allocations: 93.22 kB / 278.1 MB, free: 4.633 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008116/0.1389, allocations: 0.7434 MB / 278.8 MB, free: 4.5 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.951e-05/0.139, allocations: 0 / 278.8 MB, free: 4.5 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.333e-05/0.139, allocations: 39.5 kB / 278.9 MB, free: 4.5 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.662e-05/0.139, allocations: 24.19 kB / 278.9 MB, free: 4.5 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004784/0.1395, allocations: 355.2 kB / 279.2 MB, free: 4.477 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002586/0.1421, allocations: 2.044 MB / 281.3 MB, free: 4.02 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004206/0.1425, allocations: 332.5 kB / 281.6 MB, free: 3.988 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002227/0.1427, allocations: 167.7 kB / 281.8 MB, free: 3.973 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.782e-05/0.1428, allocations: 35.83 kB / 281.8 MB, free: 3.973 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.042e-05/0.1428, allocations: 40.33 kB / 281.9 MB, free: 3.93 MB / 266.7 MB Notification: Performance of pre-optimization done (n=72): time 2.024e-06/0.1428, allocations: 0 / 281.9 MB, free: 3.93 MB / 266.7 MB Notification: Performance of matching and sorting (n=76): time 0.002031/0.1449, allocations: 1.305 MB / 283.2 MB, free: 3.664 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.514e-05/0.1449, allocations: 60.62 kB / 283.2 MB, free: 3.598 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005798/0.1455, allocations: 0.7434 MB / 284 MB, free: 3.422 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.538e-05/0.1455, allocations: 40.89 kB / 284 MB, free: 3.391 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001897/0.1457, allocations: 448.1 kB / 284.4 MB, free: 3.137 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001147/0.1458, allocations: 275.2 kB / 284.7 MB, free: 2.961 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001534/0.146, allocations: 164.4 kB / 284.9 MB, free: 2.941 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.463e-05/0.146, allocations: 348.6 kB / 285.2 MB, free: 2.633 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001543/0.1462, allocations: 134.7 kB / 285.3 MB, free: 2.617 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002045/0.1464, allocations: 342.5 kB / 285.7 MB, free: 2.348 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005165/0.1469, allocations: 0.5698 MB / 286.2 MB, free: 2.133 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.1469, allocations: 4.25 kB / 286.2 MB, free: 2.133 MB / 266.7 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.0004925/0.1474, allocations: 475.2 kB / 286.7 MB, free: 2.086 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.159e-05/0.1474, allocations: 9.594 kB / 286.7 MB, free: 2.086 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.445e-06/0.1474, allocations: 5 kB / 286.7 MB, free: 2.086 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.1474, allocations: 16.66 kB / 286.7 MB, free: 2.086 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006086/0.148, allocations: 269.2 kB / 287 MB, free: 2.086 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.055e-05/0.1481, allocations: 12.16 kB / 287 MB, free: 2.086 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002222/0.1483, allocations: 37.23 kB / 287.1 MB, free: 2.082 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.151e-05/0.1483, allocations: 29.81 kB / 287.1 MB, free: 2.082 MB / 266.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.0002101/0.1485, allocations: 187.1 kB / 287.3 MB, free: 1.953 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.47e-05/0.1486, allocations: 83.52 kB / 287.3 MB, free: 1.953 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006064/0.1492, allocations: 0.5034 MB / 287.8 MB, free: 1.867 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-06/0.1492, allocations: 9.406 kB / 287.9 MB, free: 1.867 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.535e-06/0.1492, allocations: 0 / 287.9 MB, free: 1.867 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.148e-05/0.1493, allocations: 4.594 kB / 287.9 MB, free: 1.867 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001271/0.1505, allocations: 1.122 MB / 289 MB, free: 1.531 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.1505, allocations: 2.25 kB / 289 MB, free: 1.531 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004854/0.151, allocations: 237.7 kB / 289.2 MB, free: 1.52 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001633/0.1512, allocations: 124.9 kB / 289.3 MB, free: 1.461 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.781e-06/0.1512, allocations: 4.406 kB / 289.3 MB, free: 1.461 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.133e-05/0.1512, allocations: 27.61 kB / 289.4 MB, free: 1.461 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/0.1512, allocations: 3.406 kB / 289.4 MB, free: 1.461 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.1512, allocations: 2.906 kB / 289.4 MB, free: 1.461 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005214/0.1517, allocations: 0.6693 MB / 290 MB, free: 1.23 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.412e-05/0.1518, allocations: 22.3 kB / 290.1 MB, free: 1.23 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000173/0.152, allocations: 23.53 kB / 290.1 MB, free: 1.23 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.778e-05/0.152, allocations: 58.98 kB / 290.2 MB, free: 1.23 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.414e-05/0.1521, allocations: 17.83 kB / 290.2 MB, free: 1.23 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002177/0.1523, allocations: 373.3 kB / 290.5 MB, free: 1.184 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1523, allocations: 0 / 290.5 MB, free: 1.184 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005082/0.1528, allocations: 306.3 kB / 290.8 MB, free: 1.164 MB / 266.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.00115/0.1539, allocations: 0.5993 MB / 291.4 MB, free: 1.035 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003771/0.1543, allocations: 403.6 kB / 291.8 MB, free: 1 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.681e-05/0.1543, allocations: 17.62 kB / 291.8 MB, free: 1 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001672/0.1545, allocations: 221.1 kB / 292.1 MB, free: 0.9844 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005932/0.1551, allocations: 369.1 kB / 292.4 MB, free: 0.9414 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01324/0.1683, allocations: 2.042 MB / 294.5 MB, free: 15.95 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001502/0.1685, allocations: 251.1 kB / 294.7 MB, free: 15.87 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003723/0.1689, allocations: 172.3 kB / 294.9 MB, free: 15.81 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004534/0.1693, allocations: 301.6 kB / 295.2 MB, free: 15.58 MB / 282.7 MB Notification: Performance of SimCode: time 7.11e-07/0.1693, allocations: 0 / 295.2 MB, free: 15.58 MB / 282.7 MB Notification: Performance of Templates: time 0.04257/0.2119, allocations: 18.63 MB / 313.8 MB, free: 13.92 MB / 298.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: 2.914566455408931]