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.001287/0.001287, allocations: 80.88 kB / 19.94 MB, free: 4.551 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.001195/0.001195, allocations: 177 kB / 23.36 MB, free: 1.137 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.9036/0.9036, allocations: 177.1 MB / 203.8 MB, free: 5.492 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.0372/0.0372, allocations: 8.713 MB / 269 MB, free: 4.422 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.342e-06/1.342e-06, allocations: 0 / 288 MB, free: 1.355 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.563e-05/1.697e-05, allocations: 2.312 kB / 288 MB, free: 1.352 MB / 266.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.DirectionalValveTest): time 0.1097/0.1098, allocations: 5.971 MB / 294 MB, free: 17.03 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004858/0.1146, allocations: 3.663 MB / 297.7 MB, free: 14.58 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006786/0.1153, allocations: 27.03 kB / 297.7 MB, free: 14.57 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006174/0.1159, allocations: 287 kB / 298 MB, free: 14.43 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001364/0.1173, allocations: 0.7002 MB / 298.7 MB, free: 13.96 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001784/0.1191, allocations: 0.9198 MB / 299.6 MB, free: 13.48 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001702/0.1208, allocations: 1.975 MB / 301.6 MB, free: 12.41 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004417/0.1212, allocations: 325.6 kB / 301.9 MB, free: 12.21 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001421/0.1226, allocations: 0.9859 MB / 302.9 MB, free: 11.76 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008634/0.1235, allocations: 0.6479 MB / 303.5 MB, free: 11.44 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001914/0.1237, allocations: 129.1 kB / 303.7 MB, free: 11.44 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000721/0.1244, allocations: 397.4 kB / 304 MB, free: 11.33 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000216/0.1246, allocations: 369.3 kB / 304.4 MB, free: 11.04 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004935/0.1251, allocations: 0.5019 MB / 304.9 MB, free: 10.77 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001397/0.1265, allocations: 1.369 MB / 306.3 MB, free: 9.883 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.1265, allocations: 0 / 306.3 MB, free: 9.883 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1265, allocations: 3.984 kB / 306.3 MB, free: 9.879 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.679e-05/0.1266, allocations: 0.9375 kB / 306.3 MB, free: 9.879 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.001823/0.1284, allocations: 1.562 MB / 307.8 MB, free: 8.688 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/0.1284, allocations: 9.188 kB / 307.9 MB, free: 8.688 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003704/0.1288, allocations: 185.7 kB / 308 MB, free: 8.617 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00069/0.1295, allocations: 0.6012 MB / 308.6 MB, free: 8.18 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.758e-05/0.1295, allocations: 78.12 kB / 308.7 MB, free: 8.145 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.993e-05/0.1296, allocations: 103.1 kB / 308.8 MB, free: 8.105 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006465/0.1303, allocations: 0.7374 MB / 309.6 MB, free: 7.363 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.105e-05/0.1303, allocations: 0 / 309.6 MB, free: 7.363 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.585e-05/0.1303, allocations: 40 kB / 309.6 MB, free: 7.324 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.376e-05/0.1303, allocations: 25.31 kB / 309.6 MB, free: 7.301 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003897/0.1307, allocations: 352.6 kB / 310 MB, free: 6.957 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002717/0.1334, allocations: 2.056 MB / 312 MB, free: 4.867 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004501/0.1339, allocations: 326.8 kB / 312.3 MB, free: 4.547 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002494/0.1341, allocations: 166.7 kB / 312.5 MB, free: 4.379 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001051/0.1343, allocations: 36.62 kB / 312.5 MB, free: 4.344 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.05e-05/0.1343, allocations: 39.22 kB / 312.6 MB, free: 4.297 MB / 266.7 MB Notification: Performance of pre-optimization done (n=72): time 3.046e-06/0.1343, allocations: 0 / 312.6 MB, free: 4.297 MB / 266.7 MB Notification: Performance of matching and sorting (n=76): time 0.002276/0.1366, allocations: 1.299 MB / 313.9 MB, free: 2.969 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.368e-05/0.1366, allocations: 60.06 kB / 313.9 MB, free: 2.898 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005583/0.1371, allocations: 0.7507 MB / 314.7 MB, free: 2.121 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.502e-05/0.1372, allocations: 37.7 kB / 314.7 MB, free: 2.078 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001602/0.1373, allocations: 454.1 kB / 315.2 MB, free: 1.629 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001147/0.1374, allocations: 273.6 kB / 315.4 MB, free: 1.359 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001707/0.1376, allocations: 162.5 kB / 315.6 MB, free: 1.195 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.211e-05/0.1377, allocations: 345.8 kB / 315.9 MB, free: 0.8516 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001749/0.1378, allocations: 132.7 kB / 316.1 MB, free: 0.7188 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002145/0.138, allocations: 344 kB / 316.4 MB, free: 304 kB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007023/0.1387, allocations: 0.5573 MB / 316.9 MB, free: 15.66 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.1388, allocations: 4 kB / 317 MB, free: 15.66 MB / 282.7 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.0006719/0.1394, allocations: 483.4 kB / 317.4 MB, free: 15.18 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.1394, allocations: 8 kB / 317.4 MB, free: 15.18 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/0.1395, allocations: 5.594 kB / 317.4 MB, free: 15.17 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.949e-05/0.1395, allocations: 15.94 kB / 317.5 MB, free: 15.16 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006208/0.1401, allocations: 211.7 kB / 317.7 MB, free: 14.95 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.379e-05/0.1401, allocations: 16.05 kB / 317.7 MB, free: 14.93 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002997/0.1404, allocations: 36 kB / 317.7 MB, free: 14.9 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.517e-05/0.1405, allocations: 35.97 kB / 317.7 MB, free: 14.86 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.0002847/0.1407, allocations: 175.4 kB / 317.9 MB, free: 14.68 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001351/0.1409, allocations: 85.47 kB / 318 MB, free: 14.6 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007696/0.1416, allocations: 0.5149 MB / 318.5 MB, free: 14.09 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/0.1417, allocations: 8 kB / 318.5 MB, free: 14.08 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.024e-06/0.1417, allocations: 0 / 318.5 MB, free: 14.08 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.536e-06/0.1417, allocations: 3.984 kB / 318.5 MB, free: 14.07 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001671/0.1433, allocations: 1.125 MB / 319.7 MB, free: 12.89 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.1433, allocations: 0 / 319.7 MB, free: 12.89 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005299/0.1439, allocations: 179.7 kB / 319.8 MB, free: 12.71 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.506e-06/0.1439, allocations: 10.88 kB / 319.8 MB, free: 12.7 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.294e-05/0.1439, allocations: 23.98 kB / 319.9 MB, free: 12.68 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.771e-06/0.1439, allocations: 4.219 kB / 319.9 MB, free: 12.68 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.1439, allocations: 8 kB / 319.9 MB, free: 12.67 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008196/0.1448, allocations: 0.6673 MB / 320.5 MB, free: 11.96 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002176/0.145, allocations: 123.2 kB / 320.7 MB, free: 11.84 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.393e-05/0.1451, allocations: 19.98 kB / 320.7 MB, free: 11.82 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002527/0.1453, allocations: 20 kB / 320.7 MB, free: 11.8 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.201e-05/0.1454, allocations: 60.55 kB / 320.8 MB, free: 11.74 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.899e-05/0.1454, allocations: 19.98 kB / 320.8 MB, free: 11.72 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003728/0.1458, allocations: 368.7 kB / 321.1 MB, free: 11.35 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1458, allocations: 0 / 321.1 MB, free: 11.35 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0007692/0.1466, allocations: 307.7 kB / 321.4 MB, free: 11.05 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.001291/0.1479, allocations: 0.5631 MB / 322 MB, free: 10.74 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005588/0.1484, allocations: 396.6 kB / 322.4 MB, free: 10.35 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.595e-05/0.1484, allocations: 16 kB / 322.4 MB, free: 10.33 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002662/0.1487, allocations: 219.8 kB / 322.6 MB, free: 10.12 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008277/0.1495, allocations: 297.9 kB / 322.9 MB, free: 9.848 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003186/0.1527, allocations: 1.945 MB / 324.9 MB, free: 7.844 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002007/0.1529, allocations: 240.9 kB / 325.1 MB, free: 7.586 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.000476/0.1534, allocations: 168.5 kB / 325.3 MB, free: 7.422 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005675/0.154, allocations: 305.1 kB / 325.6 MB, free: 7.121 MB / 282.7 MB Notification: Performance of SimCode: time 6.81e-07/0.154, allocations: 0 / 325.6 MB, free: 7.121 MB / 282.7 MB Notification: Performance of Templates: time 0.02531/0.1793, allocations: 17.84 MB / 343.4 MB, free: 5.609 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 os._exit(0), Time elapsed: 2.8945138179697096]