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.001873/0.001873, allocations: 109.5 kB / 18.95 MB, free: 1.18 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.002017/0.002017, allocations: 221.7 kB / 22.25 MB, free: 3.578 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 1.677/1.677, allocations: 230.6 MB / 256 MB, free: 9.613 MB / 202.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.06526/0.06526, allocations: 11.33 MB / 323.8 MB, free: 6.801 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: OpenHydraulics requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003807/0.003807, allocations: 63.89 kB / 451.2 MB, free: 35.25 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09153/0.09534, allocations: 55.96 MB / 0.4953 GB, free: 11.21 MB / 362.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.DirectionalValveTest): time 0.009223/0.1046, allocations: 5.478 MB / 0.5006 GB, free: 5.699 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.007729/0.1123, allocations: 3.463 MB / 0.504 GB, free: 2.223 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009635/0.1133, allocations: 23.81 kB / 0.5041 GB, free: 2.199 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001069/0.1143, allocations: 289.9 kB / 0.5043 GB, free: 1.914 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002616/0.1169, allocations: 0.6835 MB / 0.505 GB, free: 1.227 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002859/0.1198, allocations: 0.9061 MB / 0.5059 GB, free: 332 kB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.003013/0.1228, allocations: 1.911 MB / 0.5077 GB, free: 14.41 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006898/0.1235, allocations: 304.5 kB / 0.508 GB, free: 14.09 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001293/0.1248, allocations: 0.6733 MB / 0.5087 GB, free: 13.41 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001171/0.126, allocations: 0.7116 MB / 0.5094 GB, free: 12.7 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002235/0.1262, allocations: 128 kB / 0.5095 GB, free: 12.57 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009811/0.1272, allocations: 403.7 kB / 0.5099 GB, free: 12.18 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003972/0.1276, allocations: 354.7 kB / 0.5102 GB, free: 11.83 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007609/0.1283, allocations: 0.5948 MB / 0.5108 GB, free: 11.23 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003091/0.1314, allocations: 2.036 MB / 0.5128 GB, free: 9.188 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.1314, allocations: 3.938 kB / 0.5128 GB, free: 9.184 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.1314, allocations: 0 / 0.5128 GB, free: 9.184 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.241e-05/0.1315, allocations: 0 / 0.5128 GB, free: 9.184 MB / 378.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.003317/0.1348, allocations: 1.616 MB / 0.5144 GB, free: 7.531 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.1348, allocations: 11.98 kB / 0.5144 GB, free: 7.52 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004463/0.1353, allocations: 175.9 kB / 0.5146 GB, free: 7.348 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001476/0.1367, allocations: 0.81 MB / 0.5154 GB, free: 6.504 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.412e-05/0.1368, allocations: 74 kB / 0.5154 GB, free: 6.434 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001726/0.137, allocations: 99.94 kB / 0.5155 GB, free: 6.336 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002189/0.1392, allocations: 1.147 MB / 0.5166 GB, free: 5.168 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.96e-05/0.1392, allocations: 0 / 0.5166 GB, free: 5.168 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.545e-05/0.1393, allocations: 40 kB / 0.5167 GB, free: 5.129 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.301e-05/0.1393, allocations: 20 kB / 0.5167 GB, free: 5.109 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001983/0.1413, allocations: 1.015 MB / 0.5177 GB, free: 4.098 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006424/0.1477, allocations: 2.893 MB / 0.5205 GB, free: 1.148 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001419/0.1492, allocations: 0.7097 MB / 0.5212 GB, free: 448 kB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007828/0.1499, allocations: 374.6 kB / 0.5216 GB, free: 72 kB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001813/0.1501, allocations: 28.62 kB / 0.5216 GB, free: 40 kB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.229e-05/0.1502, allocations: 43.3 kB / 0.5216 GB, free: 15.98 MB / 394.7 MB Notification: Performance of pre-optimization done (n=72): time 2.966e-06/0.1502, allocations: 0 / 0.5216 GB, free: 15.98 MB / 394.7 MB Notification: Performance of matching and sorting (n=76): time 0.005637/0.1558, allocations: 2.212 MB / 0.5238 GB, free: 13.75 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.449e-05/0.1559, allocations: 60.06 kB / 0.5239 GB, free: 13.68 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001502/0.1574, allocations: 0.9775 MB / 0.5248 GB, free: 12.67 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.338e-05/0.1574, allocations: 33.7 kB / 0.5248 GB, free: 12.63 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005485/0.158, allocations: 0.5667 MB / 0.5254 GB, free: 12.06 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002809/0.1583, allocations: 281.5 kB / 0.5257 GB, free: 11.79 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005383/0.1588, allocations: 170.5 kB / 0.5258 GB, free: 11.61 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001991/0.159, allocations: 349.9 kB / 0.5262 GB, free: 11.27 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007095/0.1597, allocations: 340.7 kB / 0.5265 GB, free: 10.93 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009069/0.1606, allocations: 0.5462 MB / 0.527 GB, free: 10.29 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006467/0.1671, allocations: 1.804 MB / 0.5288 GB, free: 8.422 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.13e-06/0.1671, allocations: 0 / 0.5288 GB, free: 8.422 MB / 394.7 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002213/0.1693, allocations: 1.008 MB / 0.5298 GB, free: 7.406 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.641e-05/0.1693, allocations: 8 kB / 0.5298 GB, free: 7.398 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.206e-05/0.1693, allocations: 4.719 kB / 0.5298 GB, free: 7.395 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.044e-05/0.1694, allocations: 11.94 kB / 0.5298 GB, free: 7.383 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001036/0.1704, allocations: 235.6 kB / 0.53 GB, free: 7.152 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.369e-05/0.1704, allocations: 15.92 kB / 0.53 GB, free: 7.137 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005606/0.171, allocations: 28 kB / 0.5301 GB, free: 7.109 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.123e-05/0.1711, allocations: 43.97 kB / 0.5301 GB, free: 7.066 MB / 394.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.0007404/0.1718, allocations: 377.4 kB / 0.5305 GB, free: 6.688 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002009/0.172, allocations: 103.3 kB / 0.5306 GB, free: 6.586 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002083/0.1741, allocations: 0.9496 MB / 0.5315 GB, free: 5.629 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.74e-05/0.1741, allocations: 11.94 kB / 0.5315 GB, free: 5.617 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/0.1741, allocations: 4 kB / 0.5315 GB, free: 5.613 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.023e-05/0.1742, allocations: 3.984 kB / 0.5315 GB, free: 5.609 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004045/0.1782, allocations: 1.934 MB / 0.5334 GB, free: 3.602 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.434e-06/0.1782, allocations: 4 kB / 0.5334 GB, free: 3.598 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009116/0.1791, allocations: 188 kB / 0.5336 GB, free: 3.414 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.708e-06/0.1791, allocations: 8 kB / 0.5336 GB, free: 3.406 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.146e-05/0.1792, allocations: 27.98 kB / 0.5336 GB, free: 3.379 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.047e-05/0.1792, allocations: 7.938 kB / 0.5336 GB, free: 3.371 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.1792, allocations: 0 / 0.5336 GB, free: 3.371 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002581/0.1818, allocations: 1.372 MB / 0.535 GB, free: 1.961 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004351/0.1822, allocations: 179.2 kB / 0.5351 GB, free: 1.785 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001314/0.1824, allocations: 20 kB / 0.5351 GB, free: 1.766 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004301/0.1828, allocations: 31.92 kB / 0.5352 GB, free: 1.734 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001433/0.1829, allocations: 64.48 kB / 0.5352 GB, free: 1.672 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.56e-05/0.183, allocations: 27.98 kB / 0.5353 GB, free: 1.645 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.00106/0.1841, allocations: 0.668 MB / 0.5359 GB, free: 0.9648 MB / 394.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1841, allocations: 0 / 0.5359 GB, free: 0.9648 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001037/0.1851, allocations: 307.7 kB / 0.5362 GB, free: 0.6641 MB / 394.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.002768/0.1879, allocations: 492.6 kB / 0.5367 GB, free: 336 kB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001717/0.1896, allocations: 0.7485 MB / 0.5374 GB, free: 15.58 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.171e-06/0.1896, allocations: 4 kB / 0.5374 GB, free: 15.57 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007276/0.1903, allocations: 371.5 kB / 0.5378 GB, free: 15.21 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001292/0.1916, allocations: 280.2 kB / 0.538 GB, free: 14.94 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004517/0.1961, allocations: 2.402 MB / 0.5404 GB, free: 12.49 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007389/0.1969, allocations: 0.5658 MB / 0.5409 GB, free: 11.89 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0007728/0.1976, allocations: 211.1 kB / 0.5411 GB, free: 11.68 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002927/0.1979, allocations: 99.39 kB / 0.5412 GB, free: 11.58 MB / 410.7 MB Notification: Performance of SimCode: time 8.91e-07/0.1979, allocations: 0 / 0.5412 GB, free: 11.58 MB / 410.7 MB Notification: Performance of Templates: time 0.2143/0.4122, allocations: 17.68 MB / 0.5585 GB, free: 51.78 MB / 410.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.892131405882537]