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.0008787/0.0008787, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.0008781/0.0008781, allocations: 169 kB / 23.27 MB, free: 1.223 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.9439/0.9439, allocations: 177.2 MB / 203.7 MB, free: 5.512 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.03357/0.03357, allocations: 8.723 MB / 269 MB, free: 4.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 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.472e-06/1.472e-06, allocations: 0 / 341.3 MB, free: 7.781 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.718e-05/1.865e-05, allocations: 5.812 kB / 341.3 MB, free: 7.777 MB / 266.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.DirectionalValveTest): time 0.004417/0.004435, allocations: 5.966 MB / 347.3 MB, free: 1.777 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004123/0.008558, allocations: 3.564 MB / 350.8 MB, free: 14.2 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003986/0.008957, allocations: 23.81 kB / 350.9 MB, free: 14.18 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006066/0.009564, allocations: 293.8 kB / 351.2 MB, free: 13.89 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001017/0.01058, allocations: 0.7064 MB / 351.9 MB, free: 13.18 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001538/0.01212, allocations: 0.9115 MB / 352.8 MB, free: 12.27 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001567/0.01369, allocations: 1.976 MB / 354.7 MB, free: 10.28 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003916/0.01408, allocations: 304.5 kB / 355 MB, free: 9.961 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007678/0.01484, allocations: 0.9899 MB / 356 MB, free: 8.969 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000565/0.01541, allocations: 0.6467 MB / 356.7 MB, free: 8.32 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000119/0.01553, allocations: 128 kB / 356.8 MB, free: 8.195 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005306/0.01606, allocations: 399.6 kB / 357.2 MB, free: 7.805 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004684/0.01653, allocations: 370.6 kB / 357.6 MB, free: 7.441 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003215/0.01685, allocations: 0.4987 MB / 358.1 MB, free: 6.941 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001158/0.01801, allocations: 1.378 MB / 359.4 MB, free: 5.559 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.025e-06/0.01801, allocations: 0 / 359.4 MB, free: 5.559 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.01801, allocations: 0 / 359.4 MB, free: 5.559 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.338e-06/0.01802, allocations: 0 / 359.4 MB, free: 5.559 MB / 282.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.001635/0.01966, allocations: 1.72 MB / 361.2 MB, free: 3.797 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.01969, allocations: 8.031 kB / 361.2 MB, free: 3.789 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003027/0.02, allocations: 247.9 kB / 361.4 MB, free: 3.547 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007126/0.02071, allocations: 0.7886 MB / 362.2 MB, free: 2.727 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.129e-05/0.02077, allocations: 78.38 kB / 362.3 MB, free: 2.652 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.567e-05/0.02087, allocations: 100.1 kB / 362.4 MB, free: 2.555 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007563/0.02162, allocations: 0.7272 MB / 363.1 MB, free: 1.801 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.075e-05/0.02164, allocations: 0 / 363.1 MB, free: 1.801 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.964e-05/0.02169, allocations: 36 kB / 363.1 MB, free: 1.766 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.454e-05/0.02171, allocations: 24 kB / 363.2 MB, free: 1.742 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004318/0.02214, allocations: 385.6 kB / 363.5 MB, free: 1.367 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002815/0.02496, allocations: 2.711 MB / 366.2 MB, free: 14.6 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004219/0.02538, allocations: 377.5 kB / 366.6 MB, free: 14.23 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002171/0.02559, allocations: 177.5 kB / 366.8 MB, free: 14.04 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.899e-05/0.02569, allocations: 48.48 kB / 366.8 MB, free: 14 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.826e-05/0.02572, allocations: 45.98 kB / 366.9 MB, free: 13.94 MB / 298.7 MB Notification: Performance of pre-optimization done (n=72): time 2.084e-06/0.02572, allocations: 0 / 366.9 MB, free: 13.94 MB / 298.7 MB Notification: Performance of matching and sorting (n=76): time 0.001777/0.0275, allocations: 1.221 MB / 368.1 MB, free: 12.69 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.953e-05/0.02753, allocations: 64 kB / 368.2 MB, free: 12.62 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005817/0.02811, allocations: 0.8188 MB / 369 MB, free: 11.77 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.216e-05/0.02815, allocations: 37.7 kB / 369 MB, free: 11.73 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003197/0.02847, allocations: 0.6317 MB / 369.6 MB, free: 11.09 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001447/0.02862, allocations: 281.5 kB / 369.9 MB, free: 10.81 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000166/0.02878, allocations: 180.1 kB / 370.1 MB, free: 10.62 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001425/0.02893, allocations: 0.5198 MB / 370.6 MB, free: 10.1 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000184/0.02911, allocations: 159.5 kB / 370.8 MB, free: 9.938 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002935/0.0294, allocations: 430.6 kB / 371.2 MB, free: 9.402 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000853/0.03026, allocations: 0.6366 MB / 371.8 MB, free: 8.66 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/0.03026, allocations: 7.984 kB / 371.8 MB, free: 8.652 MB / 298.7 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.0006719/0.03093, allocations: 0.6331 MB / 372.5 MB, free: 8.016 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.03095, allocations: 8.719 kB / 372.5 MB, free: 8.008 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.03096, allocations: 4 kB / 372.5 MB, free: 8.004 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.703e-05/0.03098, allocations: 16 kB / 372.5 MB, free: 7.988 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005171/0.03149, allocations: 227.6 kB / 372.7 MB, free: 7.766 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.282e-05/0.03151, allocations: 8 kB / 372.7 MB, free: 7.758 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002306/0.03174, allocations: 31.92 kB / 372.8 MB, free: 7.727 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.479e-05/0.03178, allocations: 35.98 kB / 372.8 MB, free: 7.691 MB / 298.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.0002687/0.03205, allocations: 230.7 kB / 373 MB, free: 7.461 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001322/0.03218, allocations: 135.3 kB / 373.2 MB, free: 7.328 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007141/0.0329, allocations: 0.6177 MB / 373.8 MB, free: 6.703 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.242e-06/0.0329, allocations: 8 kB / 373.8 MB, free: 6.695 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.03291, allocations: 4 kB / 373.8 MB, free: 6.691 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.939e-06/0.03292, allocations: 15.86 kB / 373.8 MB, free: 6.676 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001542/0.03446, allocations: 1.461 MB / 375.3 MB, free: 5.141 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.03446, allocations: 4 kB / 375.3 MB, free: 5.137 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000396/0.03486, allocations: 192 kB / 375.4 MB, free: 4.949 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.765e-06/0.03486, allocations: 7.984 kB / 375.5 MB, free: 4.941 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.448e-05/0.0349, allocations: 23.98 kB / 375.5 MB, free: 4.918 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.112e-06/0.03491, allocations: 8 kB / 375.5 MB, free: 4.91 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.03491, allocations: 3.938 kB / 375.5 MB, free: 4.906 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008315/0.03574, allocations: 0.8842 MB / 376.4 MB, free: 3.969 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001955/0.03594, allocations: 167.2 kB / 376.5 MB, free: 3.805 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.098e-05/0.03601, allocations: 27.92 kB / 376.6 MB, free: 3.777 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001766/0.03618, allocations: 20 kB / 376.6 MB, free: 3.758 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.804e-05/0.03626, allocations: 56.55 kB / 376.6 MB, free: 3.703 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.246e-05/0.03629, allocations: 27.98 kB / 376.7 MB, free: 3.676 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003284/0.03662, allocations: 479.8 kB / 377.1 MB, free: 3.195 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03662, allocations: 0 / 377.1 MB, free: 3.195 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006004/0.03722, allocations: 323.5 kB / 377.5 MB, free: 2.879 MB / 298.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.0009184/0.03814, allocations: 467.6 kB / 377.9 MB, free: 2.535 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005052/0.03865, allocations: 439.2 kB / 378.3 MB, free: 2.102 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.03865, allocations: 1.438 kB / 378.3 MB, free: 2.102 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000231/0.03888, allocations: 245.6 kB / 378.6 MB, free: 1.855 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009188/0.0398, allocations: 303.1 kB / 378.9 MB, free: 1.57 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002349/0.04215, allocations: 2.018 MB / 380.9 MB, free: 15.48 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001717/0.04232, allocations: 248.9 kB / 381.1 MB, free: 15.22 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0003265/0.04264, allocations: 171.2 kB / 381.3 MB, free: 15.05 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004768/0.04312, allocations: 354 kB / 381.6 MB, free: 14.7 MB / 314.7 MB Notification: Performance of SimCode: time 1.112e-06/0.04312, allocations: 4 kB / 381.7 MB, free: 14.7 MB / 314.7 MB Notification: Performance of Templates: time 0.01901/0.06213, allocations: 17.82 MB / 399.5 MB, free: 13.18 MB / 330.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: 3.1659429538995028]