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.0009691/0.0009691, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.001066/0.001066, allocations: 177.3 kB / 23.36 MB, free: 1.133 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.9677/0.9677, allocations: 177.1 MB / 203.8 MB, free: 5.461 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.03713/0.03713, allocations: 8.723 MB / 269 MB, free: 4.395 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.884e-06/1.884e-06, allocations: 0 / 288.1 MB, free: 1.285 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.888e-05/2.076e-05, allocations: 2.312 kB / 288.1 MB, free: 1.281 MB / 266.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.DirectionalValveTest): time 0.1063/0.1063, allocations: 6.018 MB / 294.1 MB, free: 16.91 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005026/0.1113, allocations: 3.669 MB / 297.8 MB, free: 14.46 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005754/0.1119, allocations: 19.31 kB / 297.8 MB, free: 14.46 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005874/0.1125, allocations: 288.1 kB / 298.1 MB, free: 14.32 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001179/0.1137, allocations: 0.6994 MB / 298.8 MB, free: 13.85 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001613/0.1153, allocations: 0.8817 MB / 299.7 MB, free: 13.36 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001661/0.117, allocations: 1.975 MB / 301.6 MB, free: 12.29 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004629/0.1174, allocations: 324.8 kB / 301.9 MB, free: 12.09 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001168/0.1186, allocations: 0.9811 MB / 302.9 MB, free: 11.65 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009022/0.1195, allocations: 0.6485 MB / 303.6 MB, free: 11.34 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002652/0.1198, allocations: 126.2 kB / 303.7 MB, free: 11.34 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000951/0.1207, allocations: 432.1 kB / 304.1 MB, free: 11.21 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001977/0.1209, allocations: 365 kB / 304.5 MB, free: 10.93 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004632/0.1214, allocations: 0.5009 MB / 305 MB, free: 10.66 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001376/0.1227, allocations: 1.373 MB / 306.4 MB, free: 9.766 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.1228, allocations: 1.5 kB / 306.4 MB, free: 9.766 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.1228, allocations: 0 / 306.4 MB, free: 9.766 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.924e-05/0.1228, allocations: 3.656 kB / 306.4 MB, free: 9.766 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.001678/0.1245, allocations: 1.558 MB / 307.9 MB, free: 8.574 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.131e-05/0.1245, allocations: 9.375 kB / 307.9 MB, free: 8.574 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000353/0.1249, allocations: 186.7 kB / 308.1 MB, free: 8.504 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006719/0.1255, allocations: 0.5936 MB / 308.7 MB, free: 8.07 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.368e-05/0.1256, allocations: 79.41 kB / 308.8 MB, free: 8.035 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.634e-05/0.1257, allocations: 108.3 kB / 308.9 MB, free: 7.992 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006577/0.1263, allocations: 0.7289 MB / 309.6 MB, free: 7.238 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.082e-05/0.1263, allocations: 0 / 309.6 MB, free: 7.238 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.652e-05/0.1264, allocations: 47.94 kB / 309.7 MB, free: 7.191 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.219e-05/0.1264, allocations: 23 kB / 309.7 MB, free: 7.172 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004113/0.1268, allocations: 361.2 kB / 310 MB, free: 6.82 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002332/0.1291, allocations: 2.053 MB / 312.1 MB, free: 4.73 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003514/0.1295, allocations: 324.7 kB / 312.4 MB, free: 4.41 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001944/0.1297, allocations: 160.1 kB / 312.6 MB, free: 4.25 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.65e-05/0.1298, allocations: 36.62 kB / 312.6 MB, free: 4.215 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.941e-05/0.1298, allocations: 39.22 kB / 312.6 MB, free: 4.168 MB / 266.7 MB Notification: Performance of pre-optimization done (n=72): time 2.625e-06/0.1298, allocations: 0 / 312.6 MB, free: 4.168 MB / 266.7 MB Notification: Performance of matching and sorting (n=76): time 0.001805/0.1316, allocations: 1.303 MB / 313.9 MB, free: 2.836 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.713e-05/0.1316, allocations: 64.06 kB / 314 MB, free: 2.762 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000425/0.1321, allocations: 0.7467 MB / 314.7 MB, free: 1.988 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.081e-05/0.1321, allocations: 37.7 kB / 314.8 MB, free: 1.945 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001221/0.1322, allocations: 446.2 kB / 315.2 MB, free: 1.504 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.827e-05/0.1323, allocations: 281.5 kB / 315.5 MB, free: 1.227 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001321/0.1324, allocations: 158.5 kB / 315.6 MB, free: 1.066 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.021e-05/0.1325, allocations: 353.8 kB / 316 MB, free: 0.7148 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001369/0.1326, allocations: 132.6 kB / 316.1 MB, free: 0.582 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001692/0.1328, allocations: 347.4 kB / 316.5 MB, free: 160 kB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005579/0.1333, allocations: 0.5611 MB / 317 MB, free: 15.52 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.1333, allocations: 0 / 317 MB, free: 15.52 MB / 282.7 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.0005284/0.1339, allocations: 479.1 kB / 317.5 MB, free: 15.05 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.1339, allocations: 8 kB / 317.5 MB, free: 15.04 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.1339, allocations: 4 kB / 317.5 MB, free: 15.04 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.1339, allocations: 8 kB / 317.5 MB, free: 15.03 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005817/0.1345, allocations: 257.7 kB / 317.8 MB, free: 14.78 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.869e-06/0.1345, allocations: 11.94 kB / 317.8 MB, free: 14.77 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002261/0.1347, allocations: 31.94 kB / 317.8 MB, free: 14.73 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.598e-05/0.1348, allocations: 35.97 kB / 317.8 MB, free: 14.7 MB / 282.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.0002999/0.1351, allocations: 189.3 kB / 318 MB, free: 14.51 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001521/0.1352, allocations: 83.92 kB / 318.1 MB, free: 14.43 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000646/0.1359, allocations: 0.509 MB / 318.6 MB, free: 13.92 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.524e-06/0.1359, allocations: 8 kB / 318.6 MB, free: 13.91 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.305e-06/0.1359, allocations: 0 / 318.6 MB, free: 13.91 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.244e-06/0.1359, allocations: 3.984 kB / 318.6 MB, free: 13.91 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001363/0.1373, allocations: 1.126 MB / 319.8 MB, free: 12.72 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.521e-06/0.1373, allocations: 6.688 kB / 319.8 MB, free: 12.72 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004894/0.1377, allocations: 208 kB / 320 MB, free: 12.52 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.813e-06/0.1378, allocations: 4 kB / 320 MB, free: 12.51 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.835e-05/0.1378, allocations: 23.98 kB / 320 MB, free: 12.49 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.22e-06/0.1378, allocations: 7.984 kB / 320 MB, free: 12.48 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.1378, allocations: 0 / 320 MB, free: 12.48 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006843/0.1385, allocations: 0.6743 MB / 320.7 MB, free: 11.77 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001774/0.1387, allocations: 120.1 kB / 320.8 MB, free: 11.65 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.479e-05/0.1387, allocations: 20 kB / 320.8 MB, free: 11.63 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001866/0.1389, allocations: 16 kB / 320.8 MB, free: 11.62 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.094e-05/0.139, allocations: 60.48 kB / 320.9 MB, free: 11.55 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.203e-05/0.139, allocations: 19.98 kB / 320.9 MB, free: 11.54 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.000307/0.1393, allocations: 372.6 kB / 321.3 MB, free: 11.16 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1393, allocations: 0 / 321.3 MB, free: 11.16 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005978/0.1399, allocations: 311.7 kB / 321.6 MB, free: 10.85 MB / 282.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.001145/0.1411, allocations: 0.5668 MB / 322.1 MB, free: 10.54 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004684/0.1416, allocations: 389.9 kB / 322.5 MB, free: 10.16 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.362e-05/0.1416, allocations: 16.81 kB / 322.5 MB, free: 10.14 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002115/0.1418, allocations: 222.3 kB / 322.8 MB, free: 9.922 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006436/0.1424, allocations: 283.1 kB / 323 MB, free: 9.66 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002453/0.1449, allocations: 1.946 MB / 325 MB, free: 7.656 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001886/0.1451, allocations: 244.9 kB / 325.2 MB, free: 7.395 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0004074/0.1455, allocations: 177.1 kB / 325.4 MB, free: 7.223 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004915/0.146, allocations: 297.1 kB / 325.7 MB, free: 6.93 MB / 282.7 MB Notification: Performance of SimCode: time 9.52e-07/0.146, allocations: 0 / 325.7 MB, free: 6.93 MB / 282.7 MB Notification: Performance of Templates: time 0.02103/0.167, allocations: 17.99 MB / 343.7 MB, free: 5.277 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.DirectionalValveTest.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.036942237056792]